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 <simo.piiroinen@nokia.com>

Raimo Vuonnala <raimo.vuonnala@nokia.com>


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 Jul 8 14:19:23 2009 for libtime/clockd by  doxygen 1.5.6