summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@linux.intel.com>2012-02-03 20:26:05 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2012-02-04 01:15:36 +0100
commit10646e851b488a2da6d24c64792c7956bdefa54e (patch)
tree70fc4c4c025c3b846b8d7f139da4ffdf8face024 /include
parent85b7fc702914153e64b601ca1e860baa4e85bd0f (diff)
downloadconnman-10646e851b488a2da6d24c64792c7956bdefa54e.tar.gz
connman-10646e851b488a2da6d24c64792c7956bdefa54e.tar.bz2
connman-10646e851b488a2da6d24c64792c7956bdefa54e.zip
timeserver: Remove connman_timeserver_driver framework
Diffstat (limited to 'include')
-rw-r--r--include/timeserver.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/timeserver.h b/include/timeserver.h
index 83ad5573..d1245376 100644
--- a/include/timeserver.h
+++ b/include/timeserver.h
@@ -26,30 +26,9 @@
extern "C" {
#endif
-#define CONNMAN_TIMESERVER_PRIORITY_LOW -100
-#define CONNMAN_TIMESERVER_PRIORITY_DEFAULT 0
-#define CONNMAN_TIMESERVER_PRIORITY_HIGH 100
-
-/**
- * SECTION:timeserver
- * @title: timeserver premitives
- * @short_description: Functions for handling time servers (including NTP)
- */
-
int __connman_timeserver_system_append(const char *server);
int __connman_timeserver_system_remove(const char *server);
-struct connman_timeserver_driver {
- const char *name;
- int priority;
- int (*append) (const char *server);
- int (*remove) (const char *server);
- void (*sync) (void);
-};
-
-int connman_timeserver_driver_register(struct connman_timeserver_driver *driver);
-void connman_timeserver_driver_unregister(struct connman_timeserver_driver *driver);
-
#ifdef __cplusplus
}
#endif