X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fbrowse.h;h=1fccf2369135cf6773b2026551a2e5a50b944b0a;hb=9b5f82efd97de784c9356c65dbfb704b94d974eb;hp=d09948bb9b64e25deaa80643308a84acd6667053;hpb=37d19f15523b6fe4d1fef2329abe421221b3d4b3;p=catta diff --git a/src/browse.h b/src/browse.h index d09948b..1fccf23 100644 --- a/src/browse.h +++ b/src/browse.h @@ -2,59 +2,59 @@ #define foobrowsehfoo /*** - This file is part of avahi. + This file is part of catta. - avahi is free software; you can redistribute it and/or modify it + catta is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. - avahi is distributed in the hope that it will be useful, but WITHOUT + catta is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public - License along with avahi; if not, write to the Free Software + License along with catta; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. ***/ -#include -#include -#include +#include +#include +#include #include "timeeventq.h" #include "internal.h" #include "dns.h" -typedef struct AvahiSRBLookup AvahiSRBLookup; +typedef struct CattaSRBLookup CattaSRBLookup; -struct AvahiSRecordBrowser { - AVAHI_LLIST_FIELDS(AvahiSRecordBrowser, browser); +struct CattaSRecordBrowser { + CATTA_LLIST_FIELDS(CattaSRecordBrowser, browser); int dead; - AvahiServer *server; + CattaServer *server; - AvahiKey *key; - AvahiIfIndex interface; - AvahiProtocol protocol; - AvahiLookupFlags flags; + CattaKey *key; + CattaIfIndex iface; + CattaProtocol protocol; + CattaLookupFlags flags; - AvahiTimeEvent *defer_time_event; + CattaTimeEvent *defer_time_event; - AvahiSRecordBrowserCallback callback; + CattaSRecordBrowserCallback callback; void* userdata; /* Lookup data */ - AVAHI_LLIST_HEAD(AvahiSRBLookup, lookups); + CATTA_LLIST_HEAD(CattaSRBLookup, lookups); unsigned n_lookups; - AvahiSRBLookup *root_lookup; + CattaSRBLookup *root_lookup; }; -void avahi_browser_cleanup(AvahiServer *server); +void catta_browser_cleanup(CattaServer *server); -void avahi_s_record_browser_destroy(AvahiSRecordBrowser *b); -void avahi_s_record_browser_restart(AvahiSRecordBrowser *b); +void catta_s_record_browser_destroy(CattaSRecordBrowser *b); +void catta_s_record_browser_restart(CattaSRecordBrowser *b); #endif