~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server/peer.c, server/tripe.c: Add `p_unbind' to tear down the UDP sockets.
[tripe]
/
server
/
tripe.h
diff --git
a/server/tripe.h
b/server/tripe.h
index
720da1b
..
ba47232
100644
(file)
--- a/
server/tripe.h
+++ b/
server/tripe.h
@@
-1698,6
+1698,18
@@
extern const addr *p_addr(peer */*p*/);
extern void p_bind(struct addrinfo */*ailist*/);
extern void p_bind(struct addrinfo */*ailist*/);
+/* --- @p_unbind@ --- *
+ *
+ * Arguments: ---
+ *
+ * Returns: ---
+ *
+ * Use: Unbinds the UDP sockets. There must not be any active peers,
+ * and none can be created until the sockets are rebound.
+ */
+
+extern void p_unbind(void);
+
/* --- @p_init@ --- *
*
* Arguments: ---
/* --- @p_init@ --- *
*
* Arguments: ---