]> git.ipfire.org Git - thirdparty/glibc.git/blob - include/rpc/auth_des.h
2002-08-05 Roland McGrath <roland@redhat.com>
[thirdparty/glibc.git] / include / rpc / auth_des.h
1 #ifndef _RPC_AUTH_DES_H
2
3 #include <sunrpc/rpc/auth_des.h>
4
5 libc_hidden_proto (getpublickey)
6
7 extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
8 extern bool_t xdr_authdes_verf (register XDR *xdrs,
9 register struct authdes_verf *verf);
10 struct svc_req;
11 struct rpc_msg;
12 extern enum auth_stat _svcauth_des (register struct svc_req *rqst,
13 register struct rpc_msg *msg);
14
15
16 #define DECLARE_NSS_PROTOTYPES(service) \
17 extern enum nss_status _nss_ ## service ## _getpublickey \
18 (const char *netname, char *pkey, int *errnop); \
19 extern enum nss_status _nss_ ## service ## _getsecretkey \
20 (const char *netname, char *skey, char *passwd, \
21 int *errnop);
22
23 DECLARE_NSS_PROTOTYPES (files)
24 DECLARE_NSS_PROTOTYPES (nis)
25 DECLARE_NSS_PROTOTYPES (nisplus)
26
27 #undef DECLARE_NSS_PROTOTYPES
28
29 #endif