X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/5ad34db2ccbbfbc936cd16121bed2110b70594ba..6af9a9842664ba88d89a67b300c1b0970bcf43ee:/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 */