Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

# freebcp.h

    00001 static char rcsid_freebcp_h[] = "$Id: freebcp.h,v 1.12 2006/10/06 21:28:20 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[10];
    00035         DBINT direction;
    00036         char hostfilename[FILENAME_MAX + 1];
    00037         char formatfile[FILENAME_MAX + 1];
    00038         char *errorfile;
    00039         char interfacesfile[FILENAME_MAX + 1];
    00040         int firstrow;
    00041         int lastrow;
    00042         int batchsize;
    00043         int maxerrors;
    00044         int textsize;
    00045         char *fieldterm;
    00046         int fieldtermlen;
    00047         char *rowterm;
    00048         int rowtermlen;
    00049         char *user;
    00050         char *pass;
    00051         char *server;
    00052         char *hint;
    00053         char *options;
    00054         int packetsize;
    00055         int mflag;
    00056         int fflag;
    00057         int eflag;
    00058         int Fflag;
    00059         int Lflag;
    00060         int bflag;
    00061         int nflag;
    00062         int cflag;
    00063         int tflag;
    00064         int rflag;
    00065         int Uflag;
    00066         int Iflag;
    00067         int Sflag;
    00068         int Pflag;
    00069         int Tflag;
    00070         int Aflag;
    00071         int Eflag;
    00072 }
    00073 BCPPARAMDATA;