* sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-bp.d.
[glibc.git] / include / rpc / auth_des.h
blob6dee05961dd87590ed66733f0ec8791484b5e1c0
1 #ifndef _RPC_AUTH_DES_H
3 #include <sunrpc/rpc/auth_des.h>
5 libc_hidden_proto (getpublickey)
6 libc_hidden_proto (rtime)
8 extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
9 extern bool_t xdr_authdes_verf (register XDR *xdrs,
10 register struct authdes_verf *verf);
11 struct svc_req;
12 struct rpc_msg;
13 extern enum auth_stat _svcauth_des (register struct svc_req *rqst,
14 register struct rpc_msg *msg);
17 #define DECLARE_NSS_PROTOTYPES(service) \
18 extern enum nss_status _nss_ ## service ## _getpublickey \
19 (const char *netname, char *pkey, int *errnop); \
20 extern enum nss_status _nss_ ## service ## _getsecretkey \
21 (const char *netname, char *skey, char *passwd, \
22 int *errnop);
24 DECLARE_NSS_PROTOTYPES (files)
25 DECLARE_NSS_PROTOTYPES (nis)
26 DECLARE_NSS_PROTOTYPES (nisplus)
28 #undef DECLARE_NSS_PROTOTYPES
30 #endif