Functions | Variables
ltkc_frameencode.c File Reference
#include <assert.h>
#include "ltkc_platform.h"
#include "ltkc_base.h"
#include "ltkc_frame.h"
Include dependency graph for ltkc_frameencode.c:

Go to the source code of this file.

Functions

static llrp_bool_t checkAvailable (LLRP_tSFrameEncoderStream *pEncoderStream, unsigned int nByte, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void encodeElement (LLRP_tSEncoder *pBaseEncoder, const LLRP_tSElement *pElement)
static void encoderDestruct (LLRP_tSEncoder *pBaseEncoder)
LLRP_tSFrameEncoderLLRP_FrameEncoder_construct (unsigned char *pBuffer, unsigned int nBuffer)
static void nestSubParameter (LLRP_tSFrameEncoderStream *pEncoderStream, const LLRP_tSParameter *pParameter)
static void next_u16 (LLRP_tSFrameEncoder *pEncoder, llrp_u16_t Value)
static void next_u32 (LLRP_tSFrameEncoder *pEncoder, llrp_u32_t Value)
static void next_u64 (LLRP_tSFrameEncoder *pEncoder, llrp_u64_t Value)
static void next_u8 (LLRP_tSFrameEncoder *pEncoder, llrp_u8_t Value)
static void put_bytesToEnd (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_bytesToEnd_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_e1 (LLRP_tSEncoderStream *pBaseEncoderStream, const int Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_e16 (LLRP_tSEncoderStream *pBaseEncoderStream, const int Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_e2 (LLRP_tSEncoderStream *pBaseEncoderStream, const int Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_e32 (LLRP_tSEncoderStream *pBaseEncoderStream, const int Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_e8 (LLRP_tSEncoderStream *pBaseEncoderStream, const int Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_e8v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u8v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_reserved (LLRP_tSEncoderStream *pBaseEncoderStream, unsigned int nBits)
static void put_s16 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_s16_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_s16v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_s16v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_s32 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_s32_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_s32v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_s32v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_s64 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_s64_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_s64v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_s64v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_s8 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_s8_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_s8v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_s8v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u1 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u1_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u16 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u16_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u16v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u16v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u1v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u1v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u2 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u2_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u32 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u32_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u32v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u32v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u64 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u64_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u64v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u64v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u8 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u8_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u8v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u8v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_u96 (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_u96_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void put_utf8v (LLRP_tSEncoderStream *pBaseEncoderStream, const llrp_utf8v_t Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static llrp_bool_t putBitField (LLRP_tSFrameEncoderStream *pEncoderStream, unsigned int nBit, unsigned int Value, const LLRP_tSFieldDescriptor *pFieldDescriptor)
static void putElement (LLRP_tSFrameEncoderStream *pEncoderStream, const LLRP_tSElement *pElement)
static void putOptionalSubParameter (LLRP_tSEncoderStream *pBaseEncoderStream, const LLRP_tSParameter *pParameter, const LLRP_tSTypeDescriptor *pRefType)
static void putOptionalSubParameterList (LLRP_tSEncoderStream *pBaseEncoderStream, const LLRP_tSParameter *pParameterList, const LLRP_tSTypeDescriptor *pRefType)
static void putRequiredSubParameter (LLRP_tSEncoderStream *pBaseEncoderStream, const LLRP_tSParameter *pParameter, const LLRP_tSTypeDescriptor *pRefType)
static void putRequiredSubParameterList (LLRP_tSEncoderStream *pBaseEncoderStream, const LLRP_tSParameter *pParameterList, const LLRP_tSTypeDescriptor *pRefType)
static void streamConstruct_nested (LLRP_tSFrameEncoderStream *pEncoderStream, LLRP_tSFrameEncoderStream *pEnclosingEncoderStream)
static void streamConstruct_outermost (LLRP_tSFrameEncoderStream *pEncoderStream, LLRP_tSFrameEncoder *pEncoder)

Variables

static LLRP_tSEncoderOps s_FrameEncoderOps
static LLRP_tSEncoderStreamOps s_FrameEncoderStreamOps

Function Documentation

static llrp_bool_t checkAvailable ( LLRP_tSFrameEncoderStream pEncoderStream,
unsigned int  nByte,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1314 of file ltkc_frameencode.c.

static void encodeElement ( LLRP_tSEncoder pBaseEncoder,
const LLRP_tSElement pElement 
) [static]

Definition at line 393 of file ltkc_frameencode.c.

static void encoderDestruct ( LLRP_tSEncoder pBaseEncoder) [static]

Definition at line 384 of file ltkc_frameencode.c.

LLRP_tSFrameEncoder* LLRP_FrameEncoder_construct ( unsigned char *  pBuffer,
unsigned int  nBuffer 
)

Definition at line 357 of file ltkc_frameencode.c.

static void nestSubParameter ( LLRP_tSFrameEncoderStream pEncoderStream,
const LLRP_tSParameter pParameter 
) [static]

Definition at line 1297 of file ltkc_frameencode.c.

static void next_u16 ( LLRP_tSFrameEncoder pEncoder,
llrp_u16_t  Value 
) [static]

Definition at line 421 of file ltkc_frameencode.c.

static void next_u32 ( LLRP_tSFrameEncoder pEncoder,
llrp_u32_t  Value 
) [static]

Definition at line 432 of file ltkc_frameencode.c.

static void next_u64 ( LLRP_tSFrameEncoder pEncoder,
llrp_u64_t  Value 
) [static]

Definition at line 445 of file ltkc_frameencode.c.

static void next_u8 ( LLRP_tSFrameEncoder pEncoder,
llrp_u8_t  Value 
) [static]

Definition at line 411 of file ltkc_frameencode.c.

static void put_bytesToEnd ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_bytesToEnd_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 966 of file ltkc_frameencode.c.

static void put_e1 ( LLRP_tSEncoderStream pBaseEncoderStream,
const int  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 991 of file ltkc_frameencode.c.

static void put_e16 ( LLRP_tSEncoderStream pBaseEncoderStream,
const int  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1018 of file ltkc_frameencode.c.

static void put_e2 ( LLRP_tSEncoderStream pBaseEncoderStream,
const int  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1000 of file ltkc_frameencode.c.

static void put_e32 ( LLRP_tSEncoderStream pBaseEncoderStream,
const int  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1027 of file ltkc_frameencode.c.

static void put_e8 ( LLRP_tSEncoderStream pBaseEncoderStream,
const int  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1009 of file ltkc_frameencode.c.

static void put_e8v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u8v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1036 of file ltkc_frameencode.c.

static void put_reserved ( LLRP_tSEncoderStream pBaseEncoderStream,
unsigned int  nBits 
) [static]

Definition at line 1045 of file ltkc_frameencode.c.

static void put_s16 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_s16_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 642 of file ltkc_frameencode.c.

static void put_s16v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_s16v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 683 of file ltkc_frameencode.c.

static void put_s32 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_s32_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 724 of file ltkc_frameencode.c.

static void put_s32v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_s32v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 765 of file ltkc_frameencode.c.

static void put_s64 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_s64_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 806 of file ltkc_frameencode.c.

static void put_s64v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_s64v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 847 of file ltkc_frameencode.c.

static void put_s8 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_s8_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 560 of file ltkc_frameencode.c.

static void put_s8v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_s8v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 601 of file ltkc_frameencode.c.

static void put_u1 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u1_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 872 of file ltkc_frameencode.c.

static void put_u16 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u16_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 626 of file ltkc_frameencode.c.

static void put_u16v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u16v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 658 of file ltkc_frameencode.c.

static void put_u1v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u1v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 884 of file ltkc_frameencode.c.

static void put_u2 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u2_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 907 of file ltkc_frameencode.c.

static void put_u32 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u32_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 708 of file ltkc_frameencode.c.

static void put_u32v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u32v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 740 of file ltkc_frameencode.c.

static void put_u64 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u64_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 790 of file ltkc_frameencode.c.

static void put_u64v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u64v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 822 of file ltkc_frameencode.c.

static void put_u8 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u8_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 544 of file ltkc_frameencode.c.

static void put_u8v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u8v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 576 of file ltkc_frameencode.c.

static void put_u96 ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_u96_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 920 of file ltkc_frameencode.c.

static void put_utf8v ( LLRP_tSEncoderStream pBaseEncoderStream,
const llrp_utf8v_t  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 941 of file ltkc_frameencode.c.

static llrp_bool_t putBitField ( LLRP_tSFrameEncoderStream pEncoderStream,
unsigned int  nBit,
unsigned int  Value,
const LLRP_tSFieldDescriptor pFieldDescriptor 
) [static]

Definition at line 1351 of file ltkc_frameencode.c.

static void putElement ( LLRP_tSFrameEncoderStream pEncoderStream,
const LLRP_tSElement pElement 
) [static]

Definition at line 1144 of file ltkc_frameencode.c.

static void putOptionalSubParameter ( LLRP_tSEncoderStream pBaseEncoderStream,
const LLRP_tSParameter pParameter,
const LLRP_tSTypeDescriptor pRefType 
) [static]

Definition at line 485 of file ltkc_frameencode.c.

static void putOptionalSubParameterList ( LLRP_tSEncoderStream pBaseEncoderStream,
const LLRP_tSParameter pParameterList,
const LLRP_tSTypeDescriptor pRefType 
) [static]

Definition at line 525 of file ltkc_frameencode.c.

static void putRequiredSubParameter ( LLRP_tSEncoderStream pBaseEncoderStream,
const LLRP_tSParameter pParameter,
const LLRP_tSTypeDescriptor pRefType 
) [static]

Definition at line 464 of file ltkc_frameencode.c.

static void putRequiredSubParameterList ( LLRP_tSEncoderStream pBaseEncoderStream,
const LLRP_tSParameter pParameterList,
const LLRP_tSTypeDescriptor pRefType 
) [static]

Definition at line 497 of file ltkc_frameencode.c.

static void streamConstruct_nested ( LLRP_tSFrameEncoderStream pEncoderStream,
LLRP_tSFrameEncoderStream pEnclosingEncoderStream 
) [static]

Definition at line 1125 of file ltkc_frameencode.c.

static void streamConstruct_outermost ( LLRP_tSFrameEncoderStream pEncoderStream,
LLRP_tSFrameEncoder pEncoder 
) [static]

Definition at line 1109 of file ltkc_frameencode.c.


Variable Documentation

Initial value:
{
    .pfDestruct                 = encoderDestruct,
    .pfEncodeElement            = encodeElement,
}

Definition at line 303 of file ltkc_frameencode.c.

Definition at line 310 of file ltkc_frameencode.c.



thingmagic_rfid
Author(s): Brian Bingham
autogenerated on Thu May 16 2019 03:01:24