23#ifndef MUTT_KEY_DUMP_H
24#define MUTT_KEY_DUMP_H
46int binding_sort (
const void *a,
const void *b,
void *sdata);
51void gather_menu (
const struct MenuDefinition *md,
struct BindingInfoArray *bia_bind,
struct BindingInfoArray *bia_macro,
bool one_submenu);
#define ARRAY_HEAD(name, T)
Define a named struct for arrays of elements of a certain type.
int binding_sort(const void *a, const void *b, void *sdata)
Compare two BindingInfo by their keybinding - Implements sort_t -.
struct StringArray km_get_func_array(const struct MenuDefinition *md)
Get array of function names for a Menu.
void colon_macro(const struct MenuDefinition *md, FILE *fp)
Dump the macros.
int measure_column(struct BindingInfoArray *bia, int col)
Measure one column of a table.
void dump_bind_macro(const struct Command *cmd, const struct MenuDefinition *md, struct Buffer *buf, struct Buffer *err)
Dump a Menu's binds or macros to the Pager.
void gather_menu(const struct MenuDefinition *md, struct BindingInfoArray *bia_bind, struct BindingInfoArray *bia_macro, bool one_submenu)
Gather info about one menu.
void escape_macro(const char *macro, struct Buffer *buf)
Escape any special characters in a macro.
const char * help_lookup_function(const struct MenuDefinition *md, int op)
Find a keybinding for an operation.
int gather_unbound(const struct MenuDefinition *md, struct BindingInfoArray *bia_unbound)
Gather info about unbound functions for one menu.
int print_bind(const struct MenuDefinition *md, FILE *fp)
Display the bindings for one menu.
void colon_bind(const struct MenuDefinition *md, FILE *fp)
Dump the key bindings.
int print_macro(const struct MenuDefinition *md, FILE *fp)
Display the macros for one menu.
Convenience wrapper for the library headers.
Info about one keybinding.
const char * a[3]
Array of info.
int order
SubMenu sorting order.
String manipulation buffer.