mainloop.h File Reference

clockd mainloop prototypes More...


Functions

int mainloop_stop (int force)
int mainloop_run (int argc, char *argv[])


Detailed Description

Copyright (C) 2008 Nokia. All rights reserved.

Author:
Simo Piiroinen <simo.piiroinen@nokia.com>

Raimo Vuonnala <raimo.vuonnala@nokia.com>


Function Documentation

int mainloop_stop ( int  force  ) 

Quit the mainloop.

Parameters:
force If nonzero and no mainloop, exit the process with failure
Returns:
1 if success, 0 if fails (no mainloop)

int mainloop_run ( int  argc,
char *  argv[] 
)

This is clockd mainloop.

Args:
-d enable debug mode

Parameters:
argc argc
argv argv
Returns:
0 if exited normally, nonzero if exit with failure.


Generated on Tue Feb 24 16:21:35 2009 for libtime/clockd by  doxygen 1.5.1