server.h File Reference

prototypes for clockd 'server' More...


Functions

int server_init (void)
void server_quit (void)


Detailed Description

Copyright (C) 2008 Nokia. All rights reserved.

Author:
Simo Piiroinen <[email protected]>

Raimo Vuonnala <[email protected]>


Function Documentation

int server_init ( void   ) 

Init D-Bus server

The following is set up:

  • settings from environment (/etc/clockd/clockd-settings.default)
  • settings from configuration file (/home/user/.clockd.conf)
  • D-Bus connections
  • libosso init
  • timezone from /etc/localtime or /home/user/.clockd.conf

Returns:
0 if OK, -1 if error

Referenced by mainloop_run().

void server_quit ( void   ) 

Deinitialize D-Bus server

Referenced by mainloop_run().


Generated on Wed Sep 30 22:01:20 2009 for libtime/clockd by  doxygen 1.5.6