Functions | |
const char * | getdns_get_version (void) |
uint32_t | getdns_get_version_number (void) |
const char * | getdns_get_api_version (void) |
uint32_t | getdns_get_api_version_number (void) |
Detailed Description
Function Documentation
◆ getdns_get_version()
const char* getdns_get_version | ( | void | ) |
Get the version number of this implementation.
- See also
- Version values
- Returns
- The version number as string. For example "1.7.0-rc.1".
◆ getdns_get_version_number()
uint32_t getdns_get_version_number | ( | void | ) |
Get the version number of this implementation as number.
- See also
- Version values
- Returns
- The version number as number. For example 0x010600C1.
- The most significant byte of this uint32_t is the Major version.
- The second most significant byte is the Minor version.
- The third most significant byte the Patch version.
◆ getdns_get_api_version()
const char* getdns_get_api_version | ( | void | ) |
Get the version of the getdns API specification this library implements as a string.
- See also
- Version values
- Returns
- The API specification version as string. For example "December 2015"
◆ getdns_get_api_version_number()
uint32_t getdns_get_api_version_number | ( | void | ) |
Get the version of the getdns API specification this library implements as a number.
- See also
- Version values
- Returns
- The API specification version as number. For example "0x07df0c00"
- The most significant 16 bits represent the year.
- The third most significant byte the day.