File: debug.h

package info (click to toggle)
acorn-fdisk 3.0.6-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,068 kB
  • sloc: ansic: 5,422; makefile: 99
file content (32 lines) | stat: -rw-r--r-- 812 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * lib/debug.h
 *
 * Copyright (C) 1997,1998 Russell King
 */
#ifndef LIB_DEBUG_H
#define LIB_DEBUG_H

/* Function: void dbg_level_up (void)
 * Purpose : increase the indentation level of debugs
 */
extern void dbg_level_up (void);

/* Function: void dbg_level_up (void)
 * Purpose : decrease the indentation level of debugs
 */
extern void dbg_level_down (void);

/* Function: void dbg_printf (const char *fmt, ...)
 * Purpose : write some debugging information
 * Params  : fmt - printf-like format string
 */
extern void dbg_printf (const char *fmt, ...);

/* Function: void dbg_memdump (void *data, int length)
 * Purpose : dump out a block of memory
 * Params  : data   - start of memory to dump
 *         : length - number of bytes to dump
 */
extern void dbg_memdump (void *data, int length);

#endif