X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Ferror.h;h=3e4d25f498f64a2cb376573c806733836a2579d3;hb=a04b975cfba226cf445ab5a045fe1a8ce3328bfc;hp=0c3320d58619011e24d934b8388832dd69825fa6;hpb=f6712902a92eb82b6c8d7e7fd0980a20a716fa0d;p=catta diff --git a/avahi-common/error.h b/avahi-common/error.h index 0c3320d..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 */ @@ -83,6 +83,12 @@ enum { AVAHI_ERR_INVALID_RDATA = -46, /**< Invalid RDATA */ AVAHI_ERR_INVALID_DNS_CLASS = -47, /**< Invalid DNS class */ AVAHI_ERR_INVALID_DNS_TYPE = -48, /**< Invalid DNS type */ + 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 @@ -92,7 +98,7 @@ enum { **** Also remember to update the MAX value below. ****/ - AVAHI_ERR_MAX = -49 + AVAHI_ERR_MAX = -54 }; /** Return a human readable error string for the specified error code */