FreeTDS API: src/apps/freebcp.h Source File

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.9 2004/06/19 05:56:29 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         char *rowterm;
    00047         char *user;
    00048         char *pass;
    00049         char *server;
    00050         char *hint;
    00051         int packetsize;
    00052         int mflag;
    00053         int fflag;
    00054         int eflag;
    00055         int Fflag;
    00056         int Lflag;
    00057         int bflag;
    00058         int nflag;
    00059         int cflag;
    00060         int tflag;
    00061         int rflag;
    00062         int Uflag;
    00063         int Iflag;
    00064         int Sflag;
    00065         int Pflag;
    00066         int Tflag;
    00067         int Aflag;
    00068         int Eflag;
    00069 }
    00070 PARAMDATA;