]> git.meshlink.io Git - catta/blobdiff - avahi-common/error.h
add missing error codes to some places where they belong
[catta] / avahi-common / error.h
index 943b49c6463d5046ce28855b18ef00182c8718e3..c94946670b1e130af2aff63503fffc6c61f4ad61 100644 (file)
@@ -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
 };