repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add function to bind a udp rpc context to a local port/address
[deb_libnfs.git]
/
include
/
libnfs-private.h
diff --git
a/include/libnfs-private.h
b/include/libnfs-private.h
index 2671a2bee138e1e1ee2d58980ce864782259ffb7..883745b5c7b11e60e9d360d2b57a39373ca205d1 100644
(file)
--- 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);
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);
struct rpc_context *rpc_init_udp_context(void);