]> git.meshlink.io Git - catta/blobdiff - src/domain-util.h
rename everything avahi to catta
[catta] / src / domain-util.h
index 2b786dfc75da4bd7bb2d0835a820b3d29fd4967d..409be81963b49a0809782d60ea14cebea68af304 100644 (file)
@@ -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.
 ***/
 #include <inttypes.h>
 #include <sys/types.h>
 
-#include <avahi/cdecl.h>
-#include <avahi/domain.h>
+#include <catta/cdecl.h>
+#include <catta/domain.h>
 
-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