/*
 * Portions of this file Copyright 1999-2005 University of Chicago
 * Portions of this file Copyright 1999-2005 The University of Southern California.
 *
 * This file or a portion of this file is licensed under the
 * terms of the Globus Toolkit Public License, found at
 * http://www.globus.org/toolkit/download/license.html.
 * If you redistribute this file, with or without
 * modifications, you must include this notice in the file.
 */


/*
 * This file is automatically generated by the Globus WSDLtoC convert
 */

#ifndef _DELEGATIONSERVICE_H_
#define _DELEGATIONSERVICE_H_

#include "globus_common.h"

EXTERN_C_BEGIN

#include "globus_handler.h"
#include "globus_soap_message.h"
#include "globus_xsd_type_registry.h"

#define DELEGATIONSERVICE_BASE_PATH "wsrf/services/DelegationService"

extern xsd_QName DelegationService_service_qname;

globus_result_t
DelegationService_registry_add_types(
    globus_xsd_type_registry_t          registry);

globus_result_t
DelegationService_registry_remove_types(
    globus_xsd_type_registry_t          registry);


#include "wsrl_SetTerminationTimeType.h"
#include "wsrl_SetTerminationTimeResponseType.h"
#include "wsrl_ResourceUnknownFaultType.h"
#include "wsrl_ResourceUnknownFault.h"
#include "wsrl_TerminationTimeChangeRejectedFaultType.h"
#include "wsrl_TerminationTimeChangeRejectedFault.h"
#include "wsrl_UnableToSetTerminationTimeFaultType.h"
#include "wsrl_UnableToSetTerminationTimeFault.h"
#include "wsrl_DestroyType.h"
#include "wsrl_DestroyResponseType.h"
#include "wsrl_ResourceUnknownFaultType.h"
#include "wsrl_ResourceUnknownFault.h"
#include "wsrl_ResourceNotDestroyedFaultType.h"
#include "wsrl_ResourceNotDestroyedFault.h"
#include "wst_RequestSecurityTokenType.h"
#include "wsdelegation_voidType.h"

/* fault type declaration for the SetTerminationTime operation */

typedef enum
{
    DELEGATIONPORTTYPE_SETTERMINATIONTIME_NOFAULT = 0,
    DELEGATIONPORTTYPE_SETTERMINATIONTIME_UNKNOWN_FAULT = 1,
    DELEGATIONPORTTYPE_SETTERMINATIONTIME_RESOURCEUNKNOWNFAULT,
    DELEGATIONPORTTYPE_SETTERMINATIONTIME_TERMINATIONTIMECHANGEREJECTEDFAULT,
    DELEGATIONPORTTYPE_SETTERMINATIONTIME_UNABLETOSETTERMINATIONTIMEFAULT

} DelegationPortType_SetTerminationTime_fault_t;


/* qname for operation SetTerminationTime */

extern xsd_QName DelegationPortType_SetTerminationTime_op_qname;



/* fault type declaration for the Destroy operation */

typedef enum
{
    DELEGATIONPORTTYPE_DESTROY_NOFAULT = 0,
    DELEGATIONPORTTYPE_DESTROY_UNKNOWN_FAULT = 1,
    DELEGATIONPORTTYPE_DESTROY_RESOURCEUNKNOWNFAULT,
    DELEGATIONPORTTYPE_DESTROY_RESOURCENOTDESTROYEDFAULT

} DelegationPortType_Destroy_fault_t;


/* qname for operation Destroy */

extern xsd_QName DelegationPortType_Destroy_op_qname;



/* fault type declaration for the refresh operation */

typedef enum
{
    DELEGATIONPORTTYPE_REFRESH_NOFAULT = 0,
    DELEGATIONPORTTYPE_REFRESH_UNKNOWN_FAULT = 1

} DelegationPortType_refresh_fault_t;


/* qname for operation refresh */

extern xsd_QName DelegationPortType_refresh_op_qname;


/* ResourceProperty element QNames */

extern xsd_QName DelegationPortType_CurrentTime_rp_qname;
extern struct globus_xsd_type_info_s DelegationPortType_CurrentTime_rp_info;

extern xsd_QName DelegationPortType_TerminationTime_rp_qname;
extern struct globus_xsd_type_info_s DelegationPortType_TerminationTime_rp_info;

    
EXTERN_C_END

#endif
