core: Add skeleton for timezone lookup
authorMarcel Holtmann <marcel@holtmann.org>
Mon, 18 Apr 2011 20:05:52 +0000 (13:05 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 18 Apr 2011 20:05:52 +0000 (13:05 -0700)
Makefile.am
src/connman.h
src/timezone.c [new file with mode: 0644]

index 74ac21f..841b9a7 100644 (file)
@@ -70,7 +70,8 @@ src_connmand_SOURCES = $(gdbus_sources) $(gdhcp_sources) \
                        src/main.c src/connman.h src/log.c \
                        src/error.c src/plugin.c src/task.c src/element.c \
                        src/device.c src/network.c src/connection.c \
-                       src/manager.c src/clock.c src/profile.c src/service.c \
+                       src/manager.c src/profile.c src/service.c \
+                       src/clock.c src/timezone.c \
                        src/agent.c src/notifier.c src/provider.c \
                        src/resolver.c src/ipconfig.c src/detect.c src/inet.c \
                        src/dhcp.c src/rtnl.c src/proxy.c \
index 4b226bf..824d31d 100644 (file)
@@ -57,6 +57,8 @@ void __connman_manager_cleanup(void);
 int __connman_clock_init(void);
 void __connman_clock_cleanup(void);
 
+char *__connman_timezone_lookup(void);
+
 int __connman_agent_init(void);
 void __connman_agent_cleanup(void);
 
diff --git a/src/timezone.c b/src/timezone.c
new file mode 100644 (file)
index 0000000..339542e
--- /dev/null
@@ -0,0 +1,31 @@
+/*
+ *
+ *  Connection Manager
+ *
+ *  Copyright (C) 2007-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 "connman.h"
+
+char *__connman_timezone_lookup(void)
+{
+       return NULL;
+}