/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
%#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef RPC_XDR
%#include "iprop.h"
#endif /* RPC_XDR */
/*
* Initial declarations
*/
#ifndef RPC_HDR
typedef short int16_t;
typedef unsigned short uint16_t;
typedef int int32_t;
typedef unsigned int uint32_t;
#endif /* !RPC_HDR */
/*
* Transaction log serial no.
*/
/* Timestamp */
struct kdbe_time_t {
};
/* Key Data */
struct kdbe_key_t {
};
/* Content data */
struct kdbe_data_t {
};
/* Principal Data */
struct kdbe_princ_t {
};
/* TL data (pre-auth specific data) */
struct kdbe_tl_t {
};
/* Structure to store pwd history */
typedef kdbe_key_t kdbe_pw_hist_t<>;
/* Basic KDB entry attributes */
enum kdbe_attr_type_t {
AT_ATTRFLAGS = 0,
AT_MAX_LIFE = 1,
AT_MAX_RENEW_LIFE = 2,
AT_EXP = 3,
AT_PW_EXP = 4,
AT_LAST_SUCCESS = 5,
AT_LAST_FAILED = 6,
AT_FAIL_AUTH_COUNT = 7,
AT_PRINC = 8,
AT_KEYDATA = 9,
AT_TL_DATA = 10,
AT_LEN = 11,
AT_MOD_PRINC = 12,
AT_MOD_TIME = 13,
AT_MOD_WHERE = 14,
AT_PW_LAST_CHANGE = 15,
AT_PW_POLICY = 16,
AT_PW_POLICY_SWITCH = 17,
AT_PW_HIST_KVNO = 18,
AT_PW_HIST = 19
};
/* KDB entry, Attribute=value */
case AT_ATTRFLAGS:
case AT_MAX_LIFE:
case AT_MAX_RENEW_LIFE:
case AT_EXP:
case AT_PW_EXP:
case AT_LAST_SUCCESS:
case AT_LAST_FAILED:
case AT_FAIL_AUTH_COUNT:
case AT_PRINC:
case AT_KEYDATA:
case AT_TL_DATA:
case AT_LEN:
case AT_PW_LAST_CHANGE:
case AT_MOD_PRINC:
case AT_MOD_TIME:
case AT_MOD_WHERE:
case AT_PW_POLICY:
case AT_PW_POLICY_SWITCH:
bool av_pw_policy_switch;
case AT_PW_HIST_KVNO:
case AT_PW_HIST:
default:
};
/*
* Incremental update
*/
struct kdb_incr_update_t {
bool kdb_deleted; /* Is this update a DELETION ? */
bool kdb_commit; /* Is the entry committed or not ? */
/* seen this update - for */
/* future use */
};
/*
* Update log body
*/
typedef kdb_incr_update_t kdb_ulog_t<>;
enum update_status_t {
UPDATE_OK = 0,
UPDATE_ERROR = 1,
UPDATE_BUSY = 3,
UPDATE_NIL = 4,
};
struct kdb_last_t {
};
struct kdb_incr_result_t {
};
struct kdb_fullresync_result_t {
};
/*
* NULL procedure
*/
void
IPROP_NULL(void) = 0;
/*
* Keep waiting for and get next incremental update(s)
*
* Will return latest kdb_vers on the master (if different),
* alongwith return value and affected db entries.
*/
/*
* We need to do the full-resync of the db, since the
* serial nos./timestamps are way out-of-whack
*/
IPROP_FULL_RESYNC(void) = 2;
} = 1;
} = 100423;