#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <lalapps.h>#include <lal/LALMalloc.h>#include <lal/LALStatusMacros.h>Include dependency graph for lalapps.c:

Go to the source code of this file.
Defines | |
| #define | FAILMSG(stat, func, file, line, id) |
Functions | |
| int | LAL_ERR_EXIT (LALStatus *stat, const char *func, const char *file, const int line, volatile const char *id) |
| int | LAL_ERR_ABRT (LALStatus *stat, const char *func, const char *file, const int line, volatile const char *id) |
| int | LAL_ERR_RTRN (LALStatus *stat, const char *func, const char *file, const int line, volatile const char *id) |
| int | clear_status (LALStatus *stat) |
| int | set_debug_level (const char *s) |
Variables | |
| const LALStatus | blank_status |
| int | lalDebugLevel = 0 |
| DECLARE AND SET GLOBAL DEBUG LEVEL. | |
| int | vrbflg = 0 |
| defined in lalapps.c | |
| lal_errhandler_t | lal_errhandler = LAL_ERR_DFLT |
| #define FAILMSG | ( | stat, | |||
| func, | |||||
| file, | |||||
| line, | |||||
| id | ) |
Value:
do { if ( lalDebugLevel & LALERROR ) { LALPrintError( "Error[0]: file %s, line %d, %s\n" "\tLAL_CALL: Function call `%s' failed.\n", file, line, id, func ); } if ( vrbflg ) { fprintf(stderr,"Level 0: %s\n\tFunction call `%s' failed.\n" "\tfile %s, line %d\n", id, func, file, line ); REPORTSTATUS( stat ); } } while( 0 )
| int LAL_ERR_EXIT | ( | LALStatus * | stat, | |
| const char * | func, | |||
| const char * | file, | |||
| const int | line, | |||
| volatile const char * | id | |||
| ) |
| int LAL_ERR_ABRT | ( | LALStatus * | stat, | |
| const char * | func, | |||
| const char * | file, | |||
| const int | line, | |||
| volatile const char * | id | |||
| ) |
| int LAL_ERR_RTRN | ( | LALStatus * | stat, | |
| const char * | func, | |||
| const char * | file, | |||
| const int | line, | |||
| volatile const char * | id | |||
| ) |
| const LALStatus blank_status |
| int lalDebugLevel = 0 |
| int vrbflg = 0 |
| lal_errhandler_t lal_errhandler = LAL_ERR_DFLT |
1.5.2