X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Flibnfs-private.h;h=c6a8820f6bcae2b5e10e00f4c56fc7bf3e1194e0;hb=b077fdeb65aca9d9bc15fcd311372816d87dc213;hp=3131a201cdec1a1d398c5fcc2636103d21bfe88d;hpb=2e4db0d14597fdb0013fb16f24b3f872d1217397;p=deb_libnfs.git diff --git a/include/libnfs-private.h b/include/libnfs-private.h index 3131a20..c6a8820 100644 --- a/include/libnfs-private.h +++ b/include/libnfs-private.h @@ -75,6 +75,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);