summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/rpc/auth.h17
-rw-r--r--include/rpc/rpc_com.h1
2 files changed, 14 insertions, 4 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h
index a210a5e..ce20370 100644
--- a/include/rpc/auth.h
+++ b/include/rpc/auth.h
@@ -267,7 +267,7 @@ extern AUTH *authdes_seccreate (const char *, const u_int, const char *,
__END_DECLS
__BEGIN_DECLS
-extern bool_t xdr_opaque_auth __P((XDR *, struct opaque_auth *));
+extern bool_t xdr_opaque_auth (XDR *, struct opaque_auth *);
__END_DECLS
#define authsys_create(c,i1,i2,i3,ip) authunix_create((c),(i1),(i2),(i3),(ip))
@@ -298,6 +298,15 @@ extern int key_setsecret(const char *);
extern int key_secretkey_is_set(void);
__END_DECLS
+/*
+ * Publickey routines.
+ */
+__BEGIN_DECLS
+extern int getpublickey (const char *, char *);
+extern int getpublicandprivatekey (char *, char *);
+extern int getsecretkey (char *, char *, char *);
+__END_DECLS
+
#ifdef KERBEROS
/*
* Kerberos style authentication
@@ -334,9 +343,9 @@ __END_DECLS
__BEGIN_DECLS
struct svc_req;
struct rpc_msg;
-enum auth_stat _svcauth_null __P((struct svc_req *, struct rpc_msg *));
-enum auth_stat _svcauth_short __P((struct svc_req *, struct rpc_msg *));
-enum auth_stat _svcauth_unix __P((struct svc_req *, struct rpc_msg *));
+enum auth_stat _svcauth_null (struct svc_req *, struct rpc_msg *);
+enum auth_stat _svcauth_short (struct svc_req *, struct rpc_msg *);
+enum auth_stat _svcauth_unix (struct svc_req *, struct rpc_msg *);
__END_DECLS
#define AUTH_NONE 0 /* no authentication */
diff --git a/include/rpc/rpc_com.h b/include/rpc/rpc_com.h
index 8add5d4..f47db23 100644
--- a/include/rpc/rpc_com.h
+++ b/include/rpc/rpc_com.h
@@ -59,6 +59,7 @@
__BEGIN_DECLS
extern u_int __rpc_get_a_size __P((int));
extern int __rpc_dtbsize __P((void));
+extern int _rpc_dtablesize __P((void));
extern struct netconfig * __rpcgettp __P((int));
extern int __rpc_get_default_domain __P((char **));
OpenPOWER on IntegriCloud