]> git.meshlink.io Git - catta/blobdiff - avahi-common/error.c
limit allowed flags to avahi_server_add_service_subtype()
[catta] / avahi-common / error.c
index b84579341487d9db469170ca452a5c9a6663d942..76a05fdb525699433ac045cf63a0a92c7d346512 100644 (file)
   USA.
  ***/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "error.h"
 
 const char *avahi_strerror(int error) {
@@ -48,7 +52,16 @@ const char *avahi_strerror(int error) {
         "Invalid operation",
         "An unexpected DBUS error occured",
         "Could not get a connection to the daemon",
-        "Memory exhausted"
+        "Memory exhausted",
+        "The object passed in was not valid",
+        "Daemon not running",
+        "Invalid interface index",
+        "Invalid protocol specification",
+        "Invalid flags",
+        "Not found",
+        "Invalid configuration",
+        "Version mismatch",
+        "Invalid service subtype"
     };
 
     if (-error < 0 || -error >= -AVAHI_ERR_MAX)