Revision 06aae79f
Von Stefan Bayer vor mehr als 6 Jahren hinzugefügt
src/parser/tlv.h | ||
---|---|---|
|
||
#include <gwenhywfar/buffer.h>
|
||
#include <gwenhywfar/misc.h>
|
||
#include <gwenhywfar/db.h>
|
||
|
||
|
||
typedef struct GWEN_TLV GWEN_TLV;
|
||
... | ... | |
GWEN_BUFFER *mbuf);
|
||
|
||
|
||
/**
|
||
* Directly parses a BER-TLV structure do a DB.
|
||
* @return number of bytes parsed
|
||
* @param dbRecord GWEN_DB database with the parsed TLV structure
|
||
* @param mbuf buffer holding the TLV data
|
||
* @param len length of the data in the buffer
|
||
*/
|
||
|
||
GWENHYWFAR_API
|
||
int GWEN_TLV_Buffer_To_DB(GWEN_DB_NODE *dbRecord, GWEN_BUFFER *mbuf, int len);
|
||
|
||
#endif /* GWENHYWFAR_TLV_H */
|
||
|
Auch abrufbar als: Unified diff
added function for generic parsing of a TLV to a GWEN DB