dpkg 1.21.11
Enumerations | Functions
debug.h File Reference

(74100d9d0)

#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.

Enumerations

enum  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
}
 

Functions

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