summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-09-16 00:42:22 +0100
committerVincent Sanders <vince@kyllikki.org>2016-09-16 00:42:22 +0100
commit07b6a101d52b5fd7e1cfdadce05ba40ac0ea46df (patch)
tree3da467d8d37a5c991bfb5222ee6791d60c336f47
parent955514e86565b95042c231f021c1d8b2af96e384 (diff)
downloadlibnspsl-07b6a101d52b5fd7e1cfdadce05ba40ac0ea46df.tar.gz
libnspsl-07b6a101d52b5fd7e1cfdadce05ba40ac0ea46df.tar.bz2
improve header doccomment
-rw-r--r--include/nspsl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/nspsl.h b/include/nspsl.h
index 2358167..02bcbb8 100644
--- a/include/nspsl.h
+++ b/include/nspsl.h
@@ -7,4 +7,11 @@
* http://www.opensource.org/licenses/mit-license.php
*/
+/**
+ * get the public suffix of a hostname
+ *
+ * \param hostname The name to check
+ * \return pointer to the public suffix of the hostname if it was valid else
+ * NULL.
+ */
const char *nspsl_getpublicsuffix(const char *hostname);