If you are not redirected automatically, follow this link to getdns_return_t getdns_str2int(const char *str, uint32_t *value).