1.2.1.13.5 TCPIP_HTTP_DYN_VAR_DCPT Structure

C

typedef struct {
    const char* dynName;
    const char* fileName;
    uint16_t callbackID;
    uint8_t dynFlags;
    uint8_t nArgs;
    TCPIP_HTTP_DYN_ARG_DCPT* dynArgs;
    const void* dynContext;
} TCPIP_HTTP_DYN_VAR_DCPT;

Description

Data structure: TCPIP_HTTP_DYN_VAR_DCPT

This data type defines the structure of a HTTP dynamic variable descriptor. When the user registers a template_DynPrint() function for dynamic variable processing, this callback will receive the dynamic variable descriptor as a parameter.

Members

MembersDescription
dynNameASCII string storing the dynamic variable name.
fileNameASCII string storing the file name the dynamic variable belongs to.
callbackIDCallback ID: the dynamic variable index within the file.
dynFlagsA TCPIP_HTTP_DYN_VAR_FLAGS value.
nArgsNumber of arguments that the variable has.
dynArgsArray of argument descriptors carrying the dynamic variable arguments.
dynContextDynamic context of the callback. This context is used by the HTTP server and is irrelevant to the user. Should NOT be modified in any way by the user.

Remarks

None.