diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2019-11-30 12:29:12 +0100 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2019-11-30 12:29:12 +0100 |
commit | 3efdb35480dd6fa656d0728cab5c8dc76eaba24c (patch) | |
tree | 77ba48da71c22eba4fd47310e05a313cf6e68583 /src/dns.h | |
parent | 9a8214e0304a1dffe0a321d96d01045cfc34c8e8 (diff) | |
download | dns-3efdb35480dd6fa656d0728cab5c8dc76eaba24c.tar.gz |
added qname_to_fqdn(), working
Diffstat (limited to 'src/dns.h')
-rw-r--r-- | src/dns.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -12,6 +12,8 @@ int fqdn_to_qname( char* _source, int _sourcelen, char* _sink, int _sinklen ); /** - * Opposite of fqdn_to_qname() + * Convert a QNAME back to a FQDN, reversing fqdn_to_qname( ) + * returns: length of string in _sink, < 0 on failure + * _sink may still be altered in failed attempts, but not terminated. * */ int qname_to_fqdn( char* _source, int _sourcelen, char* _sink, int _sinklen ); |