42#ifndef MUTT_DEBUG_LIB_H
43#define MUTT_DEBUG_LIB_H
70void dump_addr_list (
char *buf,
size_t buflen,
const struct AddressList *al,
const char *name);
77void dump_list_head (
const struct ListHead *list,
const char *name);
126extern int log_disp_debug (time_t stamp,
const char *file,
int line,
const char *function,
enum LogLevel level,
const char *format, ...);
148#ifdef USE_DEBUG_COLOR
Convenience wrapper for the core headers.
MailboxType
Supported mailbox formats.
const char * name_expando_pad_type(enum ExpandoPadType type)
Get the name of an expando padding type.
void dump_list_head(const struct ListHead *list, const char *name)
Dump a list of strings.
const char * name_expando_uid_history(int uid)
const char * name_expando_uid_pgp(int uid)
void dump_email(const struct Email *e)
Dump an email message.
const char * name_content_encoding(enum ContentEncoding enc)
Get the name of a content encoding.
const char * name_window_size(const struct MuttWindow *win)
Get the name of a window size.
const char * name_expando_uid_compress(int uid)
void dump_graphviz(const char *title, const struct MailboxView *mv)
Dump NeoMutt data structures to GraphViz format.
const char * name_expando_uid_compose(int uid)
void debug_win_dump(void)
Dump all windows to debug output.
const char * name_notify_global(int id)
Get the name of a global notification type.
const char * name_mailbox_type(enum MailboxType type)
Get the name of a mailbox type.
const char * name_expando_uid_pgp_key(int uid)
const char * name_menu_type(enum MenuType mt)
Get the name of a menu type.
const char * name_command_id(enum CommandId id)
Get the name of a Command id.
const char * name_expando_uid_mailbox(int uid)
const char * name_notify_type(enum NotifyType type)
Get the name of a notification type.
bool DebugLogLevel
Prefix log level, e.g. [E].
const char * name_expando_uid_autocrypt(int uid)
void dump_graphviz_expando_node(const struct ExpandoNode *node)
void dump_body_next(struct Buffer *buf, const struct Body *b)
Dump the body tree structure.
const char * name_expando_uid_folder(int uid)
void dump_menu_binds(bool brief)
Dump all menu bindings.
void dump_graphviz_attach_ctx(const struct AttachCtx *actx)
const char * name_expando_node_type(enum ExpandoNodeType type)
Get the name of an expando node type.
const char * name_expando_uid_sidebar(int uid)
void dump_attach(const struct AttachPtr *att)
Dump an attachment.
const char * name_window_type(const struct MuttWindow *win)
Get the name of a window type.
const char * name_expando_uid_pgp_cmd(int uid)
bool DebugLogColor
Output ANSI colours.
const char * name_notify_mview(int id)
Get the name of a mailbox view notification type.
void dump_param_list(const struct ParameterList *pl)
Dump a parameter list.
const char * name_notify_config(int id)
Get the name of a config notification type.
bool DebugLogTimestamp
Show the timestamp.
const char * name_expando_uid_attach(int uid)
const char * name_content_type(enum ContentType type)
Get the name of a content type.
const char * name_expando_uid_alias(int uid)
Get the name of an alias expando field.
const char * name_expando_uid_body(int uid)
void dump_envelope(const struct Envelope *env)
Dump an envelope.
const char * name_expando_uid_pattern(int uid)
static void dump_pager(struct PagerPrivateData *priv)
void dump_graphviz_email(const struct Email *e, const char *title)
const char * name_content_disposition(enum ContentDisposition disp)
Get the name of a content disposition.
int debug_all_observer(struct NotifyCallback *nc)
Debug observer for all notifications.
const char * name_expando_uid(enum ExpandoDomain did, int uid)
Get the name of an email expando field.
const char * name_expando_uid_envelope(int uid)
void dump_menu_funcs(bool brief)
Dump all menu functions.
void add_flag(struct Buffer *buf, bool is_set, const char *name)
Add a flag name to a buffer if set.
const char * name_expando_uid_pgp_key_gpgme(int uid)
void dump_body_one_line(const struct Body *b)
Dump body layout as a one-line summary.
const char * name_notify_mailbox(int id)
Get the name of a mailbox notification type.
const char * name_expando_uid_menu(int uid)
void dump_graphviz_body(const struct Body *b)
const char * name_expando_domain(enum ExpandoDomain did)
Get the name of an expando domain.
void show_backtrace(void)
Log the program's call stack.
const char * name_expando_uid_email(int uid)
const char * name_color_id(int cid)
Get the name of a color ID.
char body_name(const struct Body *b)
Get the first character of a body.
const char * name_expando_uid_all(int uid)
const char * name_expando_uid_index(int uid)
void dump_body(const struct Body *body)
Dump a message body.
const char * name_format_justify(enum FormatJustify just)
const char * name_expando_uid_global(int uid)
const char * name_expando_uid_nntp(int uid)
void dump_addr_list(char *buf, size_t buflen, const struct AddressList *al, const char *name)
Dump an address list.
const char * name_expando_uid_smime_cmd(int uid)
ExpandoDomain
Expando Data Domains.
Structs that make up an email.
int log_disp_debug(time_t stamp, const char *file, int line, const char *function, enum LogLevel level, const char *format,...)
Display a log line on screen - Implements log_dispatcher_t -.
LogLevel
Names for the Logging Levels.
ContentEncoding
Content-Transfer-Encoding.
ContentDisposition
Content-Disposition values.
Convenience wrapper for the library headers.
ExpandoNodeType
Type of Expando Node.
ExpandoPadType
Padding type.
NotifyType
Notification Types.
An email to which things will be attached.
String manipulation buffer.
The envelope/body of an email.
Data passed to a notification function.
MenuType
Types of GUI selections.