X-Git-Url: https://git.distorted.org.uk/~mdw/tripe/blobdiff_plain/a5c4a56a64e127a1a5e5d436cf52df1e7a96eb33..f6994bd047a35b06aa7aed3c59487000abec2325:/server/tripe.h diff --git a/server/tripe.h b/server/tripe.h index d3dce08b..c796d073 100644 --- a/server/tripe.h +++ b/server/tripe.h @@ -903,16 +903,18 @@ extern void kx_start(keyexch */*kx*/, int /*forcep*/); /* --- @kx_message@ --- * * * Arguments: @keyexch *kx@ = pointer to key exchange context + * @const addr *a@ = sender's IP address and port * @unsigned msg@ = the message code * @buf *b@ = pointer to buffer containing the packet * - * Returns: --- + * Returns: Nonzero if the sender's address was unknown. * * Use: Reads a packet containing key exchange messages and handles * it. */ -extern void kx_message(keyexch */*kx*/, unsigned /*msg*/, buf */*b*/); +extern int kx_message(keyexch */*kx*/, const addr */*a*/, + unsigned /*msg*/, buf */*b*/); /* --- @kx_free@ --- * *