22 va_list ap __maybe_unused)
42 helpline_fns->
push(msg);
49 if (vasprintf(&s, fmt, ap) < 0)
50 vfprintf(stderr, fmt, ap);
74 return helpline_fns->
show(fmt, ap);
static void nop_helpline__push(const char *msg __maybe_unused)
static struct ui_helpline default_helpline_fns
char ui_helpline__current[512]
void(* push)(const char *msg)
void ui_helpline__push(const char *msg)
static void nop_helpline__pop(void)
int(* show)(const char *fmt, va_list ap)
void ui_helpline__puts(const char *msg)
void ui_helpline__fpush(const char *fmt,...)
void ui_helpline__vpush(const char *fmt, va_list ap)
void ui_helpline__printf(const char *fmt,...)
static int nop_helpline__show(const char *fmt __maybe_unused, va_list ap __maybe_unused)
void ui_helpline__pop(void)
int ui_helpline__vshow(const char *fmt, va_list ap)
struct ui_helpline * helpline_fns