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