/* Generated by IDL compiler version OSF DCE T1.1.0-03 */
#ifndef DCEAPI 
# include <dce/dcedef.h> 
#endif 
#ifndef sec_rgy_acct_v0_0_included
#define sec_rgy_acct_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 rgybase_v0_0_included
#include <dce/rgybase.h>
#endif
extern void  DCEAPI sec_rgy_acct_add(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [in] */ sec_rgy_login_name_t *login_name,
    /* [in, out] */ sec_rgy_acct_key_t *key_parts,
    /* [in] */ sec_rgy_acct_user_t *user_part,
    /* [in] */ sec_rgy_acct_admin_t *admin_part,
    /* [in] */ sec_passwd_rec_t *caller_key,
    /* [in] */ sec_passwd_rec_t *new_key,
    /* [in] */ sec_passwd_type_t new_keytype,
    /* [out] */ sec_passwd_version_t *new_key_version,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_acct_user_replace(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [in] */ sec_rgy_login_name_t *login_name,
    /* [in] */ sec_rgy_acct_user_t *user_part,
    /* [in] */ boolean32 set_password,
    /* [in] */ sec_passwd_rec_t *caller_key,
    /* [in] */ sec_passwd_rec_t *new_key,
    /* [in] */ sec_passwd_type_t new_keytype,
    /* [out] */ sec_passwd_version_t *new_key_version,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_acct_admin_replace(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [in] */ sec_rgy_login_name_t *login_name,
    /* [in, out] */ sec_rgy_acct_key_t *key_parts,
    /* [in] */ sec_rgy_acct_admin_t *admin_part,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_acct_replace_all(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [in] */ sec_rgy_login_name_t *login_name,
    /* [in, out] */ sec_rgy_acct_key_t *key_parts,
    /* [in] */ sec_rgy_acct_user_t *user_part,
    /* [in] */ sec_rgy_acct_admin_t *admin_part,
    /* [in] */ boolean32 set_password,
    /* [in] */ sec_passwd_rec_t *caller_key,
    /* [in] */ sec_passwd_rec_t *new_key,
    /* [in] */ sec_passwd_type_t new_keytype,
    /* [out] */ sec_passwd_version_t *new_key_version,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_acct_delete(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [in] */ sec_rgy_login_name_t *login_name,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_acct_rename(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [in] */ sec_rgy_login_name_t *old_login_name,
    /* [in] */ sec_rgy_login_name_t *new_login_name,
    /* [in, out] */ sec_rgy_acct_key_t *new_key_parts,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_acct_passwd(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [in] */ sec_rgy_login_name_t *login_name,
    /* [in] */ sec_passwd_rec_t *caller_key,
    /* [in] */ sec_passwd_rec_t *new_key,
    /* [in] */ sec_passwd_type_t new_keytype,
    /* [out] */ sec_passwd_version_t *new_key_version,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_acct_get_projlist(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [in] */ sec_rgy_login_name_t *login_name,
    /* [in, out] */ sec_rgy_cursor_t *projlist_cursor,
    /* [in] */ signed32 max_number,
    /* [out] */ signed32 *supplied_number,
    /* [out] */ uuid_t id_projlist[],
    /* [out] */ signed32 unix_projlist[],
    /* [out] */ signed32 *num_projects,
    /* [out] */ error_status_t *status
#endif
);
extern void  DCEAPI sec_rgy_acct_lookup(
#ifdef IDL_PROTOTYPES
    /* [in] */ sec_rgy_handle_t context,
    /* [in] */ sec_rgy_login_name_t *name_key,
    /* [in, out] */ sec_rgy_cursor_t *account_cursor,
    /* [out] */ sec_rgy_login_name_t *name_result,
    /* [out] */ sec_rgy_sid_t *id_sid,
    /* [out] */ sec_rgy_unix_sid_t *unix_sid,
    /* [out] */ sec_rgy_acct_key_t *key_parts,
    /* [out] */ sec_rgy_acct_user_t *user_part,
    /* [out] */ sec_rgy_acct_admin_t *admin_part,
    /* [out] */ error_status_t *status
#endif
);

#ifdef __cplusplus
    }
#endif

#endif
