diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-09-25 19:57:10 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-09-25 19:57:10 +0000 |
commit | 1a0fb70d743f900859d9278c6ae01cfc2a993dad (patch) | |
tree | eea384668e5a24ffd48c73f6c06617145dddae3d /avahi-common/error.c | |
parent | 9afe364e3fbe042d0de1988426cf60c91a4d32ac (diff) |
add a bunch of new errors codes
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@604 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/error.c')
-rw-r--r-- | avahi-common/error.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/avahi-common/error.c b/avahi-common/error.c index 67a5701..73f13d2 100644 --- a/avahi-common/error.c +++ b/avahi-common/error.c @@ -19,6 +19,10 @@ USA. ***/ +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include "error.h" const char *avahi_strerror(int error) { @@ -51,6 +55,11 @@ const char *avahi_strerror(int error) { "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) |