dpkg 1.22.7-3-g89f48
Loading...
Searching...
No Matches
Functions | Variables
debug.h File Reference

(b95c96c27)

#include <dpkg/macros.h>
#include <stdbool.h>
#include <stdio.h>
Include dependency graph for debug.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void dpkg_debug_init (void)
 Initialize the debugging support.
 
void debug_set_output (FILE *output, const char *filename)
 Set the debugging output file.
 
void debug_set_mask (int mask)
 Set the debugging mask.
 
int debug_parse_mask (const char *str)
 Parse the debugging mask.
 
bool debug_has_flag (int flag)
 Check if a debugging flag is currently set on the debugging mask.
 
void debug (int flag, const char *fmt,...) DPKG_ATTR_PRINTF(2)
 Output a debugging message.
 

Variables

enum DPKG_ATTR_ENUM_FLAGS debugflags
 
 dbg_general = 01
 
 dbg_scripts = 02
 
 dbg_eachfile = 010
 
 dbg_eachfiledetail = 0100
 
 dbg_conff = 020
 
 dbg_conffdetail = 0200
 
 dbg_depcon = 040
 
 dbg_depcondetail = 0400
 
 dbg_veryverbose = 01000
 
 dbg_stupidlyverbose = 02000
 
 dbg_triggers = 010000
 
 dbg_triggersdetail = 020000
 
 dbg_triggersstupid = 040000
 

Variable Documentation

◆ dbg_conff

dbg_conff = 020

◆ dbg_conffdetail

dbg_conffdetail = 0200

◆ dbg_depcon

dbg_depcon = 040

◆ dbg_depcondetail

dbg_depcondetail = 0400

Referenced by breakses_ok(), and dependencies_ok().

◆ dbg_eachfile

dbg_eachfile = 010

◆ dbg_eachfiledetail

dbg_eachfiledetail = 0100

◆ dbg_general

dbg_general = 01

◆ dbg_scripts

dbg_scripts = 02

◆ dbg_stupidlyverbose

dbg_stupidlyverbose = 02000

Referenced by pkg_infodb_foreach().

◆ dbg_triggers

dbg_triggers = 010000

Referenced by trigproc(), and trigproc_run_deferred().

◆ dbg_triggersdetail

dbg_triggersdetail = 020000

◆ dbg_triggersstupid

dbg_triggersstupid = 040000

◆ dbg_veryverbose

dbg_veryverbose = 01000