X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Flibnfs-private.h;h=883745b5c7b11e60e9d360d2b57a39373ca205d1;hb=485bc9b9a7a19d7cef7a4b0c4c919323f3011aa8;hp=2671a2bee138e1e1ee2d58980ce864782259ffb7;hpb=870b3764acfe8b23f55b534619b9742eca4deb98;p=deb_libnfs.git diff --git a/include/libnfs-private.h b/include/libnfs-private.h index 2671a2b..883745b 100644 --- a/include/libnfs-private.h +++ b/include/libnfs-private.h @@ -76,4 +76,6 @@ void nfs_set_error(struct nfs_context *nfs, char *error_string, ...); struct rpc_context *nfs_get_rpc_context(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); struct rpc_context *rpc_init_udp_context(void);