5 #ifndef _ECPG_INFORMIX_H
6 #define _ECPG_INFORMIX_H
14 #define SQLNOTFOUND 100
16 #define ECPG_INFORMIX_NUM_OVERFLOW -1200
17 #define ECPG_INFORMIX_NUM_UNDERFLOW -1201
18 #define ECPG_INFORMIX_DIVIDE_ZERO -1202
19 #define ECPG_INFORMIX_BAD_YEAR -1204
20 #define ECPG_INFORMIX_BAD_MONTH -1205
21 #define ECPG_INFORMIX_BAD_DAY -1206
22 #define ECPG_INFORMIX_ENOSHORTDATE -1209
23 #define ECPG_INFORMIX_DATE_CONVERT -1210
24 #define ECPG_INFORMIX_OUT_OF_MEMORY -1211
25 #define ECPG_INFORMIX_ENOTDMY -1212
26 #define ECPG_INFORMIX_BAD_NUMERIC -1213
27 #define ECPG_INFORMIX_BAD_EXPONENT -1216
28 #define ECPG_INFORMIX_BAD_DATE -1218
29 #define ECPG_INFORMIX_EXTRA_CHARS -1264
45 extern int rfmtlong(
long lng_val,
const char *
fmt,
char *outbuf);
46 extern int rgetmsg(
int msgnum,
char *s,
int maxsize);
47 extern int risnull(
int t,
const char *ptr);
48 extern int rsetnull(
int t,
char *ptr);
51 extern int rtypwidth(
int sqltype,
int sqllen);
static void const char * fmt
static void fmtstr(const char *value, int leftjust, int minlen, int maxwidth, int pointflag, PrintfTarget *target)