#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 | pst_debug_write () |
| 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_malloc (size_t size) |
Variables | |
| pst_debug_item * | item_head = NULL *item_tail=NULL *item_ptr=NULL *info_ptr=NULL *temp_list=NULL |
| pst_debug_func * | func_head = NULL *func_ptr=NULL |
| FILE * | debug_fp = NULL |
| unsigned int | max_items = 0 curr_items=0 |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
Definition at line 242 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 220 of file debug.c. References func_head, pst_debug_item::next, and pst_malloc(). |
Here is the call graph for this function:

|
|
Definition at line 229 of file debug.c. References DIE, func_head, and pst_debug_func::next. |
|
||||||||||||||||||||
|
Definition at line 29 of file debug.c. Referenced by pst_debug_init(), pst_debug_write(), pst_debug_write_hex(), and pst_debug_write_msg(). |
|
||||||||||||||||||||
|
Definition at line 204 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 48 of file debug.c. Referenced by dumper(), main(), and pst_debug_write_hex(). |
|
|
Definition at line 87 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 103 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_malloc(), and pst_debug_item::type. |
Here is the call graph for this function:

|
||||||||||||
|
Definition at line 122 of file debug.c. References item_head, pst_debug_item::next, pst_debug_write(), pst_debug_write_msg(), pst_malloc(), and pst_debug_item::text. |
Here is the call graph for this function:

|
Here is the call graph for this function:

|
||||||||||||||||||||
|
Definition at line 402 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 83 of file debug.c. Referenced by pst_debug_close(), pst_debug_init(), pst_debug_write(), pst_debug_write_hex(), and pst_debug_write_msg(). |
|
|
Definition at line 20 of file debug.c. Referenced by pst_debug_close(), pst_debug_func(), pst_debug_func_ret(), and pst_debug_msg_info(). |
|
|
Definition at line 12 of file debug.c. Referenced by pst_debug_init(), pst_debug_msg_text(), and pst_debug_write(). |
|
|
|
1.3.9.1