diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-09-25 22:23:32 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-09-25 22:23:32 +0000 |
commit | 8185ec8431c51946095d3f11e80545e3519f67cf (patch) | |
tree | 2d97bfdde43949e9051fdda114cca11bae29a429 /avahi-core/multicast-lookup.c | |
parent | 3a8e64847dff76b56599e37bd31245db9f9ac8ff (diff) |
s/AVAHI_LOOKUP_CALLBACK/AVAHI_LOOKUP_RESULT/g
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@622 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/multicast-lookup.c')
-rw-r--r-- | avahi-core/multicast-lookup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/avahi-core/multicast-lookup.c b/avahi-core/multicast-lookup.c index 4f04ab8..641ee4d 100644 --- a/avahi-core/multicast-lookup.c +++ b/avahi-core/multicast-lookup.c @@ -71,7 +71,7 @@ static void all_for_now_callback(AvahiTimeEvent *e, void* userdata) { avahi_time_event_free(l->all_for_now_event); l->all_for_now_event = NULL; - l->callback(l->engine, l->interface, l->protocol, AVAHI_BROWSER_ALL_FOR_NOW, AVAHI_LOOKUP_CALLBACK_MULTICAST, NULL, l->userdata); + l->callback(l->engine, l->interface, l->protocol, AVAHI_BROWSER_ALL_FOR_NOW, AVAHI_LOOKUP_RESULT_MULTICAST, NULL, l->userdata); } AvahiMulticastLookup *avahi_multicast_lookup_new( @@ -208,7 +208,7 @@ static void* scan_cache_callback(AvahiCache *c, AvahiKey *pattern, AvahiCacheEnt cbdata->interface->hardware->index, cbdata->interface->protocol, AVAHI_BROWSER_NEW, - AVAHI_LOOKUP_CALLBACK_CACHED|AVAHI_LOOKUP_CALLBACK_MULTICAST, + AVAHI_LOOKUP_RESULT_CACHED|AVAHI_LOOKUP_RESULT_MULTICAST, e->record, cbdata->userdata); @@ -295,7 +295,7 @@ void avahi_multicast_lookup_engine_notify(AvahiMulticastLookupEngine *e, AvahiIn continue; if (avahi_interface_match(i, l->interface, l->protocol)) - l->callback(e, i->hardware->index, i->protocol, event, AVAHI_LOOKUP_CALLBACK_MULTICAST, record, l->userdata); + l->callback(e, i->hardware->index, i->protocol, event, AVAHI_LOOKUP_RESULT_MULTICAST, record, l->userdata); } @@ -310,7 +310,7 @@ void avahi_multicast_lookup_engine_notify(AvahiMulticastLookupEngine *e, AvahiIn if ((key = avahi_key_new_cname(l->key))) { if (avahi_key_equal(record->key, key)) - l->callback(e, i->hardware->index, i->protocol, event, AVAHI_LOOKUP_CALLBACK_MULTICAST, record, l->userdata); + l->callback(e, i->hardware->index, i->protocol, event, AVAHI_LOOKUP_RESULT_MULTICAST, record, l->userdata); avahi_key_unref(key); } |