Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

extvec Struct Reference

#include <extensions.h>


Detailed Description

A public extension descriptor.

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.


Field Documentation

const gchar* extvec::ext_name
 

Extension name (may be NULL).

ext_token_t extvec::ext_token
 

Extension token.

ext_type_t extvec::ext_type
 

Extension type.

gpointer extvec::opaque
 

Internal information.


The documentation for this struct was generated from the following file:
Generated on Sun Feb 12 10:50:11 2006 for Gtk-Gnutella by doxygen 1.3.6