summaryrefslogtreecommitdiff
path: root/usr/src/lib/libkmsagent/common/SOAP/KMS_DiscoveryStub.h
blob: d91409eb3defe8e101a08b8c5dafaa3aec07a027 (plain)
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
/*
 * CDDL HEADER START
 *
 * The contents of this file are subject to the terms of the
 * Common Development and Distribution License (the "License").
 * You may not use this file except in compliance with the License.
 *
 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
 * or http://www.opensolaris.org/os/licensing.
 * See the License for the specific language governing permissions
 * and limitations under the License.
 *
 * When distributing Covered Code, include this CDDL HEADER in each
 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
 * If applicable, add the following below this CDDL HEADER, with the
 * fields enclosed by brackets "[]" replaced with your own identifying
 * information: Portions Copyright [yyyy] [name of copyright owner]
 *
 * CDDL HEADER END
 */

/*
 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
 */

/* KMS_DiscoveryStub.h
   Generated by gSOAP 2.7.17 from ../gsoapStubs/DiscoveryService/KMS_Discovery_SOAP.h
   Copyright(C) 2000-2010, 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 KMS_DiscoveryStub_H
#define KMS_DiscoveryStub_H
#ifndef WITH_NONAMESPACES
#define WITH_NONAMESPACES
#endif
#ifndef WITH_NOGLOBAL
#define WITH_NOGLOBAL
#endif
#include "stdsoap2.h"

namespace KMS_Discovery {

/******************************************************************************\
 *                                                                            *
 * Enumerations                                                               *
 *                                                                            *
\******************************************************************************/


/******************************************************************************\
 *                                                                            *
 * Types with Custom Serializers                                              *
 *                                                                            *
\******************************************************************************/


/******************************************************************************\
 *                                                                            *
 * Classes and Structs                                                        *
 *                                                                            *
\******************************************************************************/


#if 0 /* volatile type: do not declare here, declared elsewhere */

#endif

#ifndef SOAP_TYPE_KMS_Discovery_xsd__hexBinary
#define SOAP_TYPE_KMS_Discovery_xsd__hexBinary (20)
/* hexBinary schema type: */
struct xsd__hexBinary
{
public:
	unsigned char *__ptr;
	int __size;
};
#endif

#ifndef SOAP_TYPE_KMS_Discovery_KMS_Discovery_ClusterMember
#define SOAP_TYPE_KMS_Discovery_KMS_Discovery_ClusterMember (24)
/* KMS-Discovery-ClusterMember */
struct KMS_Discovery_ClusterMember
{
public:
	LONG64 KMAID;	/* required element of type xsd:long */
	char *KMAName;	/* optional element of type xsd:string */
	char *KMASiteID;	/* optional element of type xsd:string */
	char *KMAHostName;	/* optional element of type xsd:string */
	char *KMANetworkAddress;	/* optional element of type xsd:string */
	bool Enabled;	/* required element of type xsd:boolean */
	long Load;	/* required element of type xsd:int */
	bool Responding;	/* required element of type xsd:boolean */
	char *KMAVersion;	/* optional attribute of type xsd:kmaVersion */
	char *KMAHostNameIPv6;	/* optional attribute of type xsd:networkAddress */
	char *KMANetworkAddressIPv6;	/* optional attribute of type xsd:networkAddress */
	bool KMS_Discovery__Locked;	/* optional attribute of type xsd:boolean */
};
#endif

#ifndef SOAP_TYPE_KMS_Discovery_KMS_Discovery__ArrayOfClusterMembers
#define SOAP_TYPE_KMS_Discovery_KMS_Discovery__ArrayOfClusterMembers (25)
/* Sequence of KMS-Discovery:ArrayOfClusterMembers schema type: */
struct KMS_Discovery__ArrayOfClusterMembers
{
public:
	struct KMS_Discovery_ClusterMember *__ptr;
	int __size;
};
#endif

#ifndef SOAP_TYPE_KMS_Discovery_KMS_Discovery__DiscoverClusterResponse
#define SOAP_TYPE_KMS_Discovery_KMS_Discovery__DiscoverClusterResponse (29)
/* KMS-Discovery:DiscoverClusterResponse */
struct KMS_Discovery__DiscoverClusterResponse
{
public:
	char *EntitySiteID;	/* SOAP 1.2 RPC return element (when namespace qualified) */	/* optional element of type xsd:string */
	struct KMS_Discovery__ArrayOfClusterMembers ArrayOfClusterMembers;	/* optional element of type KMS-Discovery:ArrayOfClusterMembers */
};
#endif

#ifndef SOAP_TYPE_KMS_Discovery_KMS_Discovery__DiscoverCluster
#define SOAP_TYPE_KMS_Discovery_KMS_Discovery__DiscoverCluster (32)
/* KMS-Discovery:DiscoverCluster */
struct KMS_Discovery__DiscoverCluster
{
public:
	void *_;	/* transient */
};
#endif

#ifndef SOAP_TYPE_KMS_Discovery_SOAP_ENV__Header
#define SOAP_TYPE_KMS_Discovery_SOAP_ENV__Header (33)
/* SOAP Header: */
struct SOAP_ENV__Header
{
#ifdef WITH_NOEMPTYSTRUCT
private:
	char dummy;	/* dummy member to enable compilation */
#endif
};
#endif

#ifndef SOAP_TYPE_KMS_Discovery_SOAP_ENV__Code
#define SOAP_TYPE_KMS_Discovery_SOAP_ENV__Code (34)
/* 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_KMS_Discovery_SOAP_ENV__Detail
#define SOAP_TYPE_KMS_Discovery_SOAP_ENV__Detail (36)
/* 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_KMS_Discovery_SOAP_ENV__Reason
#define SOAP_TYPE_KMS_Discovery_SOAP_ENV__Reason (37)
/* SOAP-ENV:Reason */
struct SOAP_ENV__Reason
{
public:
	char *SOAP_ENV__Text;	/* optional element of type xsd:string */
};
#endif

#ifndef SOAP_TYPE_KMS_Discovery_SOAP_ENV__Fault
#define SOAP_TYPE_KMS_Discovery_SOAP_ENV__Fault (38)
/* 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

/******************************************************************************\
 *                                                                            *
 * Typedefs                                                                   *
 *                                                                            *
\******************************************************************************/

#ifndef SOAP_TYPE_KMS_Discovery__QName
#define SOAP_TYPE_KMS_Discovery__QName (5)
typedef char *_QName;
#endif

#ifndef SOAP_TYPE_KMS_Discovery__XML
#define SOAP_TYPE_KMS_Discovery__XML (6)
typedef char *_XML;
#endif

#ifndef SOAP_TYPE_KMS_Discovery_xsd__string
#define SOAP_TYPE_KMS_Discovery_xsd__string (7)
typedef char *xsd__string;
#endif

#ifndef SOAP_TYPE_KMS_Discovery_xsd__float
#define SOAP_TYPE_KMS_Discovery_xsd__float (9)
typedef float xsd__float;
#endif

#ifndef SOAP_TYPE_KMS_Discovery_xsd__int
#define SOAP_TYPE_KMS_Discovery_xsd__int (11)
typedef long xsd__int;
#endif

#ifndef SOAP_TYPE_KMS_Discovery_xsd__boolean
#define SOAP_TYPE_KMS_Discovery_xsd__boolean (13)
typedef bool xsd__boolean;
#endif

#ifndef SOAP_TYPE_KMS_Discovery_xsd__long
#define SOAP_TYPE_KMS_Discovery_xsd__long (15)
typedef LONG64 xsd__long;
#endif

#ifndef SOAP_TYPE_KMS_Discovery_xsd__dateTime
#define SOAP_TYPE_KMS_Discovery_xsd__dateTime (16)
typedef char *xsd__dateTime;
#endif

#ifndef SOAP_TYPE_KMS_Discovery_xsd__duration
#define SOAP_TYPE_KMS_Discovery_xsd__duration (17)
typedef char *xsd__duration;
#endif

#ifndef SOAP_TYPE_KMS_Discovery_xsd__kmaVersion
#define SOAP_TYPE_KMS_Discovery_xsd__kmaVersion (18)
typedef char *xsd__kmaVersion;
#endif

#ifndef SOAP_TYPE_KMS_Discovery_xsd__networkAddress
#define SOAP_TYPE_KMS_Discovery_xsd__networkAddress (19)
typedef char *xsd__networkAddress;
#endif


/******************************************************************************\
 *                                                                            *
 * Externals                                                                  *
 *                                                                            *
\******************************************************************************/


/******************************************************************************\
 *                                                                            *
 * Server-Side Operations                                                     *
 *                                                                            *
\******************************************************************************/


SOAP_FMAC5 int SOAP_FMAC6 KMS_Discovery__DiscoverCluster(struct soap*, void *_, struct KMS_Discovery__DiscoverClusterResponse &result);

/******************************************************************************\
 *                                                                            *
 * Server-Side Skeletons to Invoke Service Operations                         *
 *                                                                            *
\******************************************************************************/

SOAP_FMAC5 int SOAP_FMAC6 KMS_Discovery_serve(struct soap*);

SOAP_FMAC5 int SOAP_FMAC6 KMS_Discovery_serve_request(struct soap*);

SOAP_FMAC5 int SOAP_FMAC6 soap_serve_KMS_Discovery__DiscoverCluster(struct soap*);

/******************************************************************************\
 *                                                                            *
 * Client-Side Call Stubs                                                     *
 *                                                                            *
\******************************************************************************/


SOAP_FMAC5 int SOAP_FMAC6 soap_call_KMS_Discovery__DiscoverCluster(struct soap *soap, const char *soap_endpoint, const char *soap_action, void *_, struct KMS_Discovery__DiscoverClusterResponse &result);

} // namespace KMS_Discovery


#endif

/* End of KMS_DiscoveryStub.h */