/* IBM_PROLOG_BEGIN_TAG */ /* This is an automatically generated prolog. */ /* */ /* onc720 src/oncplus/usr/include/tirpc/rpc/rpcsys.h 1.1 */ /* */ /* */ /* */ /* COPYRIGHT International Business Machines Corp. 1996,1999 */ /* All Rights Reserved */ /* */ /* IBM_PROLOG_END_TAG */ /* @(#)82 1.1 src/oncplus/usr/include/tirpc/rpc/rpcsys.h, onchdrs, onc720 1/21/99 14:29:18 */ /* * COMPONENT_NAME: onchdrs * * FUNCTIONS: none * * ORIGINS: 162 * */ /* * Copyright (c) 1996-1997 by Sun Microsystems, Inc. * All rights reserved. */ #ifndef _RPC_RPCSYS_H #define _RPC_RPCSYS_H #ifdef __cplusplus extern "C" { #endif enum rpcsys_op { KRPC_REVAUTH }; /* * Private definitions for the krpc_sys/rpcsys system call. * * flavor_data for AUTH_DES and AUTH_KERB is NULL. * flavor_data for RPCSEC_GSS is rpc_gss_OID. * */ struct krpc_revauth_1 { uid_t uid; int rpcsec_flavor; void *flavor_data; }; struct krpc_revauth { int version; /* initially 1 */ union { struct krpc_revauth_1 r; } krpc_revauth_u; }; #define uid_1 krpc_revauth_u.r.uid #define rpcsec_flavor_1 krpc_revauth_u.r.rpcsec_flavor #define flavor_data_1 krpc_revauth_u.r.flavor_data #ifdef __cplusplus } #endif #endif /* _RPC_RPCSYS_H */