/afs/csl.tjhsst.edu/students/2007/kkassing/work/libhemi/util.h File Reference

#include "hemi.h"
#include <stdarg.h>

Include dependency graph for util.h:

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

Go to the source code of this file.

Defines

#define HLINEHACK(x)   #x
#define HLINEHACK2(x)   HLINEHACK(x)
#define hverify(a, e, f, b, c...)   _hverify(a,e,f,__FILE__,__LINE__,b,c)
#define hverifyptr(a, e, f, b, c...)   _hverifyptr(a,e,f,__FILE__,__LINE__,b,c)
#define hvfy(a, e, f)   _hverify(a,e,f,__FILE__,__LINE__,HLINEHACK2(a))
#define hvfyptr(a, e, f)   _hverifyptr(a,e,f,__FILE__,__LINE__,HLINEHACK2(a))
#define halloc(a, b, c, e)   _halloc(a,sizeof(b),c,-1,e,__FILE__,__LINE__)
#define hcalloc(a, b, c, d, e)   _halloc(a,sizeof(b),c,d,e,__FILE__,__LINE__)
#define hfread(a, b, c, d, e)   _hfread(a,sizeof(b),c,d,e,__FILE__,__LINE__)
#define hskip(a, e)   _hskip(a,1," \n\r\t",e,__FILE__,__LINE__)
#define hskipn(a, b, e)   _hskip(a,b," \n\r\t",e,__FILE__,__LINE__)
#define hskipln(a, e)   _hskip(a,1,"\n",e,__FILE__,__LINE__)
#define hskipto(a, b, e)   _hskipto(a,b,e,__FILE__,__LINE__)
#define hfskip(a, e)   _hfskip(a,1," \n\r\t",e,__FILE__,__LINE__)
#define hfskipn(a, b, e)   _hfskip(a,b," \n\r\t",e,__FILE__,__LINE__)
#define hfskipln(a, e)   _hfskip(a,1,"\n",e,__FILE__,__LINE__)
#define hfskipto(a, b, e)   _hfskipto(a,b,e,__FILE__,__LINE__)
#define hallocstrcpy(a, e)   _hallocstrcpy(a,e,__FILE__,__LINE__)
#define hallocfread(a, b, c, d, e)   _hallocfread((void**)a,sizeof(b),c,d,e,__FILE__,__LINE__)

Functions

int _hverify (int, int *, int, const char *, int, const char *,...)
void * _hverifyptr (void *, int *, int, const char *, int, const char *,...)
void * _halloc (void *, int, int, int, int *, const char *, int)
int _hfread (void *, int, int, FILE *, int *, const char *, int)
char * _hskip (char *, int, const char *, int *, const char *, int)
char * _hskipto (char *, char *, int *, const char *, int)
int _hfskip (FILE *, int, const char *, int *, const char *, int)
int _hfskipto (FILE *, char *, int *, const char *, int)
char * _hallocstrcpy (char *, int *, const char *, int)
int _hallocfread (void **, int, int, FILE *, int *, const char *, int)


Define Documentation

#define halloc ( a,
b,
c,
 )     _halloc(a,sizeof(b),c,-1,e,__FILE__,__LINE__)

#define hallocfread ( a,
b,
c,
d,
 )     _hallocfread((void**)a,sizeof(b),c,d,e,__FILE__,__LINE__)

#define hallocstrcpy ( a,
 )     _hallocstrcpy(a,e,__FILE__,__LINE__)

#define hcalloc ( a,
b,
c,
d,
 )     _halloc(a,sizeof(b),c,d,e,__FILE__,__LINE__)

#define hfread ( a,
b,
c,
d,
 )     _hfread(a,sizeof(b),c,d,e,__FILE__,__LINE__)

#define hfskip ( a,
 )     _hfskip(a,1," \n\r\t",e,__FILE__,__LINE__)

#define hfskipln ( a,
 )     _hfskip(a,1,"\n",e,__FILE__,__LINE__)

#define hfskipn ( a,
b,
 )     _hfskip(a,b," \n\r\t",e,__FILE__,__LINE__)

#define hfskipto ( a,
b,
 )     _hfskipto(a,b,e,__FILE__,__LINE__)

#define HLINEHACK (  )     #x

#define HLINEHACK2 (  )     HLINEHACK(x)

#define hskip ( a,
 )     _hskip(a,1," \n\r\t",e,__FILE__,__LINE__)

#define hskipln ( a,
 )     _hskip(a,1,"\n",e,__FILE__,__LINE__)

#define hskipn ( a,
b,
 )     _hskip(a,b," \n\r\t",e,__FILE__,__LINE__)

#define hskipto ( a,
b,
 )     _hskipto(a,b,e,__FILE__,__LINE__)

#define hverify ( a,
e,
f,
b,
c...   )     _hverify(a,e,f,__FILE__,__LINE__,b,c)

#define hverifyptr ( a,
e,
f,
b,
c...   )     _hverifyptr(a,e,f,__FILE__,__LINE__,b,c)

#define hvfy ( a,
e,
 )     _hverify(a,e,f,__FILE__,__LINE__,HLINEHACK2(a))

#define hvfyptr ( a,
e,
 )     _hverifyptr(a,e,f,__FILE__,__LINE__,HLINEHACK2(a))


Function Documentation

void* _halloc ( void *  ,
int  ,
int  ,
int  ,
int *  ,
const char *  ,
int   
)

int _hallocfread ( void **  ,
int  ,
int  ,
FILE *  ,
int *  ,
const char *  ,
int   
)

char* _hallocstrcpy ( char *  ,
int *  ,
const char *  ,
int   
)

int _hfread ( void *  ,
int  ,
int  ,
FILE *  ,
int *  ,
const char *  ,
int   
)

int _hfskip ( FILE *  ,
int  ,
const char *  ,
int *  ,
const char *  ,
int   
)

int _hfskipto ( FILE *  ,
char *  ,
int *  ,
const char *  ,
int   
)

char* _hskip ( char *  ,
int  ,
const char *  ,
int *  ,
const char *  ,
int   
)

char* _hskipto ( char *  ,
char *  ,
int *  ,
const char *  ,
int   
)

int _hverify ( int  ,
int *  ,
int  ,
const char *  ,
int  ,
const char *  ,
  ... 
)

void* _hverifyptr ( void *  ,
int *  ,
int  ,
const char *  ,
int  ,
const char *  ,
  ... 
)


Generated on Fri Jun 1 09:11:35 2007 for Antigone by  doxygen 1.4.7