diff options
Diffstat (limited to 'network/manager.c')
-rw-r--r-- | network/manager.c | 30 |
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"); -} |