From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
To: libtirpc-devel@lists.sourceforge.net
Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
Steve Dickson <SteveD@redhat.com>,
linux-nfs@vger.kernel.org
Subject: [PATCH v2 7/7] headers: if 0 out some unbuilt functions
Date: Fri, 24 Apr 2015 02:27:42 +0200 [thread overview]
Message-ID: <1429835262-16861-8-git-send-email-rep.dot.nop@gmail.com> (raw)
In-Reply-To: <1429835262-16861-1-git-send-email-rep.dot.nop@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---
tirpc/rpc/auth.h | 8 +++++++-
tirpc/rpc/auth_des.h | 2 ++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/tirpc/rpc/auth.h b/tirpc/rpc/auth.h
index 1b6c699..b7b7943 100644
--- a/tirpc/rpc/auth.h
+++ b/tirpc/rpc/auth.h
@@ -377,13 +377,17 @@ extern void passwd2des ( char *, char * );
#ifdef __cplusplus
extern "C" {
#endif
+#if 0
extern int key_decryptsession(const char *, des_block *);
extern int key_encryptsession(const char *, des_block *);
+#endif
#ifdef HAVE_AUTHDES
extern int key_gendes(des_block *);
#endif /* HAVE_AUTHDES */
+#if 0
extern int key_setsecret(const char *);
extern int key_secretkey_is_set(void);
+#endif
#ifdef __cplusplus
}
#endif
@@ -394,9 +398,11 @@ extern int key_secretkey_is_set(void);
#ifdef __cplusplus
extern "C" {
#endif
+#if 0
extern int getpublickey (const char *, char *);
extern int getpublicandprivatekey (char *, char *);
-extern int getsecretkey (char *, char *, char *);
+//extern int getsecretkey (char *, char *, char *);
+#endif
#ifdef __cplusplus
}
#endif
diff --git a/tirpc/rpc/auth_des.h b/tirpc/rpc/auth_des.h
index 77e169d..b157806 100644
--- a/tirpc/rpc/auth_des.h
+++ b/tirpc/rpc/auth_des.h
@@ -127,8 +127,10 @@ extern "C" {
#endif
extern bool_t xdr_authdes_cred(XDR *, struct authdes_cred *);
extern bool_t xdr_authdes_verf(XDR *, struct authdes_verf *);
+#if 0
extern int rtime(dev_t, struct netbuf *, int, struct timeval *,
struct timeval *);
+#endif
extern void kgetnetname(char *);
extern enum auth_stat _svcauth_des(struct svc_req *, struct rpc_msg *);
#ifdef __cplusplus
--
2.1.4
next prev parent reply other threads:[~2015-04-24 0:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-24 0:27 [PATCH v2 0/7] Rebase, resend Bernhard Reutner-Fischer
2015-04-24 0:27 ` [PATCH v2 1/7] delete src/config.h Bernhard Reutner-Fischer
2015-04-24 0:27 ` [PATCH v2 2/7] getrpcent: Fix compilation on glibc Bernhard Reutner-Fischer
2015-04-24 0:27 ` [PATCH v2 3/7] Make sure to include config.h Bernhard Reutner-Fischer
2015-04-24 0:27 ` [PATCH v2 4/7] configure.ac: Allow for disabling NIS Bernhard Reutner-Fischer
2016-06-02 14:51 ` [Libtirpc-devel] " Chuck Lever
2015-04-24 0:27 ` [PATCH v2 5/7] configure.ac: Allow for disabling auth DES Bernhard Reutner-Fischer
2015-04-24 0:27 ` [PATCH v2 6/7] getrpcport: rephrase host lookup Bernhard Reutner-Fischer
2015-04-24 0:27 ` Bernhard Reutner-Fischer [this message]
2015-04-29 21:18 ` [Libtirpc-devel] [PATCH v2 0/7] Rebase, resend Steve Dickson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1429835262-16861-8-git-send-email-rep.dot.nop@gmail.com \
--to=rep.dot.nop@gmail.com \
--cc=SteveD@redhat.com \
--cc=libtirpc-devel@lists.sourceforge.net \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).