This repository was archived by the owner on Mar 11, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsoapStub.h
executable file
·534 lines (443 loc) · 18.1 KB
/
soapStub.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
/* soapStub.h
Generated by gSOAP 2.7.10 from captureGSOAP.h
Copyright(C) 2000-2008, Robert van Engelen, Genivia Inc. All Rights Reserved.
This part of the software is released under one of the following licenses:
GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#ifndef soapStub_H
#define soapStub_H
#include "stdsoap2.h"
/******************************************************************************\
* *
* Enumerations *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Classes and Structs *
* *
\******************************************************************************/
#if 0 /* volatile type: do not redeclare here */
#endif
#ifndef SOAP_TYPE_ns__regkey
#define SOAP_TYPE_ns__regkey (7)
/* ns:regkey */
struct ns__regkey
{
public:
char *created_at; /* optional element of type xsd:string */
char *event_type; /* optional element of type xsd:string */
int pid; /* required element of type xsd:int */
char *proc_name; /* optional element of type xsd:string */
char *name; /* optional element of type xsd:string */
char *value_name; /* optional element of type xsd:string */
char *value_type; /* optional element of type xsd:string */
char *value; /* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_ns__processFile
#define SOAP_TYPE_ns__processFile (8)
/* ns:processFile */
struct ns__processFile
{
public:
char *created_at; /* optional element of type xsd:string */
char *event_type; /* optional element of type xsd:string */
int pid; /* required element of type xsd:int */
char *proc_name; /* optional element of type xsd:string */
char *name; /* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_ns__osProcess
#define SOAP_TYPE_ns__osProcess (9)
/* ns:osProcess */
struct ns__osProcess
{
public:
char *created_at; /* optional element of type xsd:string */
char *event_type; /* optional element of type xsd:string */
int parent_pid; /* required element of type xsd:int */
char *parent_name; /* optional element of type xsd:string */
int pid; /* required element of type xsd:int */
char *name; /* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_ns__dynRegArray
#define SOAP_TYPE_ns__dynRegArray (10)
/* Sequence of ns:dynRegArray schema type: */
struct ns__dynRegArray
{
public:
struct ns__regkey *__ptr;
int __size;
};
#endif
#ifndef SOAP_TYPE_ns__dynFileArray
#define SOAP_TYPE_ns__dynFileArray (12)
/* Sequence of ns:dynFileArray schema type: */
struct ns__dynFileArray
{
public:
struct ns__processFile *__ptr;
int __size;
};
#endif
#ifndef SOAP_TYPE_ns__dynProcArray
#define SOAP_TYPE_ns__dynProcArray (14)
/* Sequence of ns:dynProcArray schema type: */
struct ns__dynProcArray
{
public:
struct ns__osProcess *__ptr;
int __size;
};
#endif
#ifndef SOAP_TYPE_a1
#define SOAP_TYPE_a1 (16)
/* a1 */
struct a1
{
public:
struct ns__dynRegArray *regkeys; /* optional element of type ns:dynRegArray */
struct ns__dynFileArray *process_files; /* optional element of type ns:dynFileArray */
struct ns__dynProcArray *os_processes; /* optional element of type ns:dynProcArray */
};
#endif
#ifndef SOAP_TYPE_s1
#define SOAP_TYPE_s1 (21)
/* s1 */
struct s1
{
public:
char *data; /* optional element of type xsd:string */
unsigned int encodedLength; /* required element of type xsd:unsignedInt */
unsigned int decodedLength; /* required element of type xsd:unsignedInt */
};
#endif
#ifndef SOAP_TYPE_ns__pingResponse
#define SOAP_TYPE_ns__pingResponse (26)
/* ns:pingResponse */
struct ns__pingResponse
{
public:
char **result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_ns__ping
#define SOAP_TYPE_ns__ping (27)
/* ns:ping */
struct ns__ping
{
public:
char *a; /* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_ns__visitURLResponse
#define SOAP_TYPE_ns__visitURLResponse (30)
/* ns:visitURLResponse */
struct ns__visitURLResponse
{
public:
int result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:int */
};
#endif
#ifndef SOAP_TYPE_ns__visitURL
#define SOAP_TYPE_ns__visitURL (31)
/* ns:visitURL */
struct ns__visitURL
{
public:
char *URL; /* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_ns__sendFileBase64Response
#define SOAP_TYPE_ns__sendFileBase64Response (33)
/* ns:sendFileBase64Response */
struct ns__sendFileBase64Response
{
public:
int result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:int */
};
#endif
#ifndef SOAP_TYPE_ns__sendFileBase64
#define SOAP_TYPE_ns__sendFileBase64 (34)
/* ns:sendFileBase64 */
struct ns__sendFileBase64
{
public:
char *fileName; /* optional element of type xsd:string */
char *data; /* optional element of type xsd:string */
unsigned int encodedLength; /* required element of type xsd:unsignedInt */
unsigned int decodedLength; /* required element of type xsd:unsignedInt */
};
#endif
#ifndef SOAP_TYPE_ns__receiveFileBase64Response
#define SOAP_TYPE_ns__receiveFileBase64Response (38)
/* ns:receiveFileBase64Response */
struct ns__receiveFileBase64Response
{
public:
struct s1 **result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type ns:receiveFileStruct */
};
#endif
#ifndef SOAP_TYPE_ns__receiveFileBase64
#define SOAP_TYPE_ns__receiveFileBase64 (39)
/* ns:receiveFileBase64 */
struct ns__receiveFileBase64
{
public:
char *fileName; /* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_ns__openDocumentResponse
#define SOAP_TYPE_ns__openDocumentResponse (41)
/* ns:openDocumentResponse */
struct ns__openDocumentResponse
{
public:
int result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:int */
};
#endif
#ifndef SOAP_TYPE_ns__openDocument
#define SOAP_TYPE_ns__openDocument (42)
/* ns:openDocument */
struct ns__openDocument
{
public:
char *fileName; /* optional element of type xsd:string */
int waitTimeMillisec; /* required element of type xsd:int */
};
#endif
#ifndef SOAP_TYPE_ns__returnRegistryEventsResponse
#define SOAP_TYPE_ns__returnRegistryEventsResponse (45)
/* ns:returnRegistryEventsResponse */
struct ns__returnRegistryEventsResponse
{
public:
struct ns__dynRegArray **result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type ns:dynRegArray */
};
#endif
#ifndef SOAP_TYPE_ns__returnRegistryEvents
#define SOAP_TYPE_ns__returnRegistryEvents (46)
/* ns:returnRegistryEvents */
struct ns__returnRegistryEvents
{
public:
int maxEventsToReturn; /* required element of type xsd:int */
};
#endif
#ifndef SOAP_TYPE_ns__returnFileEventsResponse
#define SOAP_TYPE_ns__returnFileEventsResponse (49)
/* ns:returnFileEventsResponse */
struct ns__returnFileEventsResponse
{
public:
struct ns__dynFileArray **result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type ns:dynFileArray */
};
#endif
#ifndef SOAP_TYPE_ns__returnFileEvents
#define SOAP_TYPE_ns__returnFileEvents (50)
/* ns:returnFileEvents */
struct ns__returnFileEvents
{
public:
int maxEventsToReturn; /* required element of type xsd:int */
};
#endif
#ifndef SOAP_TYPE_ns__returnProcessEventsResponse
#define SOAP_TYPE_ns__returnProcessEventsResponse (53)
/* ns:returnProcessEventsResponse */
struct ns__returnProcessEventsResponse
{
public:
struct ns__dynProcArray **result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type ns:dynProcArray */
};
#endif
#ifndef SOAP_TYPE_ns__returnProcessEvents
#define SOAP_TYPE_ns__returnProcessEvents (54)
/* ns:returnProcessEvents */
struct ns__returnProcessEvents
{
public:
int maxEventsToReturn; /* required element of type xsd:int */
};
#endif
#ifndef SOAP_TYPE_ns__returnEventsResponse
#define SOAP_TYPE_ns__returnEventsResponse (58)
/* ns:returnEventsResponse */
struct ns__returnEventsResponse
{
public:
struct a1 **result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* optional element of type ns:allEvents */
};
#endif
#ifndef SOAP_TYPE_ns__returnEvents
#define SOAP_TYPE_ns__returnEvents (59)
/* ns:returnEvents */
struct ns__returnEvents
{
public:
int maxEventsToReturn; /* required element of type xsd:int */
};
#endif
#ifndef SOAP_TYPE_ns__sendMIMEResponse
#define SOAP_TYPE_ns__sendMIMEResponse (61)
/* ns:sendMIMEResponse */
struct ns__sendMIMEResponse
{
public:
int result; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of type xsd:int */
};
#endif
#ifndef SOAP_TYPE_ns__sendMIME
#define SOAP_TYPE_ns__sendMIME (62)
/* ns:sendMIME */
struct ns__sendMIME
{
public:
int magicNumber; /* required element of type xsd:int */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Header
#define SOAP_TYPE_SOAP_ENV__Header (63)
/* SOAP Header: */
struct SOAP_ENV__Header
{
#ifdef WITH_NOEMPTYSTRUCT
private:
char dummy; /* dummy member to enable compilation */
#endif
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Code
#define SOAP_TYPE_SOAP_ENV__Code (64)
/* SOAP Fault Code: */
struct SOAP_ENV__Code
{
public:
char *SOAP_ENV__Value; /* optional element of type xsd:QName */
struct SOAP_ENV__Code *SOAP_ENV__Subcode; /* optional element of type SOAP-ENV:Code */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Detail
#define SOAP_TYPE_SOAP_ENV__Detail (66)
/* SOAP-ENV:Detail */
struct SOAP_ENV__Detail
{
public:
int __type; /* any type of element <fault> (defined below) */
void *fault; /* transient */
char *__any;
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Reason
#define SOAP_TYPE_SOAP_ENV__Reason (69)
/* SOAP-ENV:Reason */
struct SOAP_ENV__Reason
{
public:
char *SOAP_ENV__Text; /* optional element of type xsd:string */
};
#endif
#ifndef SOAP_TYPE_SOAP_ENV__Fault
#define SOAP_TYPE_SOAP_ENV__Fault (70)
/* SOAP Fault: */
struct SOAP_ENV__Fault
{
public:
char *faultcode; /* optional element of type xsd:QName */
char *faultstring; /* optional element of type xsd:string */
char *faultactor; /* optional element of type xsd:string */
struct SOAP_ENV__Detail *detail; /* optional element of type SOAP-ENV:Detail */
struct SOAP_ENV__Code *SOAP_ENV__Code; /* optional element of type SOAP-ENV:Code */
struct SOAP_ENV__Reason *SOAP_ENV__Reason; /* optional element of type SOAP-ENV:Reason */
char *SOAP_ENV__Node; /* optional element of type xsd:string */
char *SOAP_ENV__Role; /* optional element of type xsd:string */
struct SOAP_ENV__Detail *SOAP_ENV__Detail; /* optional element of type SOAP-ENV:Detail */
};
#endif
/******************************************************************************\
* *
* Types with Custom Serializers *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Typedefs *
* *
\******************************************************************************/
#ifndef SOAP_TYPE__QName
#define SOAP_TYPE__QName (5)
typedef char *_QName;
#endif
#ifndef SOAP_TYPE__XML
#define SOAP_TYPE__XML (6)
typedef char *_XML;
#endif
#ifndef SOAP_TYPE_ns__allEvents
#define SOAP_TYPE_ns__allEvents (20)
typedef struct a1 ns__allEvents;
#endif
#ifndef SOAP_TYPE_ns__receiveFileStruct
#define SOAP_TYPE_ns__receiveFileStruct (23)
typedef struct s1 ns__receiveFileStruct;
#endif
/******************************************************************************\
* *
* Typedef Synonyms *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Externals *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Service Operations *
* *
\******************************************************************************/
SOAP_FMAC5 int SOAP_FMAC6 ns__ping(struct soap*, char *a, char **result);
SOAP_FMAC5 int SOAP_FMAC6 ns__visitURL(struct soap*, char *URL, int &result);
SOAP_FMAC5 int SOAP_FMAC6 ns__sendFileBase64(struct soap*, char *fileName, char *data, unsigned int encodedLength, unsigned int decodedLength, int &result);
SOAP_FMAC5 int SOAP_FMAC6 ns__receiveFileBase64(struct soap*, char *fileName, struct s1 **result);
SOAP_FMAC5 int SOAP_FMAC6 ns__openDocument(struct soap*, char *fileName, int waitTimeMillisec, int &result);
SOAP_FMAC5 int SOAP_FMAC6 ns__returnRegistryEvents(struct soap*, int maxEventsToReturn, struct ns__dynRegArray **result);
SOAP_FMAC5 int SOAP_FMAC6 ns__returnFileEvents(struct soap*, int maxEventsToReturn, struct ns__dynFileArray **result);
SOAP_FMAC5 int SOAP_FMAC6 ns__returnProcessEvents(struct soap*, int maxEventsToReturn, struct ns__dynProcArray **result);
SOAP_FMAC5 int SOAP_FMAC6 ns__returnEvents(struct soap*, int maxEventsToReturn, struct a1 **result);
SOAP_FMAC5 int SOAP_FMAC6 ns__sendMIME(struct soap*, int magicNumber, int &result);
/******************************************************************************\
* *
* Stubs *
* *
\******************************************************************************/
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__ping(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *a, char **result);
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__visitURL(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *URL, int &result);
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__sendFileBase64(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *fileName, char *data, unsigned int encodedLength, unsigned int decodedLength, int &result);
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__receiveFileBase64(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *fileName, struct s1 **result);
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__openDocument(struct soap *soap, const char *soap_endpoint, const char *soap_action, char *fileName, int waitTimeMillisec, int &result);
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__returnRegistryEvents(struct soap *soap, const char *soap_endpoint, const char *soap_action, int maxEventsToReturn, struct ns__dynRegArray **result);
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__returnFileEvents(struct soap *soap, const char *soap_endpoint, const char *soap_action, int maxEventsToReturn, struct ns__dynFileArray **result);
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__returnProcessEvents(struct soap *soap, const char *soap_endpoint, const char *soap_action, int maxEventsToReturn, struct ns__dynProcArray **result);
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__returnEvents(struct soap *soap, const char *soap_endpoint, const char *soap_action, int maxEventsToReturn, struct a1 **result);
SOAP_FMAC5 int SOAP_FMAC6 soap_call_ns__sendMIME(struct soap *soap, const char *soap_endpoint, const char *soap_action, int magicNumber, int &result);
/******************************************************************************\
* *
* Skeletons *
* *
\******************************************************************************/
SOAP_FMAC5 int SOAP_FMAC6 soap_serve(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_request(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__ping(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__visitURL(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__sendFileBase64(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__receiveFileBase64(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__openDocument(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__returnRegistryEvents(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__returnFileEvents(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__returnProcessEvents(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__returnEvents(struct soap*);
SOAP_FMAC5 int SOAP_FMAC6 soap_serve_ns__sendMIME(struct soap*);
#endif
/* End of soapStub.h */