summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-07-29 14:16:53 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-07-29 16:44:16 -0500
commit19eeb7f1ba7dd9de0b8190bb1b0c22dba6466fa6 (patch)
tree8be8f48de2519b79971ffc1c8ff63cee81b22458 /include
parentbe064f92a58332b65ffef10b742fb49217890919 (diff)
downloadofono-19eeb7f1ba7dd9de0b8190bb1b0c22dba6466fa6.tar.bz2
Rename modem_add_interface / modem_remove_interface
Move to ofono_modem_add_interface, ofono_modem_remove_interface and put in ofono/modem.h
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am2
-rw-r--r--include/modem.h39
2 files changed, 40 insertions, 1 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index 3ebad83f..4f63c777 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,7 +1,7 @@
includedir = @includedir@/ofono
-include_HEADERS = log.h plugin.h history.h dbus.h
+include_HEADERS = log.h plugin.h history.h dbus.h modem.h
nodist_include_HEADERS = version.h
diff --git a/include/modem.h b/include/modem.h
new file mode 100644
index 00000000..047c1b46
--- /dev/null
+++ b/include/modem.h
@@ -0,0 +1,39 @@
+/*
+ *
+ * oFono - Open Source Telephony
+ *
+ * Copyright (C) 2008-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 __OFONO_MODEM_H
+#define __OFONO_MODEM_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void ofono_modem_add_interface(struct ofono_modem *modem,
+ const char *interface);
+
+void ofono_modem_remove_interface(struct ofono_modem *modem,
+ const char *interface);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __OFONO_MODEM_H */