freebcp.h
enum states
{
GET_NEXTARG,
GET_MAXERRORS,
GET_FORMATFILE,
GET_ERRORFILE,
GET_FIRSTROW,
GET_LASTROW,
GET_BATCHSIZE,
GET_FIELDTERM,
GET_ROWTERM,
GET_USER,
GET_PASS,
GET_INTERFACESFILE,
GET_SERVER,
GET_DISPLAYCHARSET,
GET_DATAFILECHARSET,
GET_LANGUAGE,
GET_PACKETSIZE,
GET_CLIENTCHARSET,
GET_TEXTSIZE,
GET_SYBASEDIR,
GET_FROMLABEL,
GET_TOLABEL,
GET_HINT
};
typedef struct pd
{
char *dbobject;
char dbdirection[10];
DBINT direction;
char *hostfilename;
char *formatfile;
char *errorfile;
char *interfacesfile;
int firstrow;
int lastrow;
int batchsize;
int maxerrors;
int textsize;
char *fieldterm;
int fieldtermlen;
char *rowterm;
int rowtermlen;
char *user;
char *pass;
char *server;
char *dbname;
char *hint;
char *options;
char *charset;
int packetsize;
int mflag;
int fflag;
int eflag;
int Fflag;
int Lflag;
int bflag;
int nflag;
int cflag;
int tflag;
int rflag;
int Uflag;
int Iflag;
int Sflag;
int Pflag;
int Tflag;
int Aflag;
int Eflag;
char *inputfile;
char *outputfile;
}
BCPPARAMDATA;
pd
Definition: datacopy.c:61