summaryrefslogtreecommitdiff
path: root/include/nspsl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nspsl.h')
-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);