From 78e16e99e753175fa49e787eab256932eefaa03f Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Wed, 19 Feb 2003 03:18:55 +0000 Subject: 2003-02-18 Havoc Pennington * dbus/dbus-string.c (_dbus_string_zero): new function * dbus/dbus-md5.c: include MD5 implementation by L. Peter Deutsch, wrap it in some dbus-friendly API * dbus/dbus-types.h: add 16-bit types --- dbus/dbus-types.h | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'dbus/dbus-types.h') 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 -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 */ -- cgit