#include "define.h"
Include dependency graph for debug.c:
Go to the source code of this file.
Data Structures | |
struct | pst_debug_item |
struct | pst_debug_func |
Defines | |
#define | MAX_MESSAGE_SIZE 4096 |
#define | NUM_COL 30 |
Functions | |
void | pst_debug_write_msg (struct pst_debug_item *item, const char *fmt, va_list *ap, int size) |
void | pst_debug_write_hex (struct pst_debug_item *item, char *buf, size_t size, int col) |
void * | xmalloc (size_t size) |
size_t | pst_debug_fwrite (const void *ptr, size_t size, size_t nitems, FILE *stream) |
void | pst_debug (const char *fmt,...) |
void | pst_debug_hexdumper (FILE *out, char *buf, size_t size, int col, int delta) |
void | pst_debug_init (const char *fname) |
void | pst_debug_msg_info (int line, const char *file, int type) |
void | pst_debug_msg_text (const char *fmt,...) |
void | pst_debug_hexdump (char *x, size_t y, int cols, int delta) |
void | pst_debug_func (const char *function) |
void | pst_debug_func_ret () |
void | pst_debug_close (void) |
void | pst_debug_write () |
Variables | |
pst_debug_item * | item_head |
pst_debug_func * | func_head |
FILE * | debug_fp = NULL |
unsigned int | max_items = 0 curr_items=0 |
|
|
|
|
|
|
|
Definition at line 236 of file debug.c. References debug_fp, func_head, pst_debug_func::next, and pst_debug_write(). Referenced by pst_debug_init(). |
Here is the call graph for this function:
|
Definition at line 214 of file debug.c. References func_head, pst_debug_item::next, and xmalloc(). |
Here is the call graph for this function:
|
Definition at line 223 of file debug.c. References DIE, func_head, and pst_debug_func::next. |
|
Definition at line 23 of file debug.c. Referenced by pst_debug_init(), pst_debug_write(), pst_debug_write_hex(), and pst_debug_write_msg(). |
|
Definition at line 198 of file debug.c. References pst_debug_item::next, pst_debug_write(), and pst_debug_write_hex(). |
Here is the call graph for this function:
|
Definition at line 42 of file debug.c. Referenced by main(), and pst_debug_write_hex(). |
|
Definition at line 81 of file debug.c. References debug_fp, item_head, pst_debug_close(), pst_debug_fwrite(), and version(). |
Here is the call graph for this function:
|
Definition at line 97 of file debug.c. References pst_debug_item::file, func_head, pst_debug_item::function, pst_debug_item::line, pst_debug_func::name, pst_debug_item::next, pst_debug_item::type, and xmalloc(). |
Here is the call graph for this function:
|
Definition at line 116 of file debug.c. References item_head, pst_debug_item::next, pst_debug_write(), pst_debug_write_msg(), pst_debug_item::text, and xmalloc(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
Definition at line 396 of file debug.c. References debug_fp, pst_debug_file_rec_l::end, pst_debug_item::file, pst_debug_file_rec_l::filename, pst_debug_file_rec_l::funcname, pst_debug_item::function, pst_debug_item::line, pst_debug_file_rec_l::line, pst_debug_fwrite(), pst_debug_hexdumper(), pst_debug_file_rec_l::text, pst_debug_item::type, and pst_debug_file_rec_l::type. Referenced by pst_debug_hexdump(). |
Here is the call graph for this function:
|
Here is the call graph for this function:
|
|
|
Definition at line 77 of file debug.c. Referenced by pst_debug_close(), pst_debug_init(), pst_debug_write(), pst_debug_write_hex(), and pst_debug_write_msg(). |
|
Referenced by pst_debug_close(), pst_debug_func(), pst_debug_func_ret(), and pst_debug_msg_info(). |
|
Referenced by pst_debug_init(), pst_debug_msg_text(), and pst_debug_write(). |
|
|