tag16.c File Reference

#include "tag16_p.h"
#include <gwenhywfar/debug.h>
#include <gwenhywfar/inherit.h>
#include <gwenhywfar/misc.h>
#include <gwenhywfar/text.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>

Go to the source code of this file.

Functions

void GWEN_Tag16_DirectlyToBuffer (unsigned int tagType, const char *p, int size, GWEN_BUFFER *buf)
void GWEN_Tag16_free (GWEN_TAG16 *tlv)
GWEN_TAG16GWEN_Tag16_fromBuffer (GWEN_BUFFER *mbuf, int isBerTlv)
const void * GWEN_Tag16_GetTagData (const GWEN_TAG16 *tlv)
unsigned int GWEN_Tag16_GetTagLength (const GWEN_TAG16 *tlv)
unsigned int GWEN_Tag16_GetTagSize (const GWEN_TAG16 *tlv)
unsigned int GWEN_Tag16_GetTagType (const GWEN_TAG16 *tlv)
GWEN_TAG16GWEN_Tag16_new ()


Function Documentation

void GWEN_Tag16_DirectlyToBuffer ( unsigned int  tagType,
const char *  p,
int  size,
GWEN_BUFFER buf 
)

Definition at line 143 of file tag16.c.

References GWEN_Buffer_AppendByte(), and GWEN_Buffer_AppendBytes().

void GWEN_Tag16_free ( GWEN_TAG16 tlv  ) 

Definition at line 43 of file tag16.c.

References GWEN_FREE_OBJECT, and GWEN_LIST_FINI.

GWEN_TAG16* GWEN_Tag16_fromBuffer ( GWEN_BUFFER mbuf,
int  isBerTlv 
)

const void* GWEN_Tag16_GetTagData ( const GWEN_TAG16 tlv  ) 

Definition at line 74 of file tag16.c.

unsigned int GWEN_Tag16_GetTagLength ( const GWEN_TAG16 tlv  ) 

Definition at line 60 of file tag16.c.

unsigned int GWEN_Tag16_GetTagSize ( const GWEN_TAG16 tlv  ) 

Definition at line 67 of file tag16.c.

unsigned int GWEN_Tag16_GetTagType ( const GWEN_TAG16 tlv  ) 

Definition at line 53 of file tag16.c.

GWEN_TAG16* GWEN_Tag16_new (  ) 

Definition at line 32 of file tag16.c.

References GWEN_LIST_INIT, and GWEN_NEW_OBJECT.

Referenced by GWEN_Tag16_fromBuffer().


Generated on Wed Sep 3 15:22:01 2008 for gwenhywfar by  doxygen 1.5.6