Current Path : /sys/amd64/compile/hs32/modules/usr/src/sys/modules/libalias/modules/irc/@/amd64/compile/hs32/modules/usr/src/sys/modules/nfsclient/@/amd64/compile/hs32/modules/usr/src/sys/modules/if_gif/@/amd64/compile/hs32/modules/usr/src/sys/modules/kgssapi/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //sys/amd64/compile/hs32/modules/usr/src/sys/modules/libalias/modules/irc/@/amd64/compile/hs32/modules/usr/src/sys/modules/nfsclient/@/amd64/compile/hs32/modules/usr/src/sys/modules/if_gif/@/amd64/compile/hs32/modules/usr/src/sys/modules/kgssapi/gssd_xdr.c |
/* * Please do not edit this file. * It was generated using rpcgen. */ #include "gssd.h" bool_t xdr_gssd_ctx_id_t(XDR *xdrs, gssd_ctx_id_t *objp) { if (!xdr_uint64_t(xdrs, objp)) return (FALSE); return (TRUE); } bool_t xdr_gssd_cred_id_t(XDR *xdrs, gssd_cred_id_t *objp) { if (!xdr_uint64_t(xdrs, objp)) return (FALSE); return (TRUE); } bool_t xdr_gssd_name_t(XDR *xdrs, gssd_name_t *objp) { if (!xdr_uint64_t(xdrs, objp)) return (FALSE); return (TRUE); } bool_t xdr_init_sec_context_res(XDR *xdrs, init_sec_context_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); if (!xdr_gssd_ctx_id_t(xdrs, &objp->ctx)) return (FALSE); if (!xdr_gss_OID(xdrs, &objp->actual_mech_type)) return (FALSE); if (!xdr_gss_buffer_desc(xdrs, &objp->output_token)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->ret_flags)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->time_rec)) return (FALSE); return (TRUE); } bool_t xdr_init_sec_context_args(XDR *xdrs, init_sec_context_args *objp) { if (!xdr_uint32_t(xdrs, &objp->uid)) return (FALSE); if (!xdr_gssd_cred_id_t(xdrs, &objp->cred)) return (FALSE); if (!xdr_gssd_ctx_id_t(xdrs, &objp->ctx)) return (FALSE); if (!xdr_gssd_name_t(xdrs, &objp->name)) return (FALSE); if (!xdr_gss_OID(xdrs, &objp->mech_type)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->req_flags)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->time_req)) return (FALSE); if (!xdr_gss_channel_bindings_t(xdrs, &objp->input_chan_bindings)) return (FALSE); if (!xdr_gss_buffer_desc(xdrs, &objp->input_token)) return (FALSE); return (TRUE); } bool_t xdr_accept_sec_context_res(XDR *xdrs, accept_sec_context_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); if (!xdr_gssd_ctx_id_t(xdrs, &objp->ctx)) return (FALSE); if (!xdr_gssd_name_t(xdrs, &objp->src_name)) return (FALSE); if (!xdr_gss_OID(xdrs, &objp->mech_type)) return (FALSE); if (!xdr_gss_buffer_desc(xdrs, &objp->output_token)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->ret_flags)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->time_rec)) return (FALSE); if (!xdr_gssd_cred_id_t(xdrs, &objp->delegated_cred_handle)) return (FALSE); return (TRUE); } bool_t xdr_accept_sec_context_args(XDR *xdrs, accept_sec_context_args *objp) { if (!xdr_gssd_ctx_id_t(xdrs, &objp->ctx)) return (FALSE); if (!xdr_gssd_cred_id_t(xdrs, &objp->cred)) return (FALSE); if (!xdr_gss_buffer_desc(xdrs, &objp->input_token)) return (FALSE); if (!xdr_gss_channel_bindings_t(xdrs, &objp->input_chan_bindings)) return (FALSE); return (TRUE); } bool_t xdr_delete_sec_context_res(XDR *xdrs, delete_sec_context_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); if (!xdr_gss_buffer_desc(xdrs, &objp->output_token)) return (FALSE); return (TRUE); } bool_t xdr_delete_sec_context_args(XDR *xdrs, delete_sec_context_args *objp) { if (!xdr_gssd_ctx_id_t(xdrs, &objp->ctx)) return (FALSE); return (TRUE); } bool_t xdr_sec_context_format(XDR *xdrs, sec_context_format *objp) { if (!xdr_enum(xdrs, (enum_t *)objp)) return (FALSE); return (TRUE); } bool_t xdr_export_sec_context_res(XDR *xdrs, export_sec_context_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); if (!xdr_sec_context_format(xdrs, &objp->format)) return (FALSE); if (!xdr_gss_buffer_desc(xdrs, &objp->interprocess_token)) return (FALSE); return (TRUE); } bool_t xdr_export_sec_context_args(XDR *xdrs, export_sec_context_args *objp) { if (!xdr_gssd_ctx_id_t(xdrs, &objp->ctx)) return (FALSE); return (TRUE); } bool_t xdr_import_name_res(XDR *xdrs, import_name_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); if (!xdr_gssd_name_t(xdrs, &objp->output_name)) return (FALSE); return (TRUE); } bool_t xdr_import_name_args(XDR *xdrs, import_name_args *objp) { if (!xdr_gss_buffer_desc(xdrs, &objp->input_name_buffer)) return (FALSE); if (!xdr_gss_OID(xdrs, &objp->input_name_type)) return (FALSE); return (TRUE); } bool_t xdr_canonicalize_name_res(XDR *xdrs, canonicalize_name_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); if (!xdr_gssd_name_t(xdrs, &objp->output_name)) return (FALSE); return (TRUE); } bool_t xdr_canonicalize_name_args(XDR *xdrs, canonicalize_name_args *objp) { if (!xdr_gssd_name_t(xdrs, &objp->input_name)) return (FALSE); if (!xdr_gss_OID(xdrs, &objp->mech_type)) return (FALSE); return (TRUE); } bool_t xdr_export_name_res(XDR *xdrs, export_name_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); if (!xdr_gss_buffer_desc(xdrs, &objp->exported_name)) return (FALSE); return (TRUE); } bool_t xdr_export_name_args(XDR *xdrs, export_name_args *objp) { if (!xdr_gssd_name_t(xdrs, &objp->input_name)) return (FALSE); return (TRUE); } bool_t xdr_release_name_res(XDR *xdrs, release_name_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); return (TRUE); } bool_t xdr_release_name_args(XDR *xdrs, release_name_args *objp) { if (!xdr_gssd_name_t(xdrs, &objp->input_name)) return (FALSE); return (TRUE); } bool_t xdr_pname_to_uid_res(XDR *xdrs, pname_to_uid_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->uid)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->gid)) return (FALSE); if (!xdr_array(xdrs, (char **)&objp->gidlist.gidlist_val, (u_int *) &objp->gidlist.gidlist_len, ~0, sizeof (uint32_t), (xdrproc_t) xdr_uint32_t)) return (FALSE); return (TRUE); } bool_t xdr_pname_to_uid_args(XDR *xdrs, pname_to_uid_args *objp) { if (!xdr_gssd_name_t(xdrs, &objp->pname)) return (FALSE); if (!xdr_gss_OID(xdrs, &objp->mech)) return (FALSE); return (TRUE); } bool_t xdr_acquire_cred_res(XDR *xdrs, acquire_cred_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); if (!xdr_gssd_cred_id_t(xdrs, &objp->output_cred)) return (FALSE); if (!xdr_gss_OID_set(xdrs, &objp->actual_mechs)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->time_rec)) return (FALSE); return (TRUE); } bool_t xdr_acquire_cred_args(XDR *xdrs, acquire_cred_args *objp) { if (!xdr_uint32_t(xdrs, &objp->uid)) return (FALSE); if (!xdr_gssd_name_t(xdrs, &objp->desired_name)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->time_req)) return (FALSE); if (!xdr_gss_OID_set(xdrs, &objp->desired_mechs)) return (FALSE); if (!xdr_int(xdrs, &objp->cred_usage)) return (FALSE); return (TRUE); } bool_t xdr_set_cred_option_res(XDR *xdrs, set_cred_option_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); return (TRUE); } bool_t xdr_set_cred_option_args(XDR *xdrs, set_cred_option_args *objp) { if (!xdr_gssd_cred_id_t(xdrs, &objp->cred)) return (FALSE); if (!xdr_gss_OID(xdrs, &objp->option_name)) return (FALSE); if (!xdr_gss_buffer_desc(xdrs, &objp->option_value)) return (FALSE); return (TRUE); } bool_t xdr_release_cred_res(XDR *xdrs, release_cred_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); return (TRUE); } bool_t xdr_release_cred_args(XDR *xdrs, release_cred_args *objp) { if (!xdr_gssd_cred_id_t(xdrs, &objp->cred)) return (FALSE); return (TRUE); } bool_t xdr_display_status_res(XDR *xdrs, display_status_res *objp) { if (!xdr_uint32_t(xdrs, &objp->major_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->minor_status)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->message_context)) return (FALSE); if (!xdr_gss_buffer_desc(xdrs, &objp->status_string)) return (FALSE); return (TRUE); } bool_t xdr_display_status_args(XDR *xdrs, display_status_args *objp) { if (!xdr_uint32_t(xdrs, &objp->status_value)) return (FALSE); if (!xdr_int(xdrs, &objp->status_type)) return (FALSE); if (!xdr_gss_OID(xdrs, &objp->mech_type)) return (FALSE); if (!xdr_uint32_t(xdrs, &objp->message_context)) return (FALSE); return (TRUE); }