diff options
author | Karel Zak | 2011-07-27 16:41:21 +0200 |
---|---|---|
committer | Karel Zak | 2011-07-27 16:41:21 +0200 |
commit | c87638ad3076f5e7e0c80067631561c356148b79 (patch) | |
tree | f6210cb005d910adee8dacf1a7b5bd398a74a1ce /include/strutils.h | |
parent | include; [tt.c] check for array size in columns parser (diff) | |
download | kernel-qcow2-util-linux-c87638ad3076f5e7e0c80067631561c356148b79.tar.gz kernel-qcow2-util-linux-c87638ad3076f5e7e0c80067631561c356148b79.tar.xz kernel-qcow2-util-linux-c87638ad3076f5e7e0c80067631561c356148b79.zip |
include: [strutils.c] add list parsers
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/strutils.h')
-rw-r--r-- | include/strutils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/strutils.h b/include/strutils.h index aa5ea7cc8..08ba09c01 100644 --- a/include/strutils.h +++ b/include/strutils.h @@ -39,4 +39,9 @@ enum extern char *size_to_human_string(int options, uint64_t bytes); +extern int string_to_idarray(const char *list, int ary[], size_t arysz, + int (name2id)(const char *, size_t)); +extern int string_to_bitarray(const char *list, char *ary, + int (*name2bit)(const char *, size_t)); + #endif |