diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2008-08-13 00:37:49 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2008-08-13 00:37:49 +0200 |
commit | 80de79e829a572a49fabffc08988b835840b4cc6 (patch) | |
tree | efcbf2ee44cb3fda30934a24c8855b0c8542cae9 /src/storage.c | |
parent | 9e1af1dead7a965277a7e8b0dea90a3de5b47411 (diff) | |
download | connman-80de79e829a572a49fabffc08988b835840b4cc6.tar.gz connman-80de79e829a572a49fabffc08988b835840b4cc6.tar.bz2 connman-80de79e829a572a49fabffc08988b835840b4cc6.zip |
Disable SQLite example code for now
Diffstat (limited to 'src/storage.c')
-rw-r--r-- | src/storage.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/storage.c b/src/storage.c index e093dea3..d67d0d2c 100644 --- a/src/storage.c +++ b/src/storage.c @@ -23,10 +23,13 @@ #include <config.h> #endif +#if 0 #include <sqlite3.h> +#endif #include "connman.h" +#if 0 static sqlite3 *db = NULL; static int create_tables(void) @@ -51,9 +54,11 @@ static int create_tables(void) return 0; } +#endif int __connman_storage_init(void) { +#if 0 int err; DBG(""); @@ -73,15 +78,18 @@ int __connman_storage_init(void) } create_tables(); +#endif return 0; } void __connman_storage_cleanup(void) { +#if 0 DBG(""); sqlite3_close(db); +#endif } int __connman_element_load(struct connman_element *element) @@ -91,6 +99,7 @@ int __connman_element_load(struct connman_element *element) int __connman_element_store(struct connman_element *element) { +#if 0 char *sql, *msg; DBG(""); @@ -106,6 +115,7 @@ int __connman_element_store(struct connman_element *element) sqlite3_free(msg); } } +#endif return 0; } |