X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fbrowse.h;h=a0dc2076293ee2f23308d12c460ebaa5ae1901cc;hb=72f1f558f1e4261e4a10b5cefc77c9ac76f9bbff;hp=70e724fddcc7654668a026d32b97f7570fe4834f;hpb=1ffedb586bd2fb6daa3970304fac7c5b415cd38f;p=catta diff --git a/avahi-core/browse.h b/avahi-core/browse.h index 70e724f..a0dc207 100644 --- a/avahi-core/browse.h +++ b/avahi-core/browse.h @@ -1,21 +1,19 @@ #ifndef foobrowsehfoo #define foobrowsehfoo -/* $Id$ */ - /*** This file is part of avahi. - + avahi 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 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 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 @@ -26,7 +24,7 @@ #include "core.h" #include "timeeventq.h" -#include "server.h" +#include "internal.h" #include "dns.h" #include "lookup.h" @@ -41,7 +39,7 @@ struct AvahiSRecordBrowser { AvahiIfIndex interface; AvahiProtocol protocol; AvahiLookupFlags flags; - + AvahiTimeEvent *defer_time_event; AvahiSRecordBrowserCallback callback; @@ -58,8 +56,5 @@ void avahi_browser_cleanup(AvahiServer *server); void avahi_s_record_browser_destroy(AvahiSRecordBrowser *b); void avahi_s_record_browser_restart(AvahiSRecordBrowser *b); -void avahi_s_record_browser_cancel(AvahiSRecordBrowser *b); - -#define AVAHI_VALID_FLAGS(flags, max) (!((flags) & ~(max))) #endif