diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-08-13 21:34:17 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-08-13 21:34:17 +0000 |
commit | 7f5fd7ab759d8881e04f9edf31decdb000498fd1 (patch) | |
tree | c808473440dfe03741a8eaeaaa3d0b601e06bbf6 /avahi-common/error.h | |
parent | 4f0a5e7572a4257894b4bfede42c26d65152609e (diff) |
add missing error codes to some places where they belong
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@309 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/error.h')
-rw-r--r-- | avahi-common/error.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/avahi-common/error.h b/avahi-common/error.h index 943b49c..c949466 100644 --- a/avahi-common/error.h +++ b/avahi-common/error.h @@ -54,7 +54,15 @@ enum { AVAHI_ERR_INVALID_OPERATION = -21, /**< Invalid operation */ AVAHI_ERR_DBUS_ERROR = -22, /**< An unexpected DBUS error occured */ AVAHI_ERR_NOT_CONNECTED = -23, /**< Could not get a connection to the daemon */ - AVAHI_ERR_NO_MEMORY = -24, /**< Memory exhausted */ + AVAHI_ERR_NO_MEMORY = -24, /**< Memory exhausted */ + + /**** + **** IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD + **** IT TO THE STRING ARRAY IN avahi_strerror() AND TO THE ARRAY + **** IN respond_error() IN dbus-protocol.c AND FINALLY TO + **** dbus.h! + ****/ + AVAHI_ERR_MAX = -25 }; |