typedef struct _osa_policy_ent_t {
int version;
char *name;
- rpc_u_int32 pw_min_life;
- rpc_u_int32 pw_max_life;
- rpc_u_int32 pw_min_length;
- rpc_u_int32 pw_min_classes;
- rpc_u_int32 pw_history_num;
- rpc_u_int32 policy_refcnt;
+ uint32_t pw_min_life;
+ uint32_t pw_max_life;
+ uint32_t pw_min_length;
+ uint32_t pw_min_classes;
+ uint32_t pw_history_num;
+ uint32_t policy_refcnt;
} osa_policy_ent_rec, *osa_policy_ent_t;
typedef void (*osa_adb_iter_princ_func) (void *, osa_princ_ent_t);
{
/* Assumes that krb5_ui_4 and u_int32 are both four bytes long.
This should not be a harmful assumption. */
- return xdr_u_int32(xdrs, (rpc_u_int32 *) objp);
+ return xdr_u_int32(xdrs, (uint32_t *) objp);
}
/* This assumes that int32 and krb5_timestamp are the same size.
This shouldn't be a problem, since we've got a unit test which
checks for this. */
- if (!xdr_int32(xdrs, (rpc_int32 *) objp)) {
+ if (!xdr_int32(xdrs, (int32_t *) objp)) {
return (FALSE);
}
return (TRUE);
/* This assumes that int32 and krb5_deltat are the same size.
This shouldn't be a problem, since we've got a unit test which
checks for this. */
- if (!xdr_int32(xdrs, (rpc_int32 *) objp)) {
+ if (!xdr_int32(xdrs, (int32_t *) objp)) {
return (FALSE);
}
return (TRUE);
/* This assumes that int32 and krb5_flags are the same size.
This shouldn't be a problem, since we've got a unit test which
checks for this. */
- if (!xdr_int32(xdrs, (rpc_int32 *) objp)) {
+ if (!xdr_int32(xdrs, (int32_t *) objp)) {
return (FALSE);
}
return (TRUE);
bool_t
xdr_krb5_ui_4(XDR *xdrs, krb5_ui_4 *objp)
{
- if (!xdr_u_int32(xdrs, (rpc_u_int32 *) objp)) {
+ if (!xdr_u_int32(xdrs, (uint32_t *) objp)) {
return (FALSE);
}
return (TRUE);
bool_t
xdr_kadm5_ret_t(XDR *xdrs, kadm5_ret_t *objp)
{
- rpc_u_int32 tmp;
+ uint32_t tmp;
if (xdrs->x_op == XDR_ENCODE)
- tmp = (rpc_u_int32) *objp;
+ tmp = (uint32_t) *objp;
if (!xdr_u_int32(xdrs, &tmp))
return (FALSE);
bool_t
xdr_krb5_salttype(XDR *xdrs, krb5_int32 *objp)
{
- if (!xdr_int32(xdrs, (rpc_int32 *) objp))
+ if (!xdr_int32(xdrs, (int32_t *) objp))
return FALSE;
return TRUE;
}