Searched refs:longstr (Results 1 - 2 of 2) sorted by path

/freebsd-11-stable/contrib/ldns/ldns/
H A Dstr2host.h52 * \param[in] longstr the string to be converted
55 ldns_status ldns_str2rdf_int32(ldns_rdf **rd, const char *longstr);
/freebsd-11-stable/contrib/ldns/
H A Dstr2host.c197 ldns_str2rdf_int32(ldns_rdf **rd, const char *longstr) argument
207 if(*longstr == '-')
208 l = htonl((uint32_t)strtol((char*)longstr, &end, 10));
209 else l = htonl((uint32_t)strtoul((char*)longstr, &end, 10));

Completed in 125 milliseconds