X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Ferror.h;h=3e4d25f498f64a2cb376573c806733836a2579d3;hb=254dfcb3542d1813dca193d494757dc24ba54b61;hp=91e32d7eade56f4abbf92e393af64db2595241e2;hpb=fbce111b069aa1e4c701ed37ee1d9f6d6cefaac5;p=catta diff --git a/avahi-common/error.h b/avahi-common/error.h index 91e32d7..3e4d25f 100644 --- a/avahi-common/error.h +++ b/avahi-common/error.h @@ -54,8 +54,8 @@ enum { AVAHI_ERR_ACCESS_DENIED = -20, /**< Access denied */ 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_DBUS_ERROR = -22, /**< An unexpected D-Bus error occured */ + AVAHI_ERR_DISCONNECTED = -23, /**< Daemon connection failed */ 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 */ @@ -86,6 +86,9 @@ enum { AVAHI_ERR_NOT_SUPPORTED = -49, /**< Not supported */ AVAHI_ERR_NOT_PERMITTED = -50, /**< Operation not permitted */ + AVAHI_ERR_INVALID_ARGUMENT = -51, /**< Invalid argument */ + AVAHI_ERR_IS_EMPTY = -52, /**< Is empty */ + AVAHI_ERR_NO_CHANGE = -53, /**< The requested operation is invalid because it is redundant */ /**** **** IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD @@ -95,7 +98,7 @@ enum { **** Also remember to update the MAX value below. ****/ - AVAHI_ERR_MAX = -51 + AVAHI_ERR_MAX = -54 }; /** Return a human readable error string for the specified error code */