aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r--src/include/ndpi_api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h
index fd1f5bb83..a459f63f6 100644
--- a/src/include/ndpi_api.h
+++ b/src/include/ndpi_api.h
@@ -33,6 +33,14 @@ extern "C" {
#endif
/**
+ * This function check if a string is encoded with punycode
+
+ * ( https://tools.ietf.org/html/rfc3492 )
+ * @return 1 if the string is punycoded; else 0
+ */
+ int check_punycode_string(char * buff , int len);
+
+ /**
* This function returns the size of the flow struct
* @return the size of the flow struct
*/