]> git.meshlink.io Git - catta/blobdiff - avahi-common/error.h
* rename some DBUS errrors
[catta] / avahi-common / error.h
index f8d6c35e1dcbf246130acf8cfddcbc83155b6c1a..851c600ca376e7f99d5e7b50be556a55d9b9edf0 100644 (file)
@@ -59,6 +59,12 @@ enum {
     AVAHI_ERR_NO_MEMORY = -24,             /**< Memory exhausted */
     AVAHI_ERR_INVALID_OBJECT = -25,        /**< The object passed to this function was invalid */
     AVAHI_ERR_NO_DAEMON = -26,             /**< Daemon not running */
+    AVAHI_ERR_INVALID_INTERFACE = -27,     /**< Invalid interface */
+    AVAHI_ERR_INVALID_PROTOCOL = -28,      /**< Invalid protocol */
+    AVAHI_ERR_INVALID_FLAGS = -29,         /**< Invalid flags */
+    AVAHI_ERR_NOT_FOUND = -30,             /**< Not found */
+    AVAHI_ERR_INVALID_CONFIG = -31,        /**< Configuration error */
+    AVAHI_ERR_VERSION_MISMATCH = -32,      /**< Verson mismatch */
 
     /****
      ****    IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD
@@ -68,7 +74,7 @@ enum {
      ****    Also remember to update the MAX value below.
      ****/
     
-    AVAHI_ERR_MAX = -27
+    AVAHI_ERR_MAX = -33
 };
 
 /** Return a human readable error string for the specified error code */