X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/tripe/blobdiff_plain/110d564e1b2a4d97b99cc34e1481fa6279ad9695..2de0ad0f5c5871d482d778908d08d0dd1b01c821:/tripe.h diff --git a/tripe.h b/tripe.h index 3c0a1541..1f73d6ba 100644 --- a/tripe.h +++ b/tripe.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: tripe.h,v 1.14 2003/04/06 10:36:33 mdw Exp $ + * $Id: tripe.h,v 1.15 2003/05/16 12:09:03 mdw Exp $ * * Main header file for TrIPE * @@ -29,6 +29,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: tripe.h,v $ + * Revision 1.15 2003/05/16 12:09:03 mdw + * Allow binding to a chosen address. + * * Revision 1.14 2003/04/06 10:36:33 mdw * Rearrange so as not to include Linux headers unless we need to. * @@ -893,14 +896,15 @@ extern const addr *p_addr(peer */*p*/); /* --- @p_init@ --- * * - * Arguments: @unsigned port@ = port number to listen to + * Arguments: @struct in_addr addr@ = address to bind to + * @unsigned port@ = port number to listen to * * Returns: --- * * Use: Initializes the peer system; creates the socket. */ -extern void p_init(unsigned /*port*/); +extern void p_init(struct in_addr /*addr*/, unsigned /*port*/); /* --- @p_port@ --- * *