22 enum fio_opt_type type;
29 typedef int (str_cb_fn)(void *, char *);
31 extern int parse_option(const char *, struct fio_option *, void *);
32 extern int parse_cmd_option(const char *t, const char *l, struct fio_option *, void *);
34 extern void strip_blank_front(char **);
35 extern void strip_blank_end(char *);
38 * Handlers for the options
40 typedef int (fio_opt_str_fn)(void *, const char *);
41 typedef int (fio_opt_str_val_fn)(void *, unsigned long long *);
42 typedef int (fio_opt_int_fn)(void *, unsigned int *);
43 typedef int (fio_opt_str_set_fn)(void *);
45 #define td_var(start, offset) ((void *) start + (offset))