chiark / gitweb /
server/peer.c, server/tripe.c: Add `p_unbind' to tear down the UDP sockets.
[tripe] / server / tripe.h
index 720da1b5c548c236002f16e4a56e83e837fc32c9..ba47232bd898cfa7ae7b0f0695718d861358ca2c 100644 (file)
@@ -1698,6 +1698,18 @@ extern const addr *p_addr(peer */*p*/);
 
 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:  ---