diff options
author | Ben Pfaff <blp@nicira.com> | 2010-11-15 10:18:10 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-11-15 10:18:10 -0800 |
commit | bf9712678fc9ec85bf2ac54407e16d76aa22e7b6 (patch) | |
tree | 2052e512f4606aad7ec50bea03ccf33118e0b44a /lib/util.h | |
parent | 96fc46e8fdafd6467906e11e0fb493e2b78f2fb5 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |