]>
Commit | Line | Data |
---|---|---|
6b083d46 AJ |
1 | #ifndef _RPC_AUTH_DES_H |
2 | ||
9a0a462c | 3 | #include <sunrpc/rpc/auth_des.h> |
6b083d46 | 4 | |
cd4c174b | 5 | libc_hidden_proto (getpublickey) |
7b57bfe5 | 6 | libc_hidden_proto (getsecretkey) |
7a8bdff0 | 7 | libc_hidden_proto (rtime) |
cd4c174b | 8 | |
e4aced47 | 9 | extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred); |
2e09a79a JM |
10 | extern bool_t xdr_authdes_verf (XDR *xdrs, |
11 | struct authdes_verf *verf); | |
e4aced47 AJ |
12 | struct svc_req; |
13 | struct rpc_msg; | |
2e09a79a JM |
14 | extern enum auth_stat _svcauth_des (struct svc_req *rqst, |
15 | struct rpc_msg *msg); | |
e4aced47 AJ |
16 | |
17 | ||
6b083d46 AJ |
18 | #define DECLARE_NSS_PROTOTYPES(service) \ |
19 | extern enum nss_status _nss_ ## service ## _getpublickey \ | |
7b57bfe5 | 20 | (const char *netname, char *pkey, int *errnop); \ |
6b083d46 | 21 | extern enum nss_status _nss_ ## service ## _getsecretkey \ |
7b57bfe5 | 22 | (const char *netname, char *skey, char *passwd, \ |
6b083d46 AJ |
23 | int *errnop); |
24 | ||
25 | DECLARE_NSS_PROTOTYPES (files) | |
26 | DECLARE_NSS_PROTOTYPES (nis) | |
27 | DECLARE_NSS_PROTOTYPES (nisplus) | |
28 | ||
29 | #undef DECLARE_NSS_PROTOTYPES | |
30 | ||
7b57bfe5 UD |
31 | libc_hidden_proto (authdes_getucred) |
32 | libc_hidden_proto (xdr_authdes_cred) | |
33 | libc_hidden_proto (xdr_authdes_verf) | |
34 | ||
6b083d46 | 35 | #endif |