summaryrefslogtreecommitdiffstats
path: root/libvalidate.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-11 15:54:29 +0100
committerJohn Crispin <blogic@openwrt.org>2013-11-12 10:32:32 +0100
commitcd4af8eb78c30718f999c487c93e257bbd969cb1 (patch)
tree4efeb2684dbe11b153ed168198d31c6208744f95 /libvalidate.h
parent582c88fdb55e01f3814e9c09a860651ed51a659d (diff)
downloadunitd-cd4af8eb78c30718f999c487c93e257bbd969cb1.tar
unitd-cd4af8eb78c30718f999c487c93e257bbd969cb1.zip
add data type validator
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'libvalidate.h')
-rw-r--r--libvalidate.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libvalidate.h b/libvalidate.h
new file mode 100644
index 0000000..d3b8e05
--- /dev/null
+++ b/libvalidate.h
@@ -0,0 +1,6 @@
+#ifndef _VALIDATE_H__
+#define _VALIDATE_H__
+
+bool dt_parse(const char *code, const char *value);
+
+#endif