Main Page Modules Compound List File List Compound Members File Members Related Pages

# freebcp.h

    00001 static char rcsid_freebcp_h[] = "$Id: freebcp.h,v 1.7 2003/03/19 17:05:13 jklowden Exp $";
    00002 static void *no_unused_freebcp_h_warn[] = { rcsid_freebcp_h, no_unused_freebcp_h_warn };
    00003
    00004 enum states
    00005 {
    00006         GET_NEXTARG,
    00007         GET_MAXERRORS,
    00008         GET_FORMATFILE,
    00009         GET_ERRORFILE,
    00010         GET_FIRSTROW,
    00011         GET_LASTROW,
    00012         GET_BATCHSIZE,
    00013         GET_FIELDTERM,
    00014         GET_ROWTERM,
    00015         GET_USER,
    00016         GET_PASS,
    00017         GET_INTERFACESFILE,
    00018         GET_SERVER,
    00019         GET_DISPLAYCHARSET,
    00020         GET_DATAFILECHARSET,
    00021         GET_LANGUAGE,
    00022         GET_PACKETSIZE,
    00023         GET_CLIENTCHARSET,
    00024         GET_TEXTSIZE,
    00025         GET_SYBASEDIR,
    00026         GET_FROMLABEL,
    00027         GET_TOLABEL,
    00028         GET_HINT
    00029 };
    00030
    00031 typedef struct pd
    00032 {
    00033         char *dbobject;
    00034         char dbdirection[4];
    00035         char hostfilename[FILENAME_MAX + 1];
    00036         char formatfile[FILENAME_MAX + 1];
    00037         char *errorfile;
    00038         char interfacesfile[FILENAME_MAX + 1];
    00039         int firstrow;
    00040         int lastrow;
    00041         int batchsize;
    00042         int maxerrors;
    00043         int textsize;
    00044         char *fieldterm;
    00045         char *rowterm;
    00046         char *user;
    00047         char *pass;
    00048         char *server;
    00049         char *hint;
    00050         int packetsize;
    00051         int mflag;
    00052         int fflag;
    00053         int eflag;
    00054         int Fflag;
    00055         int Lflag;
    00056         int bflag;
    00057         int nflag;
    00058         int cflag;
    00059         int tflag;
    00060         int rflag;
    00061         int Uflag;
    00062         int Iflag;
    00063         int Sflag;
    00064         int Pflag;
    00065         int Tflag;
    00066         int Aflag;
    00067 }
    00068 PARAMDATA;