23 enum fio_opt_type type;
30 typedef int (str_cb_fn)(void *, char *);
32 extern int parse_option(const char *, struct fio_option *, void *);
33 extern int parse_cmd_option(const char *t, const char *l, struct fio_option *, void *);
35 extern void strip_blank_front(char **);
36 extern void strip_blank_end(char *);
39 * Handlers for the options
41 typedef int (fio_opt_str_fn)(void *, const char *);
42 typedef int (fio_opt_str_val_fn)(void *, unsigned long long *);
43 typedef int (fio_opt_int_fn)(void *, unsigned int *);
44 typedef int (fio_opt_str_set_fn)(void *);
46 #define td_var(start, offset) ((void *) start + (offset))