]> git.meshlink.io Git - catta/blobdiff - avahi-common/error.c
fix linking to pthreads library
[catta] / avahi-common / error.c
index 8e29634879b376051e55801ee7170cd004094cbd..42423616213313083bf0bc004d03a51883c7efb8 100644 (file)
   USA.
  ***/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "error.h"
 
 const char *avahi_strerror(int error) {
@@ -45,7 +49,18 @@ const char *avahi_strerror(int error) {
         "Too many entries",
         "OS Error",
         "Access denied",
-        "Invalid operation"
+        "Invalid operation",
+        "An unexpected DBUS error occured",
+        "Could not get a connection to the daemon",
+        "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"
     };
 
     if (-error < 0 || -error >= -AVAHI_ERR_MAX)