X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fdomain-util.h;h=409be81963b49a0809782d60ea14cebea68af304;hb=f195c1bda3616129bc28d33aae71f9d2dd9047ce;hp=2b786dfc75da4bd7bb2d0835a820b3d29fd4967d;hpb=37d19f15523b6fe4d1fef2329abe421221b3d4b3;p=catta diff --git a/src/domain-util.h b/src/domain-util.h index 2b786df..409be81 100644 --- a/src/domain-util.h +++ b/src/domain-util.h @@ -2,20 +2,20 @@ #define foodomainutilhfoo /*** - 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. ***/ @@ -23,23 +23,23 @@ #include #include -#include -#include +#include +#include -AVAHI_C_DECL_BEGIN +CATTA_C_DECL_BEGIN /** Return the local host name. */ -char *avahi_get_host_name(char *ret_s, size_t size); +char *catta_get_host_name(char *ret_s, size_t size); -/** Return the local host name. avahi_free() the result! */ -char *avahi_get_host_name_strdup(void); +/** Return the local host name. catta_free() the result! */ +char *catta_get_host_name_strdup(void); /** Do a binary comparison of to specified domain names, return -1, 0, or 1, depending on the order. */ -int avahi_binary_domain_cmp(const char *a, const char *b); +int catta_binary_domain_cmp(const char *a, const char *b); /** Returns 1 if the the end labels of domain are eqal to suffix */ -int avahi_domain_ends_with(const char *domain, const char *suffix); +int catta_domain_ends_with(const char *domain, const char *suffix); -AVAHI_C_DECL_END +CATTA_C_DECL_END #endif