summaryrefslogtreecommitdiffstats
path: root/plugins/modemconf.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-09-02 14:40:50 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-09-02 14:41:47 -0700
commit9177c1dd86cc9e602da02c6ffd9cccd0c3463198 (patch)
tree5c6427f4650e57d1990dfe3bba44703475282f19 /plugins/modemconf.c
parent31af3db15251c42d4533773d3a87c6c42d258b75 (diff)
downloadofono-9177c1dd86cc9e602da02c6ffd9cccd0c3463198.tar.bz2
Add skeleton for plugin to handle static modem configurations
Diffstat (limited to 'plugins/modemconf.c')
-rw-r--r--plugins/modemconf.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/plugins/modemconf.c b/plugins/modemconf.c
new file mode 100644
index 00000000..5e53b518
--- /dev/null
+++ b/plugins/modemconf.c
@@ -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
+ *
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#define OFONO_API_SUBJECT_TO_CHANGE
+#include <ofono/plugin.h>
+
+static int modemconf_init(void)
+{
+ return 0;
+}
+
+static void modemconf_exit(void)
+{
+}
+
+OFONO_PLUGIN_DEFINE(modemconf, "Static modem configuration", VERSION,
+ OFONO_PLUGIN_PRIORITY_DEFAULT, modemconf_init, modemconf_exit)