~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server/: Use modern functions for address/text conversions.
[tripe]
/
server
/
tripe.h
diff --git
a/server/tripe.h
b/server/tripe.h
index
dd8205b
..
fc866b8
100644
(file)
--- a/
server/tripe.h
+++ b/
server/tripe.h
@@
-1585,15
+1585,14
@@
extern const addr *p_addr(peer */*p*/);
/* --- @p_init@ --- *
*
/* --- @p_init@ --- *
*
- * Arguments: @struct in_addr addr@ = address to bind to
- * @unsigned port@ = port number to listen to
+ * Arguments: @struct addrinfo *ailist@ = addresses to bind to
*
* Returns: ---
*
* Use: Initializes the peer system; creates the socket.
*/
*
* Returns: ---
*
* Use: Initializes the peer system; creates the socket.
*/
-extern void p_init(struct
in_addr /*addr*/, unsigned /*por
t*/);
+extern void p_init(struct
addrinfo */*ailis
t*/);
/* --- @p_port@ --- *
*
/* --- @p_port@ --- *
*