summaryrefslogtreecommitdiff
path: root/src/util/virtypedparam.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/virtypedparam.h')
-rw-r--r--src/util/virtypedparam.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/util/virtypedparam.h b/src/util/virtypedparam.h
index c2f58e994c..7454ef3ce0 100644
--- a/src/util/virtypedparam.h
+++ b/src/util/virtypedparam.h
@@ -24,6 +24,15 @@
#include "internal.h"
#include "virenum.h"
+
+/**
+ * VIR_TYPED_PARAM_UNSIGNED:
+ *
+ * Special typed parameter type only used with virTypedParamsValidate to
+ * indicate that both VIR_TYPED_PARAM_UINT and VIR_TYPED_PARAM_ULLONG types
+ * are acceptable for given value.
+ */
+#define VIR_TYPED_PARAM_UNSIGNED (VIR_TYPED_PARAM_LAST + 1)
/**
* VIR_TYPED_PARAM_MULTIPLE:
*