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