projects
/
oweals
/
ubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: add more diagnostic messages
[oweals/ubox.git]
/
validate
/
libvalidate.h
diff --git
a/validate/libvalidate.h
b/validate/libvalidate.h
index d3b8e05cc00f7640ae60cae79dc9bc33e1c68cf0..145e08e3c7ac77f13fba3a28df77917c621f0773 100644
(file)
--- a/
validate/libvalidate.h
+++ b/
validate/libvalidate.h
@@
-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