clock_dbus.h File Reference

Time services - D-Bus definitions. More...


Defines

#define CLOCKD_SET_TIME   "set_time"
#define CLOCKD_GET_TIME   "get_time"
#define CLOCKD_GET_TZ   "get_tz"
#define CLOCKD_SET_TZ   "set_tz"
#define CLOCKD_GET_TIMEFMT   "get_timefmt"
#define CLOCKD_GET_DEFAULT_TZ   "get_default_tz"
#define CLOCKD_SET_TIMEFMT   "set_timefmt"
#define CLOCKD_SET_AUTOSYNC   "set_autosync"
#define CLOCKD_GET_AUTOSYNC   "get_autosync"
#define CLOCKD_HAVE_OPERTIME   "have_opertime"
#define CLOCKD_ACTIVATE_NET_TIME   "activate_net_time"
#define CLOCKD_NET_TIME_CHANGED   "net_time_changed"
#define CSD_SERVICE   "com.nokia.phone.net"
#define CSD_PATH   "/com/nokia/phone/net"
#define CSD_INTERFACE   "Phone.Net"
#define CSD_SET_TIME   "network_time_info_change"
#define CSD_MATCH_RULE   "type='signal',interface='Phone.Net',member='network_time_info_change'"
#define MCE_SERVICE   "com.nokia.mce"
#define MCE_PATH   "/com/nokia/mce/signal"
#define MCE_INTERFACE   "com.nokia.mce.signal"
#define MCE_MODE_CHANGE   "sig_device_mode_ind"
#define MCE_MATCH_RULE   "type='signal',interface='com.nokia.mce.signal',member='sig_device_mode_ind'"
#define CLOCKD_GET_TIMEFMT_SIZE   32
#define CLOCKD_TZ_SIZE   256


Detailed Description

Defines D-Bus service and method names to communicate with clockd.

Copyright (C) 2008 Nokia. All rights reserved.

Author:
Simo Piiroinen <[email protected]>

Raimo Vuonnala <[email protected]>


Define Documentation

#define CLOCKD_SET_TIME   "set_time"

CLOCKD_SET_TIME:

  • I: int32 time
  • O: bool success

Method to set time.

Referenced by client_set_time(), and server_filter().

#define CLOCKD_GET_TIME   "get_time"

CLOCKD_GET_TIME:

  • I: n/a
  • O: int32 time

Method to set time.

Referenced by server_filter().

#define CLOCKD_GET_TZ   "get_tz"

CLOCKD_GET_TZ:

  • I: n/a
  • O: string tz

Method to get timezone.

Referenced by client_get_tz(), and server_filter().

#define CLOCKD_SET_TZ   "set_tz"

CLOCKD_SET_TZ:

  • I: string tz
  • O: bool success

Method to set timezone.

Referenced by client_set_tz(), and server_filter().

#define CLOCKD_GET_TIMEFMT   "get_timefmt"

CLOCKD_GET_TIMEFMT:

  • I: n/a
  • O: string fmt

Method to get time formatter.

Referenced by client_get_time_format(), and server_filter().

#define CLOCKD_GET_DEFAULT_TZ   "get_default_tz"

CLOCKD_GET_DEFAULT_TZ:

  • I: n/a
  • O: string fmt

Method to get time formatter.

Referenced by client_get_default_tz(), and server_filter().

#define CLOCKD_SET_TIMEFMT   "set_timefmt"

CLOCKD_SET_TIMEFMT:

  • I: string fmt
  • O: bool success

Method to set time formatter.

Referenced by client_set_time_format(), and server_filter().

#define CLOCKD_SET_AUTOSYNC   "set_autosync"

CLOCKD_SET_AUTOSYNC:

  • I: boolean enabled
  • O: boolean success

Method to set automatic (cell) network time sync mode

Referenced by client_set_autosync(), and server_filter().

#define CLOCKD_GET_AUTOSYNC   "get_autosync"

CLOCKD_GET_AUTOSYNC:

  • I: n/a
  • O: boolean enabled

Method to get automatic (cell) network time sync mode

Referenced by client_get_autosync(), and server_filter().

#define CLOCKD_HAVE_OPERTIME   "have_opertime"

CLOCKD_HAVE_OPERTIME:

  • I: n/a
  • O: boolean accessible

Method to ask whether operator network time is configured (hardware)

Referenced by client_is_operator_time_accessible(), and server_filter().

#define CLOCKD_ACTIVATE_NET_TIME   "activate_net_time"

CLOCKD_ACTIVATE_NET_TIME:

  • I: n/a
  • O: boolean success

Method to activate network time change.

Referenced by client_activate_net_time(), and server_filter().

#define CLOCKD_NET_TIME_CHANGED   "net_time_changed"

CLOCKD_NET_TIME_CHANGED:

  • I: n/a
  • O: int32 time (0 if no change)
  • O: string tz

Method to get info whether network time has been changed.

Referenced by client_get_net_time(), and server_filter().

#define CSD_SERVICE   "com.nokia.phone.net"

CSD_SERVICE: The name of the csd service.

#define CSD_PATH   "/com/nokia/phone/net"

CSD_PATH: The object path for the csd daemon.

Referenced by server_filter().

#define CSD_INTERFACE   "Phone.Net"

CSD_INTERFACE: The interface the commands use.

Referenced by server_filter().

#define CSD_SET_TIME   "network_time_info_change"

#define CSD_MATCH_RULE   "type='signal',interface='Phone.Net',member='network_time_info_change'"

CSD_MATCH_RULE: Rule to catch the network time signal.

Referenced by server_init().

#define MCE_SERVICE   "com.nokia.mce"

MCE_SERVICE: The name of the MCE service.

#define MCE_PATH   "/com/nokia/mce/signal"

MCE_PATH: The object path for the csd daemon.

Referenced by server_filter().

#define MCE_INTERFACE   "com.nokia.mce.signal"

MCE_INTERFACE: The interface the commands use.

Referenced by server_filter().

#define MCE_MODE_CHANGE   "sig_device_mode_ind"

MCE_MODE_CHANGE: Signal from MCE when normal/flight mode has been changed.

Referenced by server_filter().

#define MCE_MATCH_RULE   "type='signal',interface='com.nokia.mce.signal',member='sig_device_mode_ind'"

MCE_MATCH_RULE: Rule to catch the network time signal.

Referenced by server_init().

#define CLOCKD_GET_TIMEFMT_SIZE   32

CLOCKD_GET_TIMEFMT_SIZE: Max time formatter size.

#define CLOCKD_TZ_SIZE   256

CLOCKD_TZ_SIZE: Max timezone size.


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