xref: /titanic_52/usr/src/lib/krb5/kadm5/admin_xdr.h (revision bdfc6d18da790deeec2e0eb09c625902defe2498)
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.5 1996/07/22 20:35:33 marc Exp $
25  *
26  * $Log: admin_xdr.h,v $
27  * Revision 1.5  1996/07/22 20:35:33  marc
28  * this commit includes all the changes on the OV_9510_INTEGRATION and
29  * OV_MERGE branches.  This includes, but is not limited to, the new openvision
30  * admin system, and major changes to gssapi to add functionality, and bring
31  * the implementation in line with rfc1964.  before committing, the
32  * code was built and tested for netbsd and solaris.
33  *
34  * Revision 1.4.4.1  1996/07/18 03:08:25  marc
35  * merged in changes from OV_9510_BP to OV_9510_FINAL1
36  *
37  * Revision 1.4.2.1  1996/06/20  02:16:37  marc
38  * File added to the repository on a branch
39  *
40  * Revision 1.4  1996/05/30  16:36:34  bjaspan
41  * finish updating to kadm5 naming (oops)
42  *
43  * Revision 1.3  1996/05/22 00:28:19  bjaspan
44  * rename to kadm5
45  *
46  * Revision 1.2  1996/05/12 06:30:10  marc
47  *  - fixup includes and data types to match beta6
48  *
49  * Revision 1.1  1993/11/09  04:06:01  shanzer
50  * Initial revision
51  *
52  */
53 
54 #include    <kadm5/admin.h>
55 #include    "kadm_rpc.h"
56 
57 bool_t	    xdr_nullstring(XDR *xdrs, char **objp);
58 bool_t	    xdr_krb5_timestamp(XDR *xdrs, krb5_timestamp *objp);
59 bool_t	    xdr_krb5_kvno(XDR *xdrs, krb5_kvno *objp);
60 bool_t	    xdr_krb5_deltat(XDR *xdrs, krb5_deltat *objp);
61 bool_t	    xdr_krb5_flags(XDR *xdrs, krb5_flags *objp);
62 bool_t	    xdr_kadm5_ret_t(XDR *xdrs, kadm5_ret_t *objp);
63 bool_t	    xdr_kadm5_principal_ent_rec(XDR *xdrs, kadm5_principal_ent_rec *objp);
64 bool_t	    xdr_kadm5_policy_ent_rec(XDR *xdrs, kadm5_policy_ent_rec *objp);
65 bool_t	    xdr_kadm5_policy_ent_t(XDR *xdrs, kadm5_policy_ent_t *objp);
66 bool_t	    xdr_kadm5_principal_ent_t(XDR *xdrs, kadm5_principal_ent_t *objp);
67 bool_t	    xdr_cprinc_arg(XDR *xdrs, cprinc_arg *objp);
68 bool_t	    xdr_dprinc_arg(XDR *xdrs, dprinc_arg *objp);
69 bool_t	    xdr_mprinc_arg(XDR *xdrs, mprinc_arg *objp);
70 bool_t	    xdr_rprinc_arg(XDR *xdrs, rprinc_arg *objp);
71 bool_t	    xdr_chpass_arg(XDR *xdrs, chpass_arg *objp);
72 bool_t	    xdr_chrand_arg(XDR *xdrs, chrand_arg *objp);
73 bool_t	    xdr_chrand_ret(XDR *xdrs, chrand_ret *objp);
74 bool_t	    xdr_gprinc_arg(XDR *xdrs, gprinc_arg *objp);
75 bool_t	    xdr_gprinc_arg(XDR *xdrs, gprinc_arg *objp);
76 bool_t	    xdr_cpol_arg(XDR *xdrs, cpol_arg *objp);
77 bool_t	    xdr_dpol_arg(XDR *xdrs, dpol_arg *objp);
78 bool_t	    xdr_mpol_arg(XDR *xdrs, mpol_arg *objp);
79 bool_t	    xdr_gpol_arg(XDR *xdrs, gpol_arg *objp);
80 bool_t	    xdr_gpol_ret(XDR *xdrs, gpol_ret *objp);
81 bool_t	    xdr_krb5_principal(XDR *xdrs, krb5_principal *objp);
82 bool_t	    xdr_krb5_octet(XDR *xdrs, krb5_octet *objp);
83 bool_t	    xdr_krb5_int32(XDR *xdrs, krb5_int32 *objp);
84 bool_t	    xdr_krb5_enctype(XDR *xdrs, krb5_enctype *objp);
85 bool_t	    xdr_krb5_keyblock(XDR *xdrs, krb5_keyblock *objp);
86