xref: /titanic_51/usr/src/lib/krb5/kadm5/admin_xdr.h (revision 8a8d276f8934b606981d1c46b57c2eda30c67610)
1 #pragma ident	"%Z%%M%	%I%	%E% SMI"
2 
3 /*
4  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
5  *
6  *	Openvision retains the copyright to derivative works of
7  *	this source code.  Do *NOT* create a derivative of this
8  *	source code before consulting with your legal department.
9  *	Do *NOT* integrate *ANY* of this source code into another
10  *	product before consulting with your legal department.
11  *
12  *	For further information, read the top-level Openvision
13  *	copyright which is contained in the top-level MIT Kerberos
14  *	copyright.
15  *
16  * WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
17  *
18  */
19 
20 
21 /*
22  * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved
23  *
24  * $Header: /cvs/krbdev/krb5/src/lib/kadm5/admin_xdr.h,v 1.7 2001/07/25 19:02:29 epeisach Exp $
25  *
26  */
27 
28 #include    <kadm5/admin.h>
29 #include    "kadm_rpc.h"
30 
31 bool_t      xdr_ui_4(XDR *xdrs, krb5_ui_4 *objp);
32 bool_t	    xdr_nullstring(XDR *xdrs, char **objp);
33 bool_t      xdr_nulltype(XDR *xdrs, void **objp, xdrproc_t proc);
34 bool_t	    xdr_krb5_timestamp(XDR *xdrs, krb5_timestamp *objp);
35 bool_t	    xdr_krb5_kvno(XDR *xdrs, krb5_kvno *objp);
36 bool_t	    xdr_krb5_deltat(XDR *xdrs, krb5_deltat *objp);
37 bool_t	    xdr_krb5_flags(XDR *xdrs, krb5_flags *objp);
38 bool_t      xdr_krb5_ui_4(XDR *xdrs, krb5_ui_4 *objp);
39 bool_t      xdr_krb5_int16(XDR *xdrs, krb5_int16 *objp);
40 bool_t      xdr_krb5_ui_2(XDR *xdrs, krb5_ui_2 *objp);
41 bool_t      xdr_krb5_key_data_nocontents(XDR *xdrs, krb5_key_data *objp);
42 bool_t      xdr_krb5_key_salt_tuple(XDR *xdrs, krb5_key_salt_tuple *objp);
43 bool_t      xdr_krb5_tl_data(XDR *xdrs, krb5_tl_data **tl_data_head);
44 bool_t	    xdr_kadm5_ret_t(XDR *xdrs, kadm5_ret_t *objp);
45 bool_t      xdr_kadm5_principal_ent_rec_v1(XDR *xdrs, kadm5_principal_ent_rec *objp);
46 bool_t	    xdr_kadm5_principal_ent_rec(XDR *xdrs, kadm5_principal_ent_rec *objp);
47 bool_t	    xdr_kadm5_policy_ent_rec(XDR *xdrs, kadm5_policy_ent_rec *objp);
48 bool_t	    xdr_kadm5_policy_ent_t(XDR *xdrs, kadm5_policy_ent_t *objp);
49 bool_t	    xdr_kadm5_principal_ent_t(XDR *xdrs, kadm5_principal_ent_t *objp);
50 bool_t	    xdr_cprinc_arg(XDR *xdrs, cprinc_arg *objp);
51 bool_t      xdr_cprinc3_arg(XDR *xdrs, cprinc3_arg *objp);
52 bool_t      xdr_generic_ret(XDR *xdrs, generic_ret *objp);
53 bool_t	    xdr_dprinc_arg(XDR *xdrs, dprinc_arg *objp);
54 bool_t	    xdr_mprinc_arg(XDR *xdrs, mprinc_arg *objp);
55 bool_t	    xdr_rprinc_arg(XDR *xdrs, rprinc_arg *objp);
56 bool_t	    xdr_chpass_arg(XDR *xdrs, chpass_arg *objp);
57 bool_t      xdr_chpass3_arg(XDR *xdrs, chpass3_arg *objp);
58 bool_t      xdr_setv4key_arg(XDR *xdrs, setv4key_arg *objp);
59 bool_t      xdr_setkey_arg(XDR *xdrs, setkey_arg *objp);
60 bool_t      xdr_setkey3_arg(XDR *xdrs, setkey3_arg *objp);
61 bool_t	    xdr_chrand_arg(XDR *xdrs, chrand_arg *objp);
62 bool_t      xdr_chrand3_arg(XDR *xdrs, chrand3_arg *objp);
63 bool_t	    xdr_chrand_ret(XDR *xdrs, chrand_ret *objp);
64 bool_t	    xdr_gprinc_arg(XDR *xdrs, gprinc_arg *objp);
65 bool_t      xdr_gprinc_ret(XDR *xdrs, gprinc_ret *objp);
66 bool_t	    xdr_gprincs_arg(XDR *xdrs, gprincs_arg *objp);
67 bool_t      xdr_gprincs_ret(XDR *xdrs, gprincs_ret *objp);
68 bool_t	    xdr_cpol_arg(XDR *xdrs, cpol_arg *objp);
69 bool_t	    xdr_dpol_arg(XDR *xdrs, dpol_arg *objp);
70 bool_t	    xdr_mpol_arg(XDR *xdrs, mpol_arg *objp);
71 bool_t	    xdr_gpol_arg(XDR *xdrs, gpol_arg *objp);
72 bool_t	    xdr_gpol_ret(XDR *xdrs, gpol_ret *objp);
73 bool_t      xdr_gpols_arg(XDR *xdrs, gpols_arg *objp);
74 bool_t      xdr_gpols_ret(XDR *xdrs, gpols_ret *objp);
75 bool_t      xdr_getprivs_ret(XDR *xdrs, getprivs_ret *objp);
76 bool_t	    xdr_krb5_principal(XDR *xdrs, krb5_principal *objp);
77 bool_t	    xdr_krb5_octet(XDR *xdrs, krb5_octet *objp);
78 bool_t	    xdr_krb5_int32(XDR *xdrs, krb5_int32 *objp);
79 bool_t	    xdr_krb5_enctype(XDR *xdrs, krb5_enctype *objp);
80 bool_t      xdr_krb5_salttype(XDR *xdrs, krb5_int32 *objp);
81 bool_t	    xdr_krb5_keyblock(XDR *xdrs, krb5_keyblock *objp);
82