2 * help.h, heavily based on filters.h
3 * (c) 2006, <ft@bewatermyfriend.org>
16 struct list_head node
;
18 HE_TEXT
, /* text entries */
19 HE_BOUND
, /* bound keys */
20 HE_UNBOUND
, /* unbound commands */
24 const char *text
; /* HE_TEXT */
25 const struct binding
*binding
; /* HE_BOUND */
26 const struct command
*command
; /* HE_UNBOUND */
27 const struct cmus_opt
*option
;
31 static inline struct help_entry
*iter_to_help_entry(struct iter
*iter
)
36 extern struct window
*help_win
;
37 extern struct searchable
*help_searchable
;
39 void help_select(void);
40 void help_toggle(void);
41 void help_remove(void);
43 void help_add_bound(const struct binding
*bind
);
44 void help_remove_bound(const struct binding
*bind
);
45 void help_remove_unbound(struct command
*cmd
);
46 void help_add_unbound(struct command
*cmd
);
47 void help_add_all_unbound(void);