]> git.meshlink.io Git - catta/blobdiff - avahi-common/error.c
update python programs to new DBUS API
[catta] / avahi-common / error.c
index 3dca2082ca49f099478fd9e70d8e541f0d20ca5e..73f13d2df85297d440f1f458d4adb852ab62cf36 100644 (file)
   USA.
  ***/
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include "error.h"
 
 const char *avahi_strerror(int error) {
@@ -47,7 +51,15 @@ const char *avahi_strerror(int error) {
         "Access denied",
         "Invalid operation",
         "An unexpected DBUS error occured",
-        "Could not get a connection to the daemon"
+        "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"
     };
 
     if (-error < 0 || -error >= -AVAHI_ERR_MAX)