summaryrefslogtreecommitdiffstats
path: root/avahi-core/hashmap.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-17 22:23:16 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-17 22:23:16 +0000
commit263515cd1d7b52ce2ad3dc55a93b9d6f730133f1 (patch)
tree89ac4314dea5cb976fdbffcd8eefce1d7e0222ea /avahi-core/hashmap.c
parent55f7dcb690bcbdf6bca6568e0d9aacb2456811a5 (diff)
* move unicast DNS server registration/browsing routines to their own header dns-srv-rr.h
* remove some unused functions * unexport some functions * other cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@803 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/hashmap.c')
-rw-r--r--avahi-core/hashmap.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/avahi-core/hashmap.c b/avahi-core/hashmap.c
index 24a1249..07bd707 100644
--- a/avahi-core/hashmap.c
+++ b/avahi-core/hashmap.c
@@ -124,20 +124,6 @@ void* avahi_hashmap_lookup(AvahiHashmap *m, const void *key) {
return e->value;
}
-void* avahi_hashmap_steal(AvahiHashmap *m, const void *key) {
- Entry *e;
- void *v;
-
- assert(m);
-
- if (!(e = entry_get(m, key)))
- return NULL;
-
- v = e->value;
- entry_free(m, e, 1);
- return v;
-}
-
int avahi_hashmap_insert(AvahiHashmap *m, void *key, void *value) {
unsigned idx;
Entry *e;