view usr/src/lib/libkmsagent/common/SOAP/KMS_DiscoveryStub.h @ 12720:3db6e0082404

PSARC 2010/195 PKCS11 KMS Provider 6944296 Solaris needs a PKCS#11 provider to allow access to KMS keystore functionality
author Wyllys Ingersoll <Wyllys.Ingersoll@Sun.COM>
date Mon, 28 Jun 2010 16:04:11 -0700
parents
children
line wrap: on
line source

/*
 * 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 */