Fix typo
[yandex-traffic] / icd2_light.h
1 #ifndef __ICD2_LIGHT_H__
2 #define __ICD2_LIGHT_H__
3
4 /*
5  * This is truncated version of file /usr/include/icd/dbus_api.h
6  * I created it because of glib.h inclusion in the original file
7  */
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 #define ICD_DBUS_API_INTERFACE  "com.nokia.icd2"
13 #define ICD_DBUS_API_PATH       "/com/nokia/icd2"
14 #define ICD_DBUS_API_STATE_SIG  "state_sig"
15 #define ICD_DBUS_API_STATE_REQ  "state_req"
16
17
18 /** Connection state */
19 enum icd_connection_state {
20   /** Network is or became disconnected */
21   ICD_STATE_DISCONNECTED = 0,
22   /** Establishing network connection */
23   ICD_STATE_CONNECTING = 1,
24   /** Network is connected */
25   ICD_STATE_CONNECTED = 2,
26   /** Network is being disconnected */
27   ICD_STATE_DISCONNECTING = 3,
28   /** service provider module informs about enabled limited connectivity */
29   ICD_STATE_LIMITED_CONN_ENABLED = 4,
30   /** service provider module informs about disabled limited connectivity */
31   ICD_STATE_LIMITED_CONN_DISABLED = 5,
32
33   /** Network searching started */
34   ICD_STATE_SEARCH_START = 8,
35   /** Network searching stopped */
36   ICD_STATE_SEARCH_STOP = 9,
37
38   /** Internal network state, IP address(es) has/have been acquired */
39   ICD_STATE_INTERNAL_ADDRESS_ACQUIRED = 15
40 };
41
42
43 #ifdef __cplusplus
44 }
45 #endif
46
47 #endif /* __ICD2_LIGHT_H__ */