X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Flibnfs-private.h;h=4c8594c72452a2c7903cd4070b7863af12801dc7;hb=5a1f14543499d49219245b3c0c274ca8c35919c1;hp=3131a201cdec1a1d398c5fcc2636103d21bfe88d;hpb=c481da67f2a32e7bfad4c7e6b7662e9ae544073c;p=deb_libnfs.git
diff --git a/include/libnfs-private.h b/include/libnfs-private.h
index 3131a20..4c8594c 100644
--- a/include/libnfs-private.h
+++ b/include/libnfs-private.h
@@ -14,6 +14,7 @@
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, see .
*/
+#include
#include
struct rpc_context {
@@ -75,6 +76,8 @@ void rpc_set_error(struct rpc_context *rpc, char *error_string, ...);
void nfs_set_error(struct nfs_context *nfs, char *error_string, ...);
struct rpc_context *nfs_get_rpc_context(struct nfs_context *nfs);
+const char *nfs_get_server(struct nfs_context *nfs);
+const char *nfs_get_export(struct nfs_context *nfs);
/* we dont want to expose UDP to normal applications/users this is private to libnfs to use exclusively for broadcast RPC */
int rpc_bind_udp(struct rpc_context *rpc, char *addr, int port);