version 1.67, 2009/08/03 14:10:54 |
version 1.68, 2009/08/04 18:45:57 |
|
|
|
|
/* options-cmd.c */ |
/* options-cmd.c */ |
void set_option_string(struct cmd_ctx *, |
void set_option_string(struct cmd_ctx *, |
struct options *, const struct set_option_entry *, char *); |
struct options *, const struct set_option_entry *, char *, int); |
void set_option_number(struct cmd_ctx *, |
void set_option_number(struct cmd_ctx *, |
struct options *, const struct set_option_entry *, char *); |
struct options *, const struct set_option_entry *, char *); |
void set_option_key(struct cmd_ctx *, |
void set_option_key(struct cmd_ctx *, |
|
|
int cmd_buffer_parse(struct cmd *, int, char **, char **); |
int cmd_buffer_parse(struct cmd *, int, char **, char **); |
void cmd_buffer_free(struct cmd *); |
void cmd_buffer_free(struct cmd *); |
size_t cmd_buffer_print(struct cmd *, char *, size_t); |
size_t cmd_buffer_print(struct cmd *, char *, size_t); |
#define CMD_OPTION_PANE_USAGE "[-gu] [-t target-pane] option [value]" |
#define CMD_OPTION_PANE_USAGE "[-t target-pane] option [value]" |
#define CMD_OPTION_WINDOW_USAGE "[-gu] [-t target-window] option [value]" |
#define CMD_OPTION_WINDOW_USAGE "[-t target-window] option [value]" |
#define CMD_OPTION_SESSION_USAGE "[-gu] [-t target-session] option [value]" |
#define CMD_OPTION_SESSION_USAGE "[-t target-session] option [value]" |
#define CMD_OPTION_CLIENT_USAGE "[-gu] [-t target-client] option [value]" |
#define CMD_OPTION_CLIENT_USAGE "[-t target-client] option [value]" |
void cmd_option_init(struct cmd *, int); |
void cmd_option_init(struct cmd *, int); |
int cmd_option_parse(struct cmd *, int, char **, char **); |
int cmd_option_parse(struct cmd *, int, char **, char **); |
void cmd_option_free(struct cmd *); |
void cmd_option_free(struct cmd *); |