hw_detect replaces this old code
[project/ubox.git] / validate / libvalidate.h
index d3b8e05..145e08e 100644 (file)
@@ -1,6 +1,13 @@
 #ifndef _VALIDATE_H__
 #define _VALIDATE_H__
 
-bool dt_parse(const char *code, const char *value);
+enum dt_type {
+       DT_INVALID,
+       DT_BOOL,
+       DT_NUMBER,
+       DT_STRING
+};
+
+enum dt_type dt_parse(const char *code, const char *value);
 
 #endif