summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel.holtmann@intel.com>2009-04-26 21:12:32 +0200
committerMarcel Holtmann <marcel.holtmann@intel.com>2009-04-26 21:12:32 +0200
commite059f43faef74e9ed435dc03c603d9d4e1ba7f2b (patch)
tree6a9088cda77576fcb10b88f74ab9845a6e3e80f9 /src/main.c
parenta20f3ce8d20ad634330df2e26d4c31b3a984a57c (diff)
downloadofono-e059f43faef74e9ed435dc03c603d9d4e1ba7f2b.tar.bz2
Add skeleton for telephony daemon
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
new file mode 100644
index 00000000..de49ff4a
--- /dev/null
+++ b/src/main.c
@@ -0,0 +1,35 @@
+/*
+ *
+ * oFono - Open Telephony stack for Linux
+ *
+ * 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
+
+#include "ofono.h"
+
+int main(int argc, char *argv[])
+{
+ __ofono_log_init();
+
+ __ofono_log_cleanup();
+
+ return 0;
+}