Jump to main content

##

# 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

Members | Description
--- | ---
dynName | ASCII string storing the dynamic variable name.
fileName | ASCII string storing the file name the dynamic variable belongs to.
callbackID | Callback ID: the dynamic variable index within the file.
dynFlags | A TCPIP_HTTP_DYN_VAR_FLAGS value.
nArgs | Number of arguments that the variable has.
dynArgs | Array of argument descriptors carrying the dynamic variable arguments.
dynContext | Dynamic 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.