2
0
mirror of https://github.com/openvswitch/ovs synced 2025-10-13 14:07:02 +00:00

util: Add function hexits_value() for parsing multiple hex digits.

Suggested-by: Justin Pettit <jpettit@nicira.com>
This commit is contained in:
Ben Pfaff
2010-11-15 10:18:10 -08:00
parent 96fc46e8fd
commit bf9712678f
8 changed files with 84 additions and 44 deletions

View File

@@ -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);