X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Ferror.c;h=af104227cc9861f235e0ffc4fddf727f8f1a3cea;hb=2be556032ed87b7627a135174339c5e5a0e8fc44;hp=8e29634879b376051e55801ee7170cd004094cbd;hpb=9681c6175cda1ab1bb3bf5b0ffe326f0b80823de;p=catta diff --git a/avahi-common/error.c b/avahi-common/error.c index 8e29634..af10422 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,8 +49,35 @@ const char *avahi_strerror(int error) { "Too many objects", "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", + "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" }; if (-error < 0 || -error >= -AVAHI_ERR_MAX)