FreeTDS API

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
freebcp.h
1 static char rcsid_freebcp_h[] = "$Id: freebcp.h,v 1.15 2010-05-21 14:10:31 freddy77 Exp $";
2 static void *no_unused_freebcp_h_warn[] = { rcsid_freebcp_h, no_unused_freebcp_h_warn };
3
4 enum states
5 {
6 GET_NEXTARG,
7 GET_MAXERRORS,
8 GET_FORMATFILE,
9 GET_ERRORFILE,
10 GET_FIRSTROW,
11 GET_LASTROW,
12 GET_BATCHSIZE,
13 GET_FIELDTERM,
14 GET_ROWTERM,
15 GET_USER,
16 GET_PASS,
17 GET_INTERFACESFILE,
18 GET_SERVER,
19 GET_DISPLAYCHARSET,
20 GET_DATAFILECHARSET,
21 GET_LANGUAGE,
22 GET_PACKETSIZE,
23 GET_CLIENTCHARSET,
24 GET_TEXTSIZE,
25 GET_SYBASEDIR,
26 GET_FROMLABEL,
27 GET_TOLABEL,
28 GET_HINT
29 };
30
31 typedef struct pd
32 {
33 char *dbobject;
34 char dbdirection[10];
35 DBINT direction;
36 char *hostfilename;
37 char *formatfile;
38 char *errorfile;
39 char *interfacesfile;
40 int firstrow;
41 int lastrow;
42 int batchsize;
43 int maxerrors;
44 int textsize;
45 char *fieldterm;
46 int fieldtermlen;
47 char *rowterm;
48 int rowtermlen;
49 char *user;
50 char *pass;
51 char *server;
52 char *hint;
53 char *options;
54 char *charset;
55 int packetsize;
56 int mflag;
57 int fflag;
58 int eflag;
59 int Fflag;
60 int Lflag;
61 int bflag;
62 int nflag;
63 int cflag;
64 int tflag;
65 int rflag;
66 int Uflag;
67 int Iflag;
68 int Sflag;
69 int Pflag;
70 int Tflag;
71 int Aflag;
72 int Eflag;
73 char *inputfile;
74 char *outputfile;
75 }
76 BCPPARAMDATA;