X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/bf28fc736c33aa8b26b3c3267cf4c3b33e69c4a5..8534d6023d74efac11d7e2b5d1903638f3c1eca3:/util.h diff --git a/util.h b/util.h index cbe9f52..816c056 100644 --- a/util.h +++ b/util.h @@ -45,6 +45,10 @@ extern int32_t write_mpbin(MP_INT *a, uint8_t *buffer, int32_t buflen); extern struct log_if *init_log(list_t *loglist); +extern void send_nak(const struct comm_addr *dest, uint32_t our_index, + uint32_t their_index, uint32_t msgtype, + struct buffer_if *buf, const char *logwhy); + extern int consttime_memeq(const void *s1, const void *s2, size_t n); #endif /* util_h */