|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __BFT_BACKTRACE_H__
2 #define __BFT_BACKTRACE_H__
bft_backtrace_print_t * bft_backtrace_print_get(void)
Returns backtrace print function.
Definition: bft_backtrace.c:469
void() bft_backtrace_print_t(int start_depth)
Function pointer to backtrace print function.
Definition: bft_backtrace.h:56
void bft_backtrace_demangle(bft_backtrace_t *bt)
Demangle a backtrace description structure (for C++).
Definition: bft_backtrace.c:305
const char * bft_backtrace_function(bft_backtrace_t *bt, int depth)
Return function name associated with a backtrace at a given depth.
Definition: bft_backtrace.c:412
const char * bft_backtrace_address(bft_backtrace_t *bt, int depth)
Return address associated with a backtrace at a given depth.
Definition: bft_backtrace.c:435
#define END_C_DECLS
Definition: cs_defs.h:468
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
bft_backtrace_t * bft_backtrace_create(void)
Build a backtrace description structure.
Definition: bft_backtrace.c:123
bft_backtrace_t * bft_backtrace_destroy(bft_backtrace_t *bt)
Free a backtrace description structure.
Definition: bft_backtrace.c:267
struct _bft_backtrace_t bft_backtrace_t
Definition: bft_backtrace.h:52
void bft_backtrace_print_set(bft_backtrace_print_t *const fct)
Sets a backtrace print function.
Definition: bft_backtrace.c:481
void bft_backtrace_print(int start_depth)
Print a backtrace.
Definition: bft_backtrace.c:456
const char * bft_backtrace_file(bft_backtrace_t *bt, int depth)
Return file name associated with a backtrace at a given depth.
Definition: bft_backtrace.c:389
int bft_backtrace_size(const bft_backtrace_t *bt)
Return the depth of a backtrace.
Definition: bft_backtrace.c:374