typedef struct notmuch_opt_desc {
/* One and only one of opt_* must be set. */
const struct notmuch_opt_desc *opt_inherit;
typedef struct notmuch_opt_desc {
/* One and only one of opt_* must be set. */
const struct notmuch_opt_desc *opt_inherit;
- /* Optional, if non-NULL, set to TRUE if the option is present. */
- notmuch_bool_t *present;
+ /* Optional, if non-NULL, set to true if the option is present. */
+ bool *present;
int
parse_option (int argc, char **argv, const notmuch_opt_desc_t* options, int opt_index);
int
parse_option (int argc, char **argv, const notmuch_opt_desc_t* options, int opt_index);
parse_position_arg (const char *arg,
int position_arg_index,
const notmuch_opt_desc_t* options);
parse_position_arg (const char *arg,
int position_arg_index,
const notmuch_opt_desc_t* options);