X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=parse.h;h=77450ef582403776ef32a93a645468f2e5b941b3;hb=bc0fe8b846bacd02bb5bf43d659086d293792bc3;hp=188281050b1138835dbdc212e688309e8098e8de;hpb=c229232543f2ca4c492ea32fe7ca6ee894e543a8;p=fio.git diff --git a/parse.h b/parse.h index 18828105..77450ef5 100644 --- a/parse.h +++ b/parse.h @@ -1,6 +1,7 @@ #ifndef FIO_PARSE_H #define FIO_PARSE_H +#include #include "flist.h" /* @@ -69,8 +70,8 @@ struct fio_option { int (*verify)(struct fio_option *, void *); const char *prof_name; /* only valid for specific profile */ void *prof_opts; - unsigned int category; /* what type of option */ - unsigned int group; /* who to group with */ + uint64_t category; /* what type of option */ + uint64_t group; /* who to group with */ void *gui_data; int is_seconds; /* time value with seconds base */ int is_time; /* time based value */ @@ -82,7 +83,7 @@ typedef int (str_cb_fn)(void *, char *); extern int parse_option(char *, const char *, struct fio_option *, struct fio_option **, void *, struct flist_head *); extern void sort_options(char **, struct fio_option *, int); -extern int parse_cmd_option(const char *t, const char *l, struct fio_option *, void *); +extern int parse_cmd_option(const char *t, const char *l, struct fio_option *, void *, struct flist_head *); extern int show_cmd_help(struct fio_option *, const char *); extern void fill_default_options(void *, struct fio_option *); extern void option_init(struct fio_option *);