summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-04-07 15:43:15 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-04-07 21:02:47 -0700
commite6cadc10b7dfba48247876ad8d99e86de84d4ef4 (patch)
tree4cf3b0278b7042628c2772a4d317160a9e5aba5b
parent4717a5b5f1d98b0ab28c2c8b2284d4e02a025729 (diff)
downloadconnman-e6cadc10b7dfba48247876ad8d99e86de84d4ef4.tar.gz
connman-e6cadc10b7dfba48247876ad8d99e86de84d4ef4.tar.bz2
connman-e6cadc10b7dfba48247876ad8d99e86de84d4ef4.zip
Add skeleton for service interface includes
-rw-r--r--include/Makefile.am3
-rw-r--r--include/service.h39
-rw-r--r--src/connman.h2
3 files changed, 43 insertions, 1 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index a13ef802..25f9b301 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -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
index 00000000..a056e7ee
--- /dev/null
+++ b/include/service.h
@@ -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 */
diff --git a/src/connman.h b/src/connman.h
index 2299c495..44cba117 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -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);