#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <gandalf/common/allocate.h>
#include <gandalf/common/gan_err_trace.h>
Functions | |
Gan_ErrorTrace * | gan_et_push (Gan_ErrorTrace *et_top, const char *func_name, int err_code, const char *file_name, int line_number, const char *message, int number) |
Pushes a new error recorded onto error trace. | |
int | gan_et_get_record_count (Gan_ErrorTrace *et_record) |
Counts number of records in trace from specified starting point. | |
Gan_ErrorTrace * | gan_et_get_record_next (Gan_ErrorTrace *et_record) |
Returns pointer to next non-spare error record after et_record. | |
Gan_ErrorTrace * | gan_et_get_record_first (Gan_ErrorTrace *et_record) |
Returns pointer to first non-spare error record from et_record. | |
Gan_ErrorTrace * | gan_et_flush_trace (Gan_ErrorTrace *a_record) |
Flush all errors in error trace. |
Part of: Gandalf Exception Handling