#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <glib.h>
#include <signal.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
#include "logging.h"
#include "sighnd.h"
#include "server.h"
#include "mainloop.h"
Functions | |
int | mainloop_stop (int force) |
int | mainloop_run (int argc, char *argv[]) |
Copyright (C) 2008 Nokia. All rights reserved.
int mainloop_stop | ( | int | force | ) |
Quit the mainloop.
force | If nonzero and no mainloop, exit the process with failure |
int mainloop_run | ( | int | argc, | |
char * | argv[] | |||
) |
This is clockd mainloop.
Args:
-d enable debug mode
argc | argc | |
argv | argv |