Add skeleton for service interface includes
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Apr 2009 22:43:15 +0000 (15:43 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 8 Apr 2009 04:02:47 +0000 (21:02 -0700)
include/Makefile.am
include/service.h [new file with mode: 0644]
src/connman.h

index a13ef80..25f9b30 100644 (file)
@@ -6,7 +6,8 @@ include_HEADERS = types.h log.h plugin.h security.h resolver.h \
 
 nodist_include_HEADERS = version.h
 
-noinst_HEADERS = driver.h element.h property.h ipv4.h rtnl.h dbus.h
+noinst_HEADERS = driver.h element.h property.h ipv4.h rtnl.h dbus.h \
+                                                               service.h
 
 MAINTAINERCLEANFILES = Makefile.in
 
diff --git a/include/service.h b/include/service.h
new file mode 100644 (file)
index 0000000..a056e7e
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ *
+ *  Connection Manager
+ *
+ *  Copyright (C) 2007-2009  Intel Corporation. All rights reserved.
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License version 2 as
+ *  published by the Free Software Foundation.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ *
+ */
+
+#ifndef __CONNMAN_SERVICE_H
+#define __CONNMAN_SERVICE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/**
+ * SECTION:service
+ * @title: Service premitives
+ * @short_description: Functions for handling services
+ */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __CONNMAN_SERVICE_H */
index 2299c49..44cba11 100644 (file)
@@ -207,6 +207,8 @@ const char *__connman_network_get_group(struct connman_network *network);
 int __connman_profile_add_network(struct connman_network *network);
 int __connman_profile_remove_network(struct connman_network *network);
 
+#include <connman/service.h>
+
 #include <connman/notifier.h>
 
 int __connman_notifier_init(void);