diff options
Diffstat (limited to 'contrib/librdns/rdns.h')
-rw-r--r-- | contrib/librdns/rdns.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/librdns/rdns.h b/contrib/librdns/rdns.h index 82506d36a..ff8eadcc6 100644 --- a/contrib/librdns/rdns.h +++ b/contrib/librdns/rdns.h @@ -353,6 +353,13 @@ const char *rdns_strerror (enum dns_rcode rcode); const char *rdns_strtype (enum rdns_request_type type); /** + * Parse string and return request type + * @param str + * @return + */ +enum rdns_request_type rdns_type_fromstr (const char *str); + +/** * Increase refcount for a request * @param req * @return |