summaryrefslogtreecommitdiffstats
path: root/network/manager.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-04-16 13:49:13 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-04-16 13:49:13 +0000
commit8c599674509651cc8e68d12ba21423dbf13305d9 (patch)
treed15c6cb6374f599a94ad68a95c4ea77d27627ba1 /network/manager.c
parent3723149c0baab5f94d57221fa693e4d0ec19df6b (diff)
network: added function to store/update server property
Diffstat (limited to 'network/manager.c')
-rw-r--r--network/manager.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/network/manager.c b/network/manager.c
index 78d69150..16123002 100644
--- a/network/manager.c
+++ b/network/manager.c
@@ -889,33 +889,3 @@ static inline int create_filename(char *buf, size_t size,
return create_name(buf, size, STORAGEDIR, addr, name);
}
-
-int network_del_stored_info(bdaddr_t *src, uint16_t uuid)
-{
- char filename[PATH_MAX + 1];
- const char *str;
-
- create_filename(filename, PATH_MAX, src, "network");
-
- /* FIXME: Wrong format */
-
- str = bnep_uuid(uuid);
-
- return textfile_del(filename, str);
-}
-
-int network_store_info(bdaddr_t *src, uint16_t uuid, gboolean enable)
-{
- char filename[PATH_MAX + 1];
- const char *str;
-
- create_filename(filename, PATH_MAX, src, "network");
-
- /* FIXME: Wrong format */
-
- str = bnep_uuid(uuid);
-
- create_file(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
-
- return textfile_put(filename, str, enable ? "1" : "0");
-}