summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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