#include <extensions.h>
An extension block is structured thustly:
To be able to transparently handle decompression and COBS decoding of GGEP extensions, the public structure exposes no data fields. Everything must be fetched through accessors, which will make COBS and decompression invisible.
Each of the fields shown above can be accessed via ext_xxx(). For instance, access to the payload must be made through ext_payload(), and access to the whole length via ext_len().
Data Fields | |
const gchar * | ext_name |
Extension name (may be NULL). | |
ext_token_t | ext_token |
Extension token. | |
ext_type_t | ext_type |
Extension type. | |
gpointer | opaque |
Internal information. |
|
Extension name (may be NULL).
|
|
Extension token.
|
|
Extension type.
|
|
Internal information.
|