/* Generated by IDL compiler version OSF DCE T1.1.0-03 */
#ifndef DCEAPI 
# include <dce/dcedef.h> 
#endif 
#ifndef sec_rgy_bind_v0_0_included
#define sec_rgy_bind_v0_0_included
#ifndef IDLBASE_H
#include <dce/idlbase.h>
#endif

#ifdef __cplusplus
    extern "C" {
#endif

#ifndef nbase_v0_0_included
#include <dce/nbase.h>
#endif
#ifndef rpcbase_v0_0_included
#include <dce/rpcbase.h>
#endif
#ifndef rgybase_v0_0_included
#include <dce/rgybase.h>
#endif
#ifndef sec_login_v0_0_included
#include <dce/sec_login.h>
#endif
typedef enum {sec_rgy_bind_auth_none,
sec_rgy_bind_auth_dce} sec_rgy_bind_auth_info_type_t;
typedef struct  {
sec_rgy_bind_auth_info_type_t info_type;
union  {
/* case(s): 0 */
/* Empty arm */
/* case(s): 1 */
struct  {
unsigned32 authn_level;
unsigned32 authn_svc;
unsigned32 authz_svc;
sec_login_handle_t identity;
} dce_info;
} tagged_union;
} sec_rgy_bind_auth_info_t;
extern void  DCEAPI sec_rgy_cell_bind(
#ifdef IDL_PROTOTYPES
    /* [in] */ unsigned_char_t *cell_name,
    /* [in] */ sec_rgy_bind_auth_info_t *auth_info,
    /* [out] */ sec_rgy_handle_t *context,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_site_bind(
#ifdef IDL_PROTOTYPES
    /* [in] */ unsigned_char_t *site_name,
    /* [in] */ sec_rgy_bind_auth_info_t *auth_info,
    /* [out] */ sec_rgy_handle_t *context,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_site_bind_update(
#ifdef IDL_PROTOTYPES
    /* [in] */ unsigned_char_t *site_name,
    /* [in] */ sec_rgy_bind_auth_info_t *auth_info,
    /* [out] */ sec_rgy_handle_t *context,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_site_bind_query(
#ifdef IDL_PROTOTYPES
    /* [in] */ unsigned_char_t *site_name,
    /* [in] */ sec_rgy_bind_auth_info_t *auth_info,
    /* [out] */ sec_rgy_handle_t *context,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_site_bind_from_towerv(
#ifdef IDL_PROTOTYPES
    /* [in] */ rpc_tower_vector_p_t towerv,
    /* [in] */ unsigned_char_t *cell_name,
    /* [in] */ unsigned_char_t *site_name,
    /* [in] */ sec_rgy_bind_auth_info_t *auth_info,
    /* [out] */ sec_rgy_handle_t *context,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_site_binding_get_info(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [out] */ unsigned_char_t **cell_name,
    /* [out] */ unsigned_char_t **server_name,
    /* [out] */ unsigned_char_t **string_binding,
    /* [out] */ sec_rgy_bind_auth_info_t *auth_info,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_site_open(
#ifdef IDL_PROTOTYPES
    /* [in] */ unsigned_char_t *site_name,
    /* [out] */ sec_rgy_handle_t *context,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_site_open_update(
#ifdef IDL_PROTOTYPES
    /* [in] */ unsigned_char_t *site_name,
    /* [out] */ sec_rgy_handle_t *context,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_site_open_query(
#ifdef IDL_PROTOTYPES
    /* [in] */ unsigned_char_t *site_name,
    /* [out] */ sec_rgy_handle_t *context,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_site_get(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [out] */ unsigned_char_t **site_name,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_site_close(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [out] */ error_status_t *status
#endif
);
extern boolean32  DCEAPI sec_rgy_site_is_readonly(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context
#endif
);
extern boolean32  DCEAPI sec_rgy_enable_nsi(
#ifdef IDL_PROTOTYPES
    /* [in] */ boolean32 flag
#endif
);

#ifdef __cplusplus
    }
#endif

#endif
