aboutsummaryrefslogtreecommitdiff
path: root/lib/util.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-11-15 10:18:10 -0800
committerBen Pfaff <blp@nicira.com>2010-11-15 10:18:10 -0800
commitbf9712678fc9ec85bf2ac54407e16d76aa22e7b6 (patch)
tree2052e512f4606aad7ec50bea03ccf33118e0b44a /lib/util.h
parent96fc46e8fdafd6467906e11e0fb493e2b78f2fb5 (diff)
util: Add function hexits_value() for parsing multiple hex digits.
Suggested-by: Justin Pettit <jpettit@nicira.com>
Diffstat (limited to 'lib/util.h')
-rw-r--r--lib/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/util.h b/lib/util.h
index 6bc17404..703b93cf 100644
--- a/lib/util.h
+++ b/lib/util.h
@@ -132,6 +132,7 @@ bool str_to_ullong(const char *, int base, unsigned long long *);
bool str_to_double(const char *, double *);
int hexit_value(int c);
+unsigned int hexits_value(const char *s, size_t n, bool *ok);
char *get_cwd(void);
char *dir_name(const char *file_name);