Add definition for service structure
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Apr 2009 22:49:01 +0000 (15:49 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 8 Apr 2009 04:02:48 +0000 (21:02 -0700)
include/service.h
src/service.c

index c285e77253e34e6065cf031f18294eb29450c569..33994c9e528906a53801bba446b51f2395597caa 100644 (file)
@@ -49,6 +49,8 @@ enum connman_service_state {
        CONNMAN_SERVICE_STATE_FAILURE       = 6,
 };
 
+struct connman_service;
+
 #ifdef __cplusplus
 }
 #endif
index 97a6592a1c43e25f66fab7585e03e7a202ed02ad..1ca6fb1bdb3d4cb3728df5775596edfb36b9f793 100644 (file)
@@ -24,3 +24,9 @@
 #endif
 
 #include "connman.h"
+
+struct connman_service {
+       enum connman_service_type type;
+       enum connman_service_state state;
+       char *path;
+};