summaryrefslogtreecommitdiff
path: root/tests/data/small-client-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/small-client-core.h')
-rw-r--r--tests/data/small-client-core.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/data/small-client-core.h b/tests/data/small-client-core.h
index e5e2193..0e72244 100644
--- a/tests/data/small-client-core.h
+++ b/tests/data/small-client-core.h
@@ -85,6 +85,12 @@ enum intf_A_foo {
* @since 2
*/
INTF_A_FOO_NEGATIVE = -1,
+ /**
+ * this is a deprecated value
+ * @since 2
+ * @deprecated Deprecated since version 3
+ */
+ INTF_A_FOO_DEPRECATED = 3,
};
/**
* @ingroup iface_intf_A
@@ -94,6 +100,10 @@ enum intf_A_foo {
* @ingroup iface_intf_A
*/
#define INTF_A_FOO_NEGATIVE_SINCE_VERSION 2
+/**
+ * @ingroup iface_intf_A
+ */
+#define INTF_A_FOO_DEPRECATED_SINCE_VERSION 2
#endif /* INTF_A_FOO_ENUM */
/**
@@ -105,6 +115,12 @@ struct intf_A_listener {
*/
void (*hey)(void *data,
struct intf_A *intf_A);
+ /**
+ * @since 2
+ * @deprecated Deprecated since version 3
+ */
+ void (*yo)(void *data,
+ struct intf_A *intf_A);
};
/**
@@ -126,6 +142,10 @@ intf_A_add_listener(struct intf_A *intf_A,
* @ingroup iface_intf_A
*/
#define INTF_A_HEY_SINCE_VERSION 1
+/**
+ * @ingroup iface_intf_A
+ */
+#define INTF_A_YO_SINCE_VERSION 2
/**
* @ingroup iface_intf_A