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
Members | Description |
---|---|
CheckIPServer | Indicates an A (standard address) record. |
CheckIPPort | Indicates an MX (mail exchanger) record. |
UpdateServer | Indicates a quad-A (IPv6 address) address record. |
UpdatePort | Port on the above server to connect to. |
Username | The user name for the dynamic DNS server. |
Password | The password to supply when making updates. |
Host | The host name you wish to update. |
ROMPointers | Indicates which parameters to read from const instead of RAM. |
Remarks
None.