Main Page | Namespace List | Class List | File List | Class Members | File Members | Related Pages

strerr.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  strerr

Defines

#define STRERR(r, se, a)   { se.who = 0; se.x = a; se.y = 0; se.z = 0; return r; }
#define STRERR_SYS(r, se, a)   { se.who = &strerr_sys; se.x = a; se.y = 0; se.z = 0; return r; }
#define STRERR_SYS3(r, se, a, b, c)   { se.who = &strerr_sys; se.x = a; se.y = b; se.z = c; return r; }
#define strerr_warn6(x1, x2, x3, x4, x5, x6, se)   strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(se))
#define strerr_warn5(x1, x2, x3, x4, x5, se)   strerr_warn((x1),(x2),(x3),(x4),(x5),0,(se))
#define strerr_warn4(x1, x2, x3, x4, se)   strerr_warn((x1),(x2),(x3),(x4),0,0,(se))
#define strerr_warn3(x1, x2, x3, se)   strerr_warn((x1),(x2),(x3),0,0,0,(se))
#define strerr_warn2(x1, x2, se)   strerr_warn((x1),(x2),0,0,0,0,(se))
#define strerr_warn1(x1, se)   strerr_warn((x1),0,0,0,0,0,(se))
#define strerr_die6(e, x1, x2, x3, x4, x5, x6, se)   strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),(se))
#define strerr_die5(e, x1, x2, x3, x4, x5, se)   strerr_die((e),(x1),(x2),(x3),(x4),(x5),0,(se))
#define strerr_die4(e, x1, x2, x3, x4, se)   strerr_die((e),(x1),(x2),(x3),(x4),0,0,(se))
#define strerr_die3(e, x1, x2, x3, se)   strerr_die((e),(x1),(x2),(x3),0,0,0,(se))
#define strerr_die2(e, x1, x2, se)   strerr_die((e),(x1),(x2),0,0,0,0,(se))
#define strerr_die1(e, x1, se)   strerr_die((e),(x1),0,0,0,0,0,(se))
#define strerr_die6sys(e, x1, x2, x3, x4, x5, x6)   strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys)
#define strerr_die5sys(e, x1, x2, x3, x4, x5)   strerr_die((e),(x1),(x2),(x3),(x4),(x5),0,&strerr_sys)
#define strerr_die4sys(e, x1, x2, x3, x4)   strerr_die((e),(x1),(x2),(x3),(x4),0,0,&strerr_sys)
#define strerr_die3sys(e, x1, x2, x3)   strerr_die((e),(x1),(x2),(x3),0,0,0,&strerr_sys)
#define strerr_die2sys(e, x1, x2)   strerr_die((e),(x1),(x2),0,0,0,0,&strerr_sys)
#define strerr_die1sys(e, x1)   strerr_die((e),(x1),0,0,0,0,0,&strerr_sys)
#define strerr_die6x(e, x1, x2, x3, x4, x5, x6)   strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),0)
#define strerr_die5x(e, x1, x2, x3, x4, x5)   strerr_die((e),(x1),(x2),(x3),(x4),(x5),0,0)
#define strerr_die4x(e, x1, x2, x3, x4)   strerr_die((e),(x1),(x2),(x3),(x4),0,0,0)
#define strerr_die3x(e, x1, x2, x3)   strerr_die((e),(x1),(x2),(x3),0,0,0,0)
#define strerr_die2x(e, x1, x2)   strerr_die((e),(x1),(x2),0,0,0,0,0)
#define strerr_die1x(e, x1)   strerr_die((e),(x1),0,0,0,0,0,0)

Functions

void strerr_sysinit (void)
char * strerr (struct strerr *)
void strerr_warn (char *, char *, char *, char *, char *, char *, struct strerr *)
void strerr_die (int, char *, char *, char *, char *, char *, char *, struct strerr *)

Variables

strerr strerr_sys


Define Documentation

#define STRERR r,
se,
 )     { se.who = 0; se.x = a; se.y = 0; se.z = 0; return r; }
 

Definition at line 18 of file strerr.h.

#define strerr_die1 e,
x1,
se   )     strerr_die((e),(x1),0,0,0,0,0,(se))
 

Definition at line 49 of file strerr.h.

#define strerr_die1sys e,
x1   )     strerr_die((e),(x1),0,0,0,0,0,&strerr_sys)
 

Definition at line 62 of file strerr.h.

#define strerr_die1x e,
x1   )     strerr_die((e),(x1),0,0,0,0,0,0)
 

Definition at line 75 of file strerr.h.

#define strerr_die2 e,
x1,
x2,
se   )     strerr_die((e),(x1),(x2),0,0,0,0,(se))
 

Definition at line 47 of file strerr.h.

#define strerr_die2sys e,
x1,
x2   )     strerr_die((e),(x1),(x2),0,0,0,0,&strerr_sys)
 

Definition at line 60 of file strerr.h.

#define strerr_die2x e,
x1,
x2   )     strerr_die((e),(x1),(x2),0,0,0,0,0)
 

Definition at line 73 of file strerr.h.

#define strerr_die3 e,
x1,
x2,
x3,
se   )     strerr_die((e),(x1),(x2),(x3),0,0,0,(se))
 

Definition at line 45 of file strerr.h.

#define strerr_die3sys e,
x1,
x2,
x3   )     strerr_die((e),(x1),(x2),(x3),0,0,0,&strerr_sys)
 

Definition at line 58 of file strerr.h.

#define strerr_die3x e,
x1,
x2,
x3   )     strerr_die((e),(x1),(x2),(x3),0,0,0,0)
 

Definition at line 71 of file strerr.h.

#define strerr_die4 e,
x1,
x2,
x3,
x4,
se   )     strerr_die((e),(x1),(x2),(x3),(x4),0,0,(se))
 

Definition at line 43 of file strerr.h.

#define strerr_die4sys e,
x1,
x2,
x3,
x4   )     strerr_die((e),(x1),(x2),(x3),(x4),0,0,&strerr_sys)
 

Definition at line 56 of file strerr.h.

#define strerr_die4x e,
x1,
x2,
x3,
x4   )     strerr_die((e),(x1),(x2),(x3),(x4),0,0,0)
 

Definition at line 69 of file strerr.h.

#define strerr_die5 e,
x1,
x2,
x3,
x4,
x5,
se   )     strerr_die((e),(x1),(x2),(x3),(x4),(x5),0,(se))
 

Definition at line 41 of file strerr.h.

#define strerr_die5sys e,
x1,
x2,
x3,
x4,
x5   )     strerr_die((e),(x1),(x2),(x3),(x4),(x5),0,&strerr_sys)
 

Definition at line 54 of file strerr.h.

#define strerr_die5x e,
x1,
x2,
x3,
x4,
x5   )     strerr_die((e),(x1),(x2),(x3),(x4),(x5),0,0)
 

Definition at line 67 of file strerr.h.

#define strerr_die6 e,
x1,
x2,
x3,
x4,
x5,
x6,
se   )     strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),(se))
 

Definition at line 39 of file strerr.h.

#define strerr_die6sys e,
x1,
x2,
x3,
x4,
x5,
x6   )     strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),&strerr_sys)
 

Definition at line 52 of file strerr.h.

#define strerr_die6x e,
x1,
x2,
x3,
x4,
x5,
x6   )     strerr_die((e),(x1),(x2),(x3),(x4),(x5),(x6),0)
 

Definition at line 65 of file strerr.h.

#define STRERR_SYS r,
se,
 )     { se.who = &strerr_sys; se.x = a; se.y = 0; se.z = 0; return r; }
 

Definition at line 21 of file strerr.h.

#define STRERR_SYS3 r,
se,
a,
b,
 )     { se.who = &strerr_sys; se.x = a; se.y = b; se.z = c; return r; }
 

Definition at line 23 of file strerr.h.

#define strerr_warn1 x1,
se   )     strerr_warn((x1),0,0,0,0,0,(se))
 

Definition at line 36 of file strerr.h.

#define strerr_warn2 x1,
x2,
se   )     strerr_warn((x1),(x2),0,0,0,0,(se))
 

Definition at line 34 of file strerr.h.

#define strerr_warn3 x1,
x2,
x3,
se   )     strerr_warn((x1),(x2),(x3),0,0,0,(se))
 

Definition at line 32 of file strerr.h.

#define strerr_warn4 x1,
x2,
x3,
x4,
se   )     strerr_warn((x1),(x2),(x3),(x4),0,0,(se))
 

Definition at line 30 of file strerr.h.

#define strerr_warn5 x1,
x2,
x3,
x4,
x5,
se   )     strerr_warn((x1),(x2),(x3),(x4),(x5),0,(se))
 

Definition at line 28 of file strerr.h.

#define strerr_warn6 x1,
x2,
x3,
x4,
x5,
x6,
se   )     strerr_warn((x1),(x2),(x3),(x4),(x5),(x6),(se))
 

Definition at line 26 of file strerr.h.


Function Documentation

char* strerr struct strerr  ) 
 

void strerr_die int  ,
char *  ,
char *  ,
char *  ,
char *  ,
char *  ,
char *  ,
struct strerr
 

Definition at line 27 of file strerr_die.c.

References _exit(), and strerr_warn().

Here is the call graph for this function:

void strerr_sysinit void   ) 
 

Definition at line 6 of file strerr_sys.c.

References errno, error_str(), strerr_sys, strerr::who, strerr::x, strerr::y, and strerr::z.

Referenced by strerr_warn().

Here is the call graph for this function:

void strerr_warn char *  ,
char *  ,
char *  ,
char *  ,
char *  ,
char *  ,
struct strerr
 

Definition at line 5 of file strerr_die.c.

References buffer_2, buffer_flush(), buffer_puts(), strerr_sysinit(), strerr::who, strerr::x, strerr::y, and strerr::z.

Referenced by strerr_die().

Here is the call graph for this function:


Variable Documentation

struct strerr strerr_sys
 

Definition at line 11 of file strerr.h.

Referenced by strerr_sysinit().


Generated on Mon Apr 26 09:49:27 2004 for ConstantDataStore by doxygen 1.3.6-20040222