aboutsummaryrefslogtreecommitdiff
path: root/include/rpc/auth_des.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-04-16 21:59:36 -0400
committerUlrich Drepper <drepper@gmail.com>2011-04-16 21:59:36 -0400
commit7b57bfe5988e476ea40934457dfd1c8a231e2391 (patch)
tree33dbec2b9a1a8fd8472a214945090f31d5372a8e /include/rpc/auth_des.h
parente6c61494125126d2ba77e5d99f83887a2ed49783 (diff)
downloadglibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.tar
glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.tar.gz
glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.tar.bz2
glibc-7b57bfe5988e476ea40934457dfd1c8a231e2391.zip
Obsolete RPC implementation in libc.
Diffstat (limited to 'include/rpc/auth_des.h')
-rw-r--r--include/rpc/auth_des.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/rpc/auth_des.h b/include/rpc/auth_des.h
index 6dee05961d..c14f069668 100644
--- a/include/rpc/auth_des.h
+++ b/include/rpc/auth_des.h
@@ -3,6 +3,7 @@
#include <sunrpc/rpc/auth_des.h>
libc_hidden_proto (getpublickey)
+libc_hidden_proto (getsecretkey)
libc_hidden_proto (rtime)
extern bool_t xdr_authdes_cred (XDR *xdrs, struct authdes_cred *cred);
@@ -16,9 +17,9 @@ extern enum auth_stat _svcauth_des (register struct svc_req *rqst,
#define DECLARE_NSS_PROTOTYPES(service) \
extern enum nss_status _nss_ ## service ## _getpublickey \
- (const char *netname, char *pkey, int *errnop); \
+ (const char *netname, char *pkey, int *errnop); \
extern enum nss_status _nss_ ## service ## _getsecretkey \
- (const char *netname, char *skey, char *passwd, \
+ (const char *netname, char *skey, char *passwd, \
int *errnop);
DECLARE_NSS_PROTOTYPES (files)
@@ -27,4 +28,8 @@ DECLARE_NSS_PROTOTYPES (nisplus)
#undef DECLARE_NSS_PROTOTYPES
+libc_hidden_proto (authdes_getucred)
+libc_hidden_proto (xdr_authdes_cred)
+libc_hidden_proto (xdr_authdes_verf)
+
#endif