/* Generated by IDL compiler version OSF DCE T1.1.0-03 */
#ifndef DCEAPI 
# include <dce/dcedef.h> 
#endif 
#ifndef rplbase_v0_0_included
#define rplbase_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 rgynbase_v0_0_included
#include <dce/rgynbase.h>
#endif
#define rs_c_state_unknown_to_master (1)
#define rs_c_state_uninitialized (2)
#define rs_c_state_initializing (3)
#define rs_c_state_in_service (4)
#define rs_c_state_renaming (5)
#define rs_c_state_copying_dbase (6)
#define rs_c_state_in_maintenance (7)
#define rs_c_state_mkey_changing (8)
#define rs_c_state_becoming_master (9)
#define rs_c_state_closed (10)
#define rs_c_state_deleted (11)
#define rs_c_state_becoming_slave (12)
#define rs_c_state_dup_master (13)
typedef idl_char *rs_replica_name_p_t;
typedef idl_char rs_sw_version_t[64];
typedef struct  {
unsigned32 sw_vers;
rs_sw_version_t sw_vers_printstring;
} rs_replica_sw_vers_info_t;
#define rs_c_auth_info_krb5_ptgt (1)
typedef struct  {
unsigned32 info_type;
unsigned32 info_len;
idl_byte info[1];
} rs_replica_auth_t;
typedef rs_replica_auth_t *rs_replica_auth_p_t;
typedef struct  {
unsigned32 num_towers;
twr_p_t towers[1];
} rs_replica_twr_vec_t;
typedef rs_replica_twr_vec_t *rs_replica_twr_vec_p_t;
typedef unsigned32 rs_replica_prop_t;
#define rs_c_replica_prop_unknown (0)
#define rs_c_replica_prop_init (1)
#define rs_c_replica_prop_initing (2)
#define rs_c_replica_prop_update (3)
#define rs_c_replica_prop_delete (4)
#define rs_c_replica_prop_bad_sw_rev (5)
typedef struct  {
unsigned32 high;
unsigned32 low;
} rs_update_seqno_t;
typedef struct  {
rs_replica_prop_t prop_type;
boolean32 last_upd_inited;
rs_update_seqno_t last_upd_seqno;
sec_timeval_t last_upd_ts;
unsigned32 num_updates;
} rs_replica_prop_info_t;
typedef rs_replica_prop_info_t *rs_replica_prop_info_p_t;
typedef unsigned32 rs_replica_comm_t;
#define rs_c_replica_comm_ok (1)
#define rs_c_replica_comm_short_failure (2)
#define rs_c_replica_comm_long_failure (3)
typedef struct  {
rs_replica_comm_t comm_state;
error_status_t last_status;
signed32 twr_offset;
} rs_replica_comm_info_t;
typedef rs_replica_comm_info_t *rs_replica_comm_info_p_t;
typedef struct  {
uuid_t rep_id;
rs_replica_name_p_t rep_name;
boolean32 master;
boolean32 deleted;
rs_replica_twr_vec_p_t rep_twrs;
} rs_replica_item_t;
typedef rs_replica_item_t *rs_replica_item_p_t;
typedef struct  {
uuid_t rep_id;
rs_replica_name_p_t rep_name;
boolean32 master;
boolean32 deleted;
rs_replica_prop_info_t prop_info;
rs_replica_comm_info_t comm_info;
rs_replica_twr_vec_p_t rep_twrs;
} rs_replica_item_full_t;
typedef rs_replica_item_full_t *rs_replica_item_full_p_t;
typedef struct  {
unsigned32 rep_state;
uuid_t cell_sec_id;
uuid_t rep_id;
uuid_t init_id;
rs_update_seqno_t last_upd_seqno;
sec_timeval_t last_upd_ts;
rs_sw_version_t sw_rev;
unsigned32 compat_sw_rev;
rs_update_seqno_t base_propq_seqno;
boolean32 master;
boolean32 master_known;
uuid_t master_id;
rs_update_seqno_t master_seqno;
} rs_replica_info_t;
typedef rs_replica_info_t *rs_replica_info_p_t;
typedef struct  {
uuid_t master_id;
rs_update_seqno_t master_seqno;
unsigned32 master_compat_sw_rev;
sec_timeval_t update_ts;
rs_update_seqno_t update_seqno;
rs_update_seqno_t previous_update_seqno;
} rs_replica_master_info_t;
typedef rs_replica_master_info_t *rs_replica_master_info_p_t;

#ifdef __cplusplus
    }
#endif

#endif
