1 #ifndef __NJB__ERROR__H 2 #define __NJB__ERROR__H 17 #define EO_BADSTATUS 7 23 #define EO_CANTMOVE 13 30 #define EO_XFERDENIED 20 32 #define EO_XFERERROR 22 36 #define EO_BAD_NJB1_REPLACE 26 39 #define MAX_ERRLEN 128 52 void initialize_errorstack(
njb_t *njb);
53 void destroy_errorstack(
njb_t *njb);
54 void njb_error_add (
njb_t *njb,
const char *sub,
int err);
55 void njb_error_add2 (
njb_t *njb,
const char *sub,
const char *prefix,
int err);
56 void njb_error_add3 (
njb_t *njb,
const char *sub,
const char *prefix,
const 57 char *suffix,
int err);
58 void njb_error_add_string (
njb_t *njb,
const char *sub,
const char* error);
59 void njb_error_clear (
njb_t *njb);
61 #define NJB_ERROR(a,b) njb_error_add(a,subroutinename,b) 62 #define NJB_ERROR2(a,b,c) njb_error_add2(a,subroutinename,b,c) 63 #define NJB_ERROR3(a,b,c,d) njb_error_add3(a,subroutinename,b,c,d) Definition: njb_error.h:46
char ** msg
Definition: njb_error.h:49
int idx
Definition: njb_error.h:47
int count
Definition: njb_error.h:48