62{
63
64
65
66
67
68
69
70 typedef struct {
71#line 37 "pointer_to_struct.pgc"
73
74#line 38 "pointer_to_struct.pgc"
75 int phone ;
77
78#line 39 "pointer_to_struct.pgc"
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99#line 33 "pointer_to_struct.pgc"
101
102#line 34 "pointer_to_struct.pgc"
104
105#line 40 "pointer_to_struct.pgc"
107
108#line 46 "pointer_to_struct.pgc"
110#line 44 "pointer_to_struct.pgc"
112
113#line 45 "pointer_to_struct.pgc"
114 int phone ;
116
117#line 52 "pointer_to_struct.pgc"
119#line 50 "pointer_to_struct.pgc"
121
122#line 51 "pointer_to_struct.pgc"
123 int phone ;
125
126#line 54 "pointer_to_struct.pgc"
128
129#line 56 "pointer_to_struct.pgc"
130 int r ;
131
132#line 57 "pointer_to_struct.pgc"
134
135#line 58 "pointer_to_struct.pgc"
136
137
139
141
143#line 64 "pointer_to_struct.pgc"
144
146#line 64 "pointer_to_struct.pgc"
147
149#line 64 "pointer_to_struct.pgc"
150
151
153#line 66 "pointer_to_struct.pgc"
154
156#line 66 "pointer_to_struct.pgc"
157
159#line 66 "pointer_to_struct.pgc"
160
161
162
166
167 strcpy(
acme.customers[1].name.arr,
"Jane Doe");
169 acme.customers[1].phone = 67890;
170
176#line 78 "pointer_to_struct.pgc"
177
179#line 78 "pointer_to_struct.pgc"
180
182#line 78 "pointer_to_struct.pgc"
183
185#line 78 "pointer_to_struct.pgc"
186
188 ECPGt_varchar,&(
acme.customers[1].name),(
long)50,(
long)1,
sizeof(
struct varchar_1),
190 ECPGt_int,&(
acme.customers[1].phone),(
long)1,(
long)1,
sizeof(
int),
192#line 80 "pointer_to_struct.pgc"
193
195#line 80 "pointer_to_struct.pgc"
196
198#line 80 "pointer_to_struct.pgc"
199
201#line 80 "pointer_to_struct.pgc"
202
203
204
206
207
213#line 86 "pointer_to_struct.pgc"
214
216#line 86 "pointer_to_struct.pgc"
217
219#line 86 "pointer_to_struct.pgc"
220
222#line 86 "pointer_to_struct.pgc"
223
225 for (r = 0; r < 2; r++)
226 {
229 }
230
236#line 94 "pointer_to_struct.pgc"
237
239#line 94 "pointer_to_struct.pgc"
240
242#line 94 "pointer_to_struct.pgc"
243
245#line 94 "pointer_to_struct.pgc"
246
248 for (r = 0; r < 2; r++)
249 {
252 }
253
259#line 102 "pointer_to_struct.pgc"
260
262#line 102 "pointer_to_struct.pgc"
263
265#line 102 "pointer_to_struct.pgc"
266
268#line 102 "pointer_to_struct.pgc"
269
271 for (r = 0; r < 2; r++)
272 {
275 }
276
282#line 110 "pointer_to_struct.pgc"
283
285#line 110 "pointer_to_struct.pgc"
286
288#line 110 "pointer_to_struct.pgc"
289
291#line 110 "pointer_to_struct.pgc"
292
296
300#line 115 "pointer_to_struct.pgc"
301
303#line 115 "pointer_to_struct.pgc"
304
306#line 115 "pointer_to_struct.pgc"
307
309#line 115 "pointer_to_struct.pgc"
310
312 for (r = 0; r < 2; r++)
313 {
315 }
316
318#line 122 "pointer_to_struct.pgc"
319
321#line 122 "pointer_to_struct.pgc"
322
324#line 122 "pointer_to_struct.pgc"
325
326
327
328 return 0;
329}
bool ECPGdisconnect(int lineno, const char *connection_name)
bool ECPGconnect(int lineno, int c, const char *name, const char *user, const char *passwd, const char *connection_name, int autocommit)
bool ECPGdo(const int lineno, const int compat, const int force_indicator, const char *connection_name, const bool questionmarks, const int st, const char *query,...)