From 14d771b90f5a7d3887e5e900d1fb4737477ad305 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Wed, 5 Feb 2014 08:38:27 +0100 Subject: Imported Upstream version 0.5.2.0 --- libqcdm/src/result.h | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) (limited to 'libqcdm/src/result.h') diff --git a/libqcdm/src/result.h b/libqcdm/src/result.h index 4912b07..a71c0bf 100644 --- a/libqcdm/src/result.h +++ b/libqcdm/src/result.h @@ -18,25 +18,30 @@ #ifndef LIBQCDM_RESULT_H #define LIBQCDM_RESULT_H -#include +#include -typedef struct QCDMResult QCDMResult; +typedef struct QcdmResult QcdmResult; -gboolean qcdm_result_get_string (QCDMResult *result, - const char *key, - const char **out_val); +int qcdm_result_get_string (QcdmResult *r, + const char *key, + const char **out_val); -gboolean qcdm_result_get_uint8 (QCDMResult *result, - const char *key, - guint8 *out_val); +int qcdm_result_get_u8 (QcdmResult *r, + const char *key, + u_int8_t *out_val); -gboolean qcdm_result_get_uint32 (QCDMResult *result, - const char *key, - guint32 *out_val); +int qcdm_result_get_u32 (QcdmResult *r, + const char *key, + u_int32_t *out_val); -QCDMResult *qcdm_result_ref (QCDMResult *result); +int qcdm_result_get_u16_array (QcdmResult *result, + const char *key, + const u_int16_t **out_val, + size_t *out_len); -void qcdm_result_unref (QCDMResult *result); +QcdmResult *qcdm_result_ref (QcdmResult *r); + +void qcdm_result_unref (QcdmResult *r); #endif /* LIBQCDM_RESULT_H */ -- cgit v1.2.3