aboutsummaryrefslogtreecommitdiff
path: root/src/dns.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dns.h')
-rw-r--r--src/dns.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dns.h b/src/dns.h
index 9f66367..5d8096e 100644
--- a/src/dns.h
+++ b/src/dns.h
@@ -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 );