summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-02-17 15:10:33 -0600
committerDenis Kenzior <denkenz@gmail.com>2010-02-17 15:10:33 -0600
commit9aeed6dbcc17566feb1822109cb3aec05f9647f5 (patch)
tree469bec45a808588eb593422ad025107022fe2859
parent2e9a16ce07bae20c35f3205315d965d2e5e410ee (diff)
downloadofono-9aeed6dbcc17566feb1822109cb3aec05f9647f5.tar.bz2
Add stubs files for Sim Toolkit Utilities
-rw-r--r--Makefile.am2
-rw-r--r--src/stkutil.c32
-rw-r--r--src/stkutil.h21
3 files changed, 54 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 5e5bb562..4a76cb26 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -228,7 +228,7 @@ src_ofonod_SOURCES = $(gdbus_sources) $(builtin_sources) \
src/simutil.h src/simutil.c src/storage.h \
src/storage.c src/cbs.c src/watch.c src/call-volume.c \
src/gprs.c src/idmap.h src/idmap.c \
- src/radio-settings.c
+ src/radio-settings.c src/stkutil.h src/stkutil.c
src_ofonod_LDADD = $(builtin_libadd) @GLIB_LIBS@ @DBUS_LIBS@ -ldl
diff --git a/src/stkutil.c b/src/stkutil.c
new file mode 100644
index 00000000..497ad5b4
--- /dev/null
+++ b/src/stkutil.c
@@ -0,0 +1,32 @@
+/*
+ *
+ * oFono - Open Source Telephony
+ *
+ * Copyright (C) 2008-2010 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
+
+#include <string.h>
+#include <stdlib.h>
+
+#include <glib.h>
+
+#include <ofono/types.h>
+#include "stkutil.h"
diff --git a/src/stkutil.h b/src/stkutil.h
new file mode 100644
index 00000000..99ecca6f
--- /dev/null
+++ b/src/stkutil.h
@@ -0,0 +1,21 @@
+/*
+ *
+ * oFono - Open Source Telephony
+ *
+ * Copyright (C) 2008-2010 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
+ *
+ */
+