version 1.482, 2014/11/30 08:03:29 |
version 1.483, 2014/12/02 23:19:45 |
|
|
const char *style; |
const char *style; |
}; |
}; |
|
|
/* Tree of format entries. */ |
|
struct format_entry { |
|
char *key; |
|
char *value; |
|
|
|
RB_ENTRY(format_entry) entry; |
|
}; |
|
RB_HEAD(format_tree, format_entry); |
|
|
|
/* Common command usages. */ |
/* Common command usages. */ |
#define CMD_TARGET_PANE_USAGE "[-t target-pane]" |
#define CMD_TARGET_PANE_USAGE "[-t target-pane]" |
#define CMD_TARGET_WINDOW_USAGE "[-t target-window]" |
#define CMD_TARGET_WINDOW_USAGE "[-t target-window]" |
|
|
void cfg_show_causes(struct session *); |
void cfg_show_causes(struct session *); |
|
|
/* format.c */ |
/* format.c */ |
int format_cmp(struct format_entry *, struct format_entry *); |
struct format_tree; |
RB_PROTOTYPE(format_tree, format_entry, entry, format_cmp); |
|
struct format_tree *format_create(void); |
struct format_tree *format_create(void); |
void format_free(struct format_tree *); |
void format_free(struct format_tree *); |
void printflike(3, 4) format_add(struct format_tree *, const char *, |
void printflike(3, 4) format_add(struct format_tree *, const char *, |