Convenience wrapper for the debug headers. More...
#include <stdbool.h>
#include <stddef.h>
#include <time.h>
#include "mutt/lib.h"
#include "email/lib.h"
#include "core/lib.h"
#include "expando/lib.h"
#include "menu/lib.h"
Go to the source code of this file.
Functions | |
void | add_flag (struct Buffer *buf, bool is_set, const char *name) |
void | show_backtrace (void) |
Log the program's call stack. | |
char | body_name (const struct Body *b) |
void | dump_addr_list (char *buf, size_t buflen, const struct AddressList *al, const char *name) |
void | dump_attach (const struct AttachPtr *att) |
void | dump_body (const struct Body *body) |
void | dump_body_next (struct Buffer *buf, const struct Body *b) |
void | dump_body_one_line (const struct Body *b) |
void | dump_email (const struct Email *e) |
void | dump_envelope (const struct Envelope *env) |
void | dump_list_head (const struct ListHead *list, const char *name) |
void | dump_param_list (const struct ParameterList *pl) |
const char * | name_expando_domain (enum ExpandoDomain did) |
const char * | name_expando_node_type (enum ExpandoNodeType type) |
const char * | name_expando_pad_type (enum ExpandoPadType type) |
const char * | name_expando_uid (enum ExpandoDomain did, int uid) |
const char * | name_expando_uid_alias (int uid) |
const char * | name_expando_uid_all (int uid) |
const char * | name_expando_uid_attach (int uid) |
const char * | name_expando_uid_autocrypt (int uid) |
const char * | name_expando_uid_body (int uid) |
const char * | name_expando_uid_compose (int uid) |
const char * | name_expando_uid_compress (int uid) |
const char * | name_expando_uid_email (int uid) |
const char * | name_expando_uid_envelope (int uid) |
const char * | name_expando_uid_folder (int uid) |
const char * | name_expando_uid_global (int uid) |
const char * | name_expando_uid_history (int uid) |
const char * | name_expando_uid_index (int uid) |
const char * | name_expando_uid_mailbox (int uid) |
const char * | name_expando_uid_menu (int uid) |
const char * | name_expando_uid_nntp (int uid) |
const char * | name_expando_uid_pattern (int uid) |
const char * | name_expando_uid_pgp (int uid) |
const char * | name_expando_uid_pgp_cmd (int uid) |
const char * | name_expando_uid_pgp_key (int uid) |
const char * | name_expando_uid_pgp_key_gpgme (int uid) |
const char * | name_expando_uid_sidebar (int uid) |
const char * | name_expando_uid_smime_cmd (int uid) |
const char * | name_format_justify (enum FormatJustify just) |
void | dump_graphviz (const char *title, struct MailboxView *mv) |
void | dump_graphviz_attach_ctx (struct AttachCtx *actx) |
void | dump_graphviz_body (struct Body *b) |
void | dump_graphviz_email (struct Email *e, const char *title) |
void | dump_graphviz_expando_node (struct ExpandoNode *node) |
void | dump_keybindings (void) |
Dump all the keybindings to the log. | |
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 -. | |
const char * | name_content_disposition (enum ContentDisposition disp) |
const char * | name_content_encoding (enum ContentEncoding enc) |
const char * | name_content_type (enum ContentType type) |
const char * | name_mailbox_type (enum MailboxType type) |
const char * | name_menu_type (enum MenuType mt) |
const char * | name_notify_config (int id) |
const char * | name_notify_global (int id) |
const char * | name_notify_mailbox (int id) |
const char * | name_notify_mview (int id) |
const char * | name_notify_type (enum NotifyType type) |
const char * | name_window_size (const struct MuttWindow *win) |
const char * | name_window_type (const struct MuttWindow *win) |
int | debug_all_observer (struct NotifyCallback *nc) |
void | dump_pager (struct PagerPrivateData *priv) |
void | debug_win_dump (void) |
Variables | |
bool | DebugLogColor |
Output ANSI colours. | |
bool | DebugLogLevel |
Prefix log level, e.g. [E]. | |
bool | DebugLogTimestamp |
Show the timestamp. | |
Convenience wrapper for the debug headers.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file lib.h.
void add_flag | ( | struct Buffer * | buf, |
bool | is_set, | ||
const char * | name | ||
) |
Definition at line 34 of file common.c.
void show_backtrace | ( | void | ) |
Log the program's call stack.
Definition at line 39 of file backtrace.c.
char body_name | ( | const struct Body * | b | ) |
Definition at line 372 of file email.c.
void dump_addr_list | ( | char * | buf, |
size_t | buflen, | ||
const struct AddressList * | al, | ||
const char * | name | ||
) |
Definition at line 40 of file email.c.
void dump_attach | ( | const struct AttachPtr * | att | ) |
Definition at line 344 of file email.c.
void dump_body | ( | const struct Body * | body | ) |
Definition at line 261 of file email.c.
Definition at line 395 of file email.c.
void dump_body_one_line | ( | const struct Body * | b | ) |
Definition at line 411 of file email.c.
void dump_email | ( | const struct Email * | e | ) |
Definition at line 147 of file email.c.
void dump_envelope | ( | const struct Envelope * | env | ) |
Definition at line 77 of file email.c.
void dump_list_head | ( | const struct ListHead * | list, |
const char * | name | ||
) |
Definition at line 56 of file email.c.
void dump_param_list | ( | const struct ParameterList * | pl | ) |
Definition at line 238 of file email.c.
const char * name_expando_domain | ( | enum ExpandoDomain | did | ) |
Definition at line 90 of file names_expando.c.
const char * name_expando_node_type | ( | enum ExpandoNodeType | type | ) |
Definition at line 64 of file names_expando.c.
const char * name_expando_pad_type | ( | enum ExpandoPadType | type | ) |
Definition at line 79 of file names_expando.c.
const char * name_expando_uid | ( | enum ExpandoDomain | did, |
int | uid | ||
) |
Definition at line 470 of file names_expando.c.
const char * name_expando_uid_alias | ( | int | uid | ) |
Definition at line 119 of file names_expando.c.
const char * name_expando_uid_all | ( | int | uid | ) |
const char * name_expando_uid_attach | ( | int | uid | ) |
Definition at line 134 of file names_expando.c.
const char * name_expando_uid_autocrypt | ( | int | uid | ) |
Definition at line 146 of file names_expando.c.
const char * name_expando_uid_body | ( | int | uid | ) |
Definition at line 160 of file names_expando.c.
const char * name_expando_uid_compose | ( | int | uid | ) |
Definition at line 182 of file names_expando.c.
const char * name_expando_uid_compress | ( | int | uid | ) |
Definition at line 192 of file names_expando.c.
const char * name_expando_uid_email | ( | int | uid | ) |
Definition at line 202 of file names_expando.c.
const char * name_expando_uid_envelope | ( | int | uid | ) |
Definition at line 235 of file names_expando.c.
const char * name_expando_uid_folder | ( | int | uid | ) |
Definition at line 268 of file names_expando.c.
const char * name_expando_uid_global | ( | int | uid | ) |
Definition at line 297 of file names_expando.c.
const char * name_expando_uid_history | ( | int | uid | ) |
Definition at line 310 of file names_expando.c.
const char * name_expando_uid_index | ( | int | uid | ) |
Definition at line 320 of file names_expando.c.
const char * name_expando_uid_mailbox | ( | int | uid | ) |
Definition at line 344 of file names_expando.c.
const char * name_expando_uid_menu | ( | int | uid | ) |
Definition at line 355 of file names_expando.c.
const char * name_expando_uid_nntp | ( | int | uid | ) |
Definition at line 363 of file names_expando.c.
const char * name_expando_uid_pattern | ( | int | uid | ) |
Definition at line 377 of file names_expando.c.
const char * name_expando_uid_pgp | ( | int | uid | ) |
Definition at line 388 of file names_expando.c.
const char * name_expando_uid_pgp_cmd | ( | int | uid | ) |
Definition at line 399 of file names_expando.c.
const char * name_expando_uid_pgp_key | ( | int | uid | ) |
Definition at line 412 of file names_expando.c.
const char * name_expando_uid_pgp_key_gpgme | ( | int | uid | ) |
const char * name_expando_uid_sidebar | ( | int | uid | ) |
Definition at line 431 of file names_expando.c.
const char * name_expando_uid_smime_cmd | ( | int | uid | ) |
Definition at line 454 of file names_expando.c.
const char * name_format_justify | ( | enum FormatJustify | just | ) |
Definition at line 524 of file names_expando.c.
void dump_graphviz | ( | const char * | title, |
struct MailboxView * | mv | ||
) |
Definition at line 897 of file graphviz.c.
void dump_graphviz_attach_ctx | ( | struct AttachCtx * | actx | ) |
Definition at line 1591 of file graphviz.c.
void dump_graphviz_body | ( | struct Body * | b | ) |
Definition at line 1401 of file graphviz.c.
void dump_graphviz_email | ( | struct Email * | e, |
const char * | title | ||
) |
Definition at line 1423 of file graphviz.c.
void dump_graphviz_expando_node | ( | struct ExpandoNode * | node | ) |
Definition at line 2032 of file graphviz.c.
void dump_keybindings | ( | void | ) |
Dump all the keybindings to the log.
Definition at line 145 of file keymap.c.
const char * name_content_disposition | ( | enum ContentDisposition | disp | ) |
Definition at line 80 of file names.c.
const char * name_content_encoding | ( | enum ContentEncoding | enc | ) |
Definition at line 65 of file names.c.
const char * name_content_type | ( | enum ContentType | type | ) |
Definition at line 47 of file names.c.
const char * name_mailbox_type | ( | enum MailboxType | type | ) |
Definition at line 123 of file names.c.
const char * name_menu_type | ( | enum MenuType | mt | ) |
Definition at line 143 of file names.c.
const char * name_notify_config | ( | int | id | ) |
Definition at line 182 of file names.c.
const char * name_notify_global | ( | int | id | ) |
Definition at line 171 of file names.c.
const char * name_notify_mailbox | ( | int | id | ) |
Definition at line 193 of file names.c.
const char * name_notify_mview | ( | int | id | ) |
Definition at line 209 of file names.c.
const char * name_notify_type | ( | enum NotifyType | type | ) |
Definition at line 92 of file names.c.
const char * name_window_size | ( | const struct MuttWindow * | win | ) |
Definition at line 257 of file names.c.
const char * name_window_type | ( | const struct MuttWindow * | win | ) |
Definition at line 220 of file names.c.
int debug_all_observer | ( | struct NotifyCallback * | nc | ) |
Definition at line 205 of file notify.c.
void dump_pager | ( | struct PagerPrivateData * | priv | ) |
Definition at line 101 of file pager.c.
void debug_win_dump | ( | void | ) |
Definition at line 96 of file window.c.