#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <signal.h>
#include <stdio.h>
#include "logging.h"
#include "mainloop.h"
#include "sighnd.h"
Functions | |
static void | sighnd_terminate (void) |
static void | sighnd_handler (int sig) |
void | sighnd_setup (void) |
Copyright (C) 2008 Nokia. All rights reserved.
static void sighnd_terminate | ( | void | ) | [static] |
Handle clockd terminate signal.
Referenced by sighnd_handler().
static void sighnd_handler | ( | int | sig | ) | [static] |
Internal signal helper function which is called when process is signalled. This is needed just for breaking away from while loop in main() function.
Referenced by sighnd_setup().
void sighnd_setup | ( | void | ) |
Setup signals as follows:
Referenced by mainloop_run().