diff options
author | Mikhail Galanin <mgalanin@mimecast.com> | 2018-08-10 09:49:06 +0100 |
---|---|---|
committer | Mikhail Galanin <mgalanin@mimecast.com> | 2018-08-10 09:49:06 +0100 |
commit | cec578734c7ff3d9aa80dcd0c8df958a6099ac71 (patch) | |
tree | a534068a0284d1a521fdbb37d681aa95239915fe /contrib/librdns/rdns.h | |
parent | 6ecdf48de0f269be6924ec128fc8400cfba293a3 (diff) | |
download | rspamd-cec578734c7ff3d9aa80dcd0c8df958a6099ac71.tar.gz rspamd-cec578734c7ff3d9aa80dcd0c8df958a6099ac71.zip |
[Minor] Add record type into log when set up fake records
Diffstat (limited to 'contrib/librdns/rdns.h')
-rw-r--r-- | contrib/librdns/rdns.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/librdns/rdns.h b/contrib/librdns/rdns.h index 7ed35514f..4fa5a1521 100644 --- a/contrib/librdns/rdns.h +++ b/contrib/librdns/rdns.h @@ -392,6 +392,14 @@ const char *rdns_strtype (enum rdns_request_type type); enum rdns_request_type rdns_type_fromstr (const char *str); /** + * Returns string representing request type + * @param rcode + * @return + */ +const char * +str_from_rdns_type (enum rdns_request_type rcode); + +/** * Parse string and return error code * @param str * @return |