FreeTDS API

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