Rate This Document
Findability
Accuracy
Completeness
Readability

Data Structures

AsnDesc

ASN.1 data descriptor.

typedef struct AsnDesc { 
    uint16_t id; /* Unique index of the descriptor */ 
    uint16_t attrs; /* Type attribute (bitmap format). See #AsnDescAttr. */ 
    uint16_t limit; /* Custom upper limit (Different from protocol constraints, this value is manually specified.) */ 
    uint16_t nmem; /* Total number of members */ 
    uint8_t extNum; /* Number of extension members */ 
    AsnDescInfo i; /* information */ 
    size_t size; /* Size of members of this type */ 
    AsnDescMember m; /* Member list */ 
    void *trap; 
    AsnDescConstrains cstr; /* Constraints */ 
    AsnLocalTag localTag; /* Local tag information */ 
    AsnBuiltinType asn1type; 
    CodecAction enc; /* Encoding function */ 
    CodecAction dec; /* Decoding function */ 
} AsnDescriptor; 

Asn1EncodeBufStru

Encoding buffer structure.

typedef struct { 
    uint32_t bufLen; /* Buffer length in bytes */ 
    uint8_t *buf; /* Start address of the buffer */ 
    uint32_t bitIdx; /* Bit position of the cursor */ 
} Asn1EncodeBufStru; 

AsnCtx

typedef struct { 
    Asn1EncodeBufStru *buf; /* Encoding and decoding buffer */ 
    uint32_t ret; /* Return value */ 
    ... 
} AsnCtx;