summaryrefslogtreecommitdiff
path: root/include/rpc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2009-10-17 03:45:53 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-19 23:05:45 +0100
commit9a9fe3ad32b7f42650d6acdab484782320ae8e6d (patch)
tree4b5427a21b7fa4121a3a699f82c08a4cea564871 /include/rpc
parenta193e5a08463ea97f55cb66ccd001f156ec7aa87 (diff)
sync some headers and disable unused prototypes
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'include/rpc')
-rw-r--r--include/rpc/auth.h4
-rw-r--r--include/rpc/auth_des.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/include/rpc/auth.h b/include/rpc/auth.h
index e8390c885..ee5396fc5 100644
--- a/include/rpc/auth.h
+++ b/include/rpc/auth.h
@@ -176,11 +176,13 @@ extern AUTH *authunix_create_default (void);
libc_hidden_proto(authunix_create_default)
extern AUTH *authnone_create (void) __THROW;
libc_hidden_proto(authnone_create)
+#if 0
extern AUTH *authdes_create (const char *__servername, u_int __window,
struct sockaddr *__syncaddr, des_block *__ckey)
__THROW;
extern AUTH *authdes_pk_create (const char *, netobj *, u_int,
struct sockaddr *, des_block *) __THROW;
+#endif
#define AUTH_NONE 0 /* no authentication */
@@ -192,6 +194,7 @@ extern AUTH *authdes_pk_create (const char *, netobj *, u_int,
#define AUTH_DH AUTH_DES /* Diffie-Hellman (this is DES) */
#define AUTH_KERB 4 /* kerberos style */
+#if 0
/*
* Netname manipulating functions
*
@@ -216,6 +219,7 @@ extern int key_gendes (des_block *);
extern int key_setsecret (char *);
extern int key_secretkey_is_set (void);
extern int key_get_conv (char *, des_block *);
+#endif
/*
* XDR an opaque authentication struct.
diff --git a/include/rpc/auth_des.h b/include/rpc/auth_des.h
index 7a6b8be8d..d51b7ce7c 100644
--- a/include/rpc/auth_des.h
+++ b/include/rpc/auth_des.h
@@ -24,6 +24,7 @@
__BEGIN_DECLS
+#if 0
/* There are two kinds of "names": fullnames and nicknames */
enum authdes_namekind
{
@@ -47,6 +48,7 @@ struct authdes_cred
struct authdes_fullname adc_fullname;
uint32_t adc_nickname;
};
+#endif
/* A timeval replacement for !32bit platforms */
struct rpc_timeval
@@ -55,6 +57,7 @@ struct rpc_timeval
uint32_t tv_usec; /* Microseconds. */
};
+#if 0
/* A des authentication verifier */
struct authdes_verf
{
@@ -102,6 +105,7 @@ extern int getpublickey (__const char *__name, char *__key) __THROW;
the key. */
extern int getsecretkey (__const char *__name, char *__key,
__const char *__passwd) __THROW;
+#endif
extern int rtime (struct sockaddr_in *__addrp, struct rpc_timeval *__timep,
struct rpc_timeval *__timeout) __THROW;