X-Git-Url: http://git.meshlink.io/?p=catta;a=blobdiff_plain;f=src%2Fquerier.h;h=e054e5734abb938f6fd39c0f29866a28826f1af2;hp=6a32a3b2fb165db67316aae6842f6701d5b8df55;hb=2c550daf4ac6a6aab7f21047c037b4dd53c57fa6;hpb=37d19f15523b6fe4d1fef2329abe421221b3d4b3 diff --git a/src/querier.h b/src/querier.h index 6a32a3b..e054e57 100644 --- a/src/querier.h +++ b/src/querier.h @@ -2,47 +2,47 @@ #define fooquerierhfoo /*** - 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. ***/ -typedef struct AvahiQuerier AvahiQuerier; +typedef struct CattaQuerier CattaQuerier; #include "iface.h" /** Add querier for the specified key to the specified interface */ -void avahi_querier_add(AvahiInterface *i, AvahiKey *key, struct timeval *ret_ctime); +void catta_querier_add(CattaInterface *i, CattaKey *key, struct timeval *ret_ctime); /** Remove a querier for the specified key from the specified interface */ -void avahi_querier_remove(AvahiInterface *i, AvahiKey *key); +void catta_querier_remove(CattaInterface *i, CattaKey *key); /** Add a querier for the specified key on all interfaces that mach */ -void avahi_querier_add_for_all(AvahiServer *s, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *key, struct timeval *ret_ctime); +void catta_querier_add_for_all(CattaServer *s, CattaIfIndex idx, CattaProtocol protocol, CattaKey *key, struct timeval *ret_ctime); /** Remove a querier for the specified key on all interfaces that mach */ -void avahi_querier_remove_for_all(AvahiServer *s, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *key); +void catta_querier_remove_for_all(CattaServer *s, CattaIfIndex idx, CattaProtocol protocol, CattaKey *key); /** Free all queriers */ -void avahi_querier_free(AvahiQuerier *q); +void catta_querier_free(CattaQuerier *q); /** Free all queriers on the specified interface */ -void avahi_querier_free_all(AvahiInterface *i); +void catta_querier_free_all(CattaInterface *i); /** Return 1 if there is a querier for the specified key on the specified interface */ -int avahi_querier_shall_refresh_cache(AvahiInterface *i, AvahiKey *key); +int catta_querier_shall_refresh_cache(CattaInterface *i, CattaKey *key); #endif