#ifndef EAFP_H
#define EAFP_H

/* These macros are for EAF internal use only. EOF_OK must be 0. */

#define EAF_OK                      0
#define EAF_ERR_EOF            -10001
#define EAF_ERR_MAX_OPEN       -10002
#define EAF_ERR_MEMORY         -10003
#define EAF_ERR_OPEN           -10004
#define EAF_ERR_CLOSE          -10005
#define EAF_ERR_INVALID_FD     -10006
#define EAF_ERR_WRITE          -10007
#define EAF_ERR_AWRITE         -10008
#define EAF_ERR_READ           -10009
#define EAF_ERR_AREAD          -10010
#define EAF_ERR_WAIT           -10011
#define EAF_ERR_PROBE          -10012
#define EAF_ERR_UNLINK         -10013
#define EAF_ERR_UNIMPLEMENTED  -10014
#define EAF_ERR_STAT           -10015
#define EAF_ERR_TOO_SHORT      -10016
#define EAF_ERR_TOO_LONG       -10017
#define EAF_ERR_NONINTEGER_OFFSET -10018
#define EAF_ERR_TRUNCATE       -10019
#define EAF_ERR_LENGTH         -10020


#endif
