The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
tlvhelper.h
Go to the documentation of this file.
1 
25 #include <projectcommon.h>
26 #include <glib.h>
27 WINEXPORT guint8 tlv_get_guint8 (const void* vitem, const void* bufend);
28 WINEXPORT guint16 tlv_get_guint16(const void* vitem, const void* bufend);
29 WINEXPORT guint32 tlv_get_guint24(const void* vitem, const void* bufend);
30 WINEXPORT guint32 tlv_get_guint32(const void* vitem, const void* bufend);
31 WINEXPORT guint64 tlv_get_guint64(const void* vitem, const void* bufend);
32 WINEXPORT void tlv_set_guint8 (void* vitem, guint8 item, const void* bufend);
33 WINEXPORT void tlv_set_guint16(void* vitem, guint16 item, const void* bufend);
34 WINEXPORT void tlv_set_guint24(void* vitem, guint32 item, const void* bufend);
35 WINEXPORT void tlv_set_guint32(void* vitem, guint32 item, const void* bufend);
36 WINEXPORT void tlv_set_guint64(void* vitem, guint64 item, const void* bufend);
#define WINEXPORT
Definition: projectcommon.h:45
WINEXPORT void tlv_set_guint32(void *vitem, guint32 item, const void *bufend)
Set an unsigned 32 bit integer to the given location with error checking and without caring about byt...
Definition: tlvhelper.c:93
WINEXPORT guint32 tlv_get_guint32(const void *vitem, const void *bufend)
Retrieve an unsigned 32 bit integer from the given location with error checking and without caring ab...
Definition: tlvhelper.c:81
Project common header file.
WINEXPORT void tlv_set_guint16(void *vitem, guint16 item, const void *bufend)
Set an unsigned 16 bit integer to the given location with error checking and without caring about byt...
Definition: tlvhelper.c:68
WINEXPORT void tlv_set_guint24(void *vitem, guint32 item, const void *bufend)
Set an unsigned 24 bit (3-byte) integer to the given location with error checking and without caring ...
Definition: tlvhelper.c:146
WINEXPORT guint8 tlv_get_guint8(const void *vitem, const void *bufend)
Retrieve an unsigned 8 bit integer from the given location with error checking.
Definition: tlvhelper.c:30
WINEXPORT guint16 tlv_get_guint16(const void *vitem, const void *bufend)
Retrieve an unsigned 16 bit integer from the given location with error checking and without caring ab...
Definition: tlvhelper.c:53
WINEXPORT void tlv_set_guint64(void *vitem, guint64 item, const void *bufend)
Set an unsigned 64 bit integer to the given location with error checking and without caring about byt...
Definition: tlvhelper.c:119
WINEXPORT guint32 tlv_get_guint24(const void *vitem, const void *bufend)
Retrieve an unsigned 24 bit (3-byte) integer from the given location with error checking and without ...
Definition: tlvhelper.c:131
WINEXPORT guint64 tlv_get_guint64(const void *vitem, const void *bufend)
Retrieve an unsigned 64 bit integer from the given location with error checking and without caring ab...
Definition: tlvhelper.c:107
WINEXPORT void tlv_set_guint8(void *vitem, guint8 item, const void *bufend)
Set an unsigned 8 bit integer to the given location with error checking.
Definition: tlvhelper.c:41