summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-types.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbus/dbus-types.h')
-rw-r--r--dbus/dbus-types.h22
1 files changed, 18 insertions, 4 deletions
diff --git a/dbus/dbus-types.h b/dbus/dbus-types.h
index a924278f..e9bfca84 100644
--- a/dbus/dbus-types.h
+++ b/dbus/dbus-types.h
@@ -29,10 +29,12 @@
#include <stddef.h>
-typedef unsigned int dbus_bool_t;
-typedef unsigned int dbus_uint32_t;
-typedef int dbus_int32_t;
-typedef dbus_uint32_t dbus_unichar_t;
+typedef unsigned int dbus_bool_t;
+typedef unsigned short dbus_uint16_t;
+typedef short dbus_int16_t;
+typedef unsigned int dbus_uint32_t;
+typedef int dbus_int32_t;
+typedef dbus_uint32_t dbus_unichar_t;
/* Normally docs are in .c files, but there isn't a .c file for this. */
/**
@@ -63,6 +65,18 @@ typedef dbus_uint32_t dbus_unichar_t;
* A 32-bit signed integer on all platforms.
*/
+/**
+ * @typedef dbus_uint16_t
+ *
+ * A 16-bit unsigned integer on all platforms.
+ */
+
+/**
+ * @typedef dbus_int16_t
+ *
+ * A 16-bit signed integer on all platforms.
+ */
+
/** @} */
#endif /* DBUS_TYPES_H */