Back to index

glibc  2.9
auth_des.h
Go to the documentation of this file.
00001 #ifndef _RPC_AUTH_DES_H
00002 
00003 #include <sunrpc/rpc/auth_des.h>
00004 
00005 libc_hidden_proto (getpublickey)
00006 libc_hidden_proto (rtime)
00007 
00008 extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
00009 extern bool_t xdr_authdes_verf (register XDR *xdrs,
00010                             register struct authdes_verf *verf);
00011 struct svc_req;
00012 struct rpc_msg;
00013 extern enum auth_stat _svcauth_des (register struct svc_req *rqst,
00014                                 register struct rpc_msg *msg);
00015 
00016 
00017 #define DECLARE_NSS_PROTOTYPES(service)                               \
00018 extern enum nss_status _nss_ ## service ## _getpublickey              \
00019                        (const char *netname, char *pkey, int *errnop);       \
00020 extern enum nss_status _nss_ ## service ## _getsecretkey              \
00021                        (const char *netname, char *skey, char *passwd,       \
00022                      int *errnop);
00023 
00024 DECLARE_NSS_PROTOTYPES (files)
00025 DECLARE_NSS_PROTOTYPES (nis)
00026 DECLARE_NSS_PROTOTYPES (nisplus)
00027 
00028 #undef DECLARE_NSS_PROTOTYPES
00029 
00030 #endif