X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Ferror.c;h=6fe981cf0f1fa14b595473b2974f9db9217e443a;hb=ef51c776fa80e67b84e2a6d48829f9040ac76c20;hp=3dca2082ca49f099478fd9e70d8e541f0d20ca5e;hpb=7231641e5c53a9d1c255e06a7a134fa60a919f88;p=catta diff --git a/avahi-common/error.c b/avahi-common/error.c index 3dca208..6fe981c 100644 --- a/avahi-common/error.c +++ b/avahi-common/error.c @@ -19,6 +19,10 @@ USA. ***/ +#ifdef HAVE_CONFIG_H +#include +#endif + #include "error.h" const char *avahi_strerror(int error) { @@ -34,6 +38,7 @@ const char *avahi_strerror(int error) { "Resource record key is pattern", "Local name collision", "Invalid record", + "Invalid service name", "Invalid service type", "Invalid port number", @@ -44,10 +49,42 @@ const char *avahi_strerror(int error) { "Too many objects", "Too many entries", "OS Error", + "Access denied", "Invalid operation", "An unexpected DBUS error occured", - "Could not get a connection to the daemon" + "Daemon connection failed", + "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", + "Invalid packet", + "Invalid DNS return code", + "DNS failure: FORMERR", + "DNS failure: SERVFAIL", + "DNS failure: NXDOMAIN", + "DNS failure: NOTIMP", + + "DNS failure: REFUSED", + "DNS failure: YXDOMAIN", + "DNS failure: YXRRSET", + "DNS failure: NXRRSET", + "DNS failure: NOTAUTH", + "DNS failure: NOTZONE", + "Invalid RDATA", + "Invalid DNS type", + "Invalid DNS class", + "Not supported", + + "Not permitted", + "Invalid argument" }; if (-error < 0 || -error >= -AVAHI_ERR_MAX)