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