X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Ferror.c;h=af104227cc9861f235e0ffc4fddf727f8f1a3cea;hb=2be556032ed87b7627a135174339c5e5a0e8fc44;hp=3dca2082ca49f099478fd9e70d8e541f0d20ca5e;hpb=7231641e5c53a9d1c255e06a7a134fa60a919f88;p=catta diff --git a/avahi-common/error.c b/avahi-common/error.c index 3dca208..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,10 +49,35 @@ 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" + "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)