LALError.c File Reference

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
#include <signal.h>
#include <lal/LALMalloc.h>
#include <lal/LALError.h>

Include dependency graph for LALError.c:

Go to the source code of this file.

Functions

 NRCSID (LALERRORC,"$Id: LALError.c,v 1.4 2007/07/25 09:58:40 bema Exp $")
int LALPrintError (const char *fmt,...)
int LALRaise (int sig, const char *fmt,...)
void LALAbort (const char *fmt,...)
int LALError (LALStatus *status, const char *statement)
int LALWarning (LALStatus *status, const char *warning)
int LALInfo (LALStatus *status, const char *info)
int LALTrace (LALStatus *status, int exitflg)
int LALInitStatus (LALStatus *status, const char *function, const char *id, const char *file, const int line)
int LALPrepareReturn (LALStatus *status, const char *file, const int line)
int LALAttatchStatusPtr (LALStatus *status, const char *file, const int line)
int LALDetatchStatusPtr (LALStatus *status, const char *file, const int line)
int LALPrepareAbort (LALStatus *status, const INT4 code, const char *mesg, const char *file, const int line)
int LALPrepareAssertFail (LALStatus *status, const INT4 code, const char *mesg, const char *statement, const char *file, const int line)
int LALCheckStatusPtr (LALStatus *status, const char *statement, const char *file, const int line)
void FREESTATUSPTR (LALStatus *status)
void REPORTSTATUS (LALStatus *status)

Variables

int lalDebugLevel
 DECLARE AND SET GLOBAL DEBUG LEVEL.
int(*) lalRaiseHook (int, const char *,...) = LALRaise
void(*) lalAbortHook (const char *,...) = LALAbort


Function Documentation

NRCSID ( LALERRORC  ,
"$Id: LALError.  c,
v 1.4 2007/07/25 09:58:40 bema Exp $"   
)

int LALPrintError ( const char *  fmt,
  ... 
)

Definition at line 214 of file LALError.c.

int LALRaise ( int  sig,
const char *  fmt,
  ... 
)

Definition at line 227 of file LALError.c.

void LALAbort ( const char *  fmt,
  ... 
)

Definition at line 239 of file LALError.c.

int LALError ( LALStatus status,
const char *  statement 
)

Definition at line 251 of file LALError.c.

int LALWarning ( LALStatus status,
const char *  warning 
)

Definition at line 267 of file LALError.c.

int LALInfo ( LALStatus status,
const char *  info 
)

Definition at line 282 of file LALError.c.

int LALTrace ( LALStatus status,
int  exitflg 
)

Definition at line 297 of file LALError.c.

int LALInitStatus ( LALStatus status,
const char *  function,
const char *  id,
const char *  file,
const int  line 
)

Definition at line 321 of file LALError.c.

int LALPrepareReturn ( LALStatus status,
const char *  file,
const int  line 
)

Definition at line 360 of file LALError.c.

int LALAttatchStatusPtr ( LALStatus status,
const char *  file,
const int  line 
)

Definition at line 380 of file LALError.c.

int LALDetatchStatusPtr ( LALStatus status,
const char *  file,
const int  line 
)

Definition at line 409 of file LALError.c.

int LALPrepareAbort ( LALStatus status,
const INT4  code,
const char *  mesg,
const char *  file,
const int  line 
)

Definition at line 430 of file LALError.c.

int LALPrepareAssertFail ( LALStatus status,
const INT4  code,
const char *  mesg,
const char *  statement,
const char *  file,
const int  line 
)

Definition at line 452 of file LALError.c.

int LALCheckStatusPtr ( LALStatus status,
const char *  statement,
const char *  file,
const int  line 
)

Definition at line 472 of file LALError.c.

void FREESTATUSPTR ( LALStatus status  ) 

Definition at line 496 of file LALError.c.

void REPORTSTATUS ( LALStatus status  ) 

Definition at line 511 of file LALError.c.


Variable Documentation

int lalDebugLevel

DECLARE AND SET GLOBAL DEBUG LEVEL.

see the section (currently 7.4.1) of the LSD on "Status-reporting objects" for a list of predefined debug levels

Definition at line 62 of file BCVSpinTemplates.c.

int( *) lalRaiseHook(int, const char *,...) = LALRaise

Definition at line 225 of file LALError.c.

void( *) lalAbortHook(const char *,...) = LALAbort

Definition at line 237 of file LALError.c.


Generated on Sun Oct 12 02:33:08 2008 for LAL by  doxygen 1.5.2