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

FreeTDS API

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

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules 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 *dbname;
53 char *hint;
54 char *options;
55 char *charset;
56 int packetsize;
57 int mflag;
58 int fflag;
59 int eflag;
60 int Fflag;
61 int Lflag;
62 int bflag;
63 int nflag;
64 int cflag;
65 int tflag;
66 int rflag;
67 int Uflag;
68 int Iflag;
69 int Sflag;
70 int Pflag;
71 int Tflag;
72 int Aflag;
73 int Eflag;
74 char *inputfile;
75 char *outputfile;
76 }
77 BCPPARAMDATA;
pd
Definition: datacopy.c:61