]> git.ipfire.org Git - thirdparty/glibc.git/blame - include/rpc/auth_des.h
Avoid use of "register" as optimization hint.
[thirdparty/glibc.git] / include / rpc / auth_des.h
CommitLineData
6b083d46
AJ
1#ifndef _RPC_AUTH_DES_H
2
9a0a462c 3#include <sunrpc/rpc/auth_des.h>
6b083d46 4
cd4c174b 5libc_hidden_proto (getpublickey)
7b57bfe5 6libc_hidden_proto (getsecretkey)
7a8bdff0 7libc_hidden_proto (rtime)
cd4c174b 8
e4aced47 9extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
2e09a79a
JM
10extern bool_t xdr_authdes_verf (XDR *xdrs,
11 struct authdes_verf *verf);
e4aced47
AJ
12struct svc_req;
13struct rpc_msg;
2e09a79a
JM
14extern 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) \
19extern enum nss_status _nss_ ## service ## _getpublickey \
7b57bfe5 20 (const char *netname, char *pkey, int *errnop); \
6b083d46 21extern enum nss_status _nss_ ## service ## _getsecretkey \
7b57bfe5 22 (const char *netname, char *skey, char *passwd, \
6b083d46
AJ
23 int *errnop);
24
25DECLARE_NSS_PROTOTYPES (files)
26DECLARE_NSS_PROTOTYPES (nis)
27DECLARE_NSS_PROTOTYPES (nisplus)
28
29#undef DECLARE_NSS_PROTOTYPES
30
7b57bfe5
UD
31libc_hidden_proto (authdes_getucred)
32libc_hidden_proto (xdr_authdes_cred)
33libc_hidden_proto (xdr_authdes_verf)
34
6b083d46 35#endif