summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-04-07 15:44:47 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-04-07 21:02:47 -0700
commitbf2d48f979ee50656bf080111a8a5b506e4d69a0 (patch)
tree3a952f6c6353001663d217055f338db45eee2240 /include
parente6cadc10b7dfba48247876ad8d99e86de84d4ef4 (diff)
downloadconnman-bf2d48f979ee50656bf080111a8a5b506e4d69a0.tar.gz
connman-bf2d48f979ee50656bf080111a8a5b506e4d69a0.tar.bz2
connman-bf2d48f979ee50656bf080111a8a5b506e4d69a0.zip
Move service type and state declarations to header file
Diffstat (limited to 'include')
-rw-r--r--include/service.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/service.h b/include/service.h
index a056e7ee..c285e772 100644
--- a/include/service.h
+++ b/include/service.h
@@ -32,6 +32,23 @@ extern "C" {
* @short_description: Functions for handling services
*/
+enum connman_service_type {
+ CONNMAN_SERVICE_TYPE_UNKNOWN = 0,
+ CONNMAN_SERVICE_TYPE_ETHERNET = 1,
+ CONNMAN_SERVICE_TYPE_WIFI = 2,
+ CONNMAN_SERVICE_TYPE_WIMAX = 3,
+};
+
+enum connman_service_state {
+ CONNMAN_SERVICE_STATE_UNKNOWN = 0,
+ CONNMAN_SERVICE_STATE_IDLE = 1,
+ CONNMAN_SERVICE_STATE_ASSOCIATION = 2,
+ CONNMAN_SERVICE_STATE_CONFIGURATION = 3,
+ CONNMAN_SERVICE_STATE_READY = 4,
+ CONNMAN_SERVICE_STATE_DISCONNECT = 5,
+ CONNMAN_SERVICE_STATE_FAILURE = 6,
+};
+
#ifdef __cplusplus
}
#endif