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