]> 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 67a57011c534a3e4669b093da477052d39454b27..76a05fdb525699433ac045cf63a0a92c7d346512 100644 (file)
   USA.
  ***/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "error.h"
 
 const char *avahi_strerror(int error) {
@@ -51,6 +55,13 @@ const char *avahi_strerror(int error) {
         "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)