AVAHI_DBUS_ERR_NOT_PERMITTED,
AVAHI_DBUS_ERR_INVALID_ARGUMENT,
- AVAHI_DBUS_ERR_IS_EMPTY
+ AVAHI_DBUS_ERR_IS_EMPTY,
+ AVAHI_DBUS_ERR_NO_CHANGE
};
struct error_map {
#define AVAHI_DBUS_ERR_NOT_PERMITTED "org.freedesktop.Avahi.NotPermittedError"
#define AVAHI_DBUS_ERR_INVALID_ARGUMENT "org.freedesktop.Avahi.InvalidArgumentError"
#define AVAHI_DBUS_ERR_IS_EMPTY "org.freedesktop.Avahi.IsEmptyError"
+#define AVAHI_DBUS_ERR_NO_CHANGE "org.freedesktop.Avahi.NoChangeError"
/** Convert a DBus error string into an Avahi error number */
int avahi_error_dbus_to_number(const char *s);
"Not permitted",
"Invalid argument",
- "Is empty"
+ "Is empty",
+ "The requested operation is invalid because redundant"
};
if (-error < 0 || -error >= -AVAHI_ERR_MAX)
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 redundant */
/****
**** IF YOU ADD A NEW ERROR CODE HERE, PLEASE DON'T FORGET TO ADD
**** Also remember to update the MAX value below.
****/
- AVAHI_ERR_MAX = -53
+ AVAHI_ERR_MAX = -54
};
/** Return a human readable error string for the specified error code */