X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Ferror.h;h=8060ebcfbfd454288641955c41ac298ad3b6a050;hb=1b00ed03e1a2903b01565e270300f35c3d7db1ae;hp=0c3320d58619011e24d934b8388832dd69825fa6;hpb=f6712902a92eb82b6c8d7e7fd0980a20a716fa0d;p=catta diff --git a/avahi-common/error.h b/avahi-common/error.h index 0c3320d..8060ebc 100644 --- a/avahi-common/error.h +++ b/avahi-common/error.h @@ -55,7 +55,7 @@ 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_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,10 @@ 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 */ /**** **** IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD @@ -92,7 +96,7 @@ enum { **** Also remember to update the MAX value below. ****/ - AVAHI_ERR_MAX = -49 + AVAHI_ERR_MAX = -52 }; /** Return a human readable error string for the specified error code */