From 1a0fb70d743f900859d9278c6ae01cfc2a993dad Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 25 Sep 2005 19:57:10 +0000 Subject: add a bunch of new errors codes git-svn-id: file:///home/lennart/svn/public/avahi/trunk@604 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-common/error.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'avahi-common/error.c') 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 +#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) -- cgit