DDNS_POINTERS Structure

C

typedef struct {
union {
    uint8_t * szRAM;
    const uint8_t * szROM;
} CheckIPServer;
uint16_t CheckIPPort;
union {
    uint8_t * szRAM;
    const uint8_t * szROM;
} UpdateServer;
uint16_t UpdatePort;
union {
    uint8_t * szRAM;
    const uint8_t * szROM;
} Username;
union {
    uint8_t * szRAM;
    const uint8_t * szROM;
} Password;
union {
    uint8_t * szRAM;
    const uint8_t * szROM;
} Host;
struct {
    unsigned char CheckIPServer : 1;
    unsigned char UpdateServer : 1;
    unsigned char Username : 1;
    unsigned char Password : 1;
    unsigned char Host : 1;
} ROMPointers;
} DDNS_POINTERS;

Description

This structure of pointers configures the Dynamic DNS Client. Initially, all pointers will be null and the client will be disabled. Set DDNSClient..szRAM to use a string stored in RAM, or DDNSClient..szROM to use a string stored in const. Where, , is one of the following parameters.

If a const string is specified, DDNSClient.ROMPointers. must also be set to 1 to indicate that this field should be retrieved from const instead of RAM.

Members

MembersDescription
CheckIPServerIndicates an A (standard address) record.
CheckIPPortIndicates an MX (mail exchanger) record.
UpdateServerIndicates a quad-A (IPv6 address) address record.
UpdatePortPort on the above server to connect to.
UsernameThe user name for the dynamic DNS server.
PasswordThe password to supply when making updates.
HostThe host name you wish to update.
ROMPointersIndicates which parameters to read from const instead of RAM.

Remarks

None.