Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 06aae79f

Von Stefan Bayer vor mehr als 6 Jahren hinzugefügt

  • ID 06aae79ff7654162577496c9423e9cb43a74b46f
  • Vorgänger 594de917
  • Nachfolger 11326a02

added function for generic parsing of a TLV to a GWEN DB

Unterschiede anzeigen:

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