From a72b876cf8f7c01ab2d3808a168ef16620498298 Mon Sep 17 00:00:00 2001 From: David Timber Date: Sun, 25 Jul 2021 18:40:16 +1000 Subject: Impl htbt M2M binary update and bug fixes ... * Change signature of tmpfile() cb * Add PRNE_DATA_KEY_VER_MAT * Add prne_try_alloc_iobuf() * Fix htbt: don't run cncp when both resolv and cnc_txtrec are not passed * Impl upbin cb on proone-bne * Fix proone-htbtclient: content of status frame was discarded * htbt is now responsible for setting FD_CLOEXEC on temp files * Changes in mttools for valgrind run * Add proone-test_iobuf * Fix event leak in resolv * src/test-resolv.sh: run proone-resolv on valgrind * Add prne_cmp_uuid_asc() and prne_cmp_uuid_desc() for version matrix * --- src/util_rt.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util_rt.h') diff --git a/src/util_rt.h b/src/util_rt.h index eea3a7e..567cd4c 100644 --- a/src/util_rt.h +++ b/src/util_rt.h @@ -87,6 +87,9 @@ bool prne_uuid_fromstr (const char *str, uint8_t *out); */ void prne_uuid_tostr (const uint8_t *in, char *out); +int prne_cmp_uuid_asc (const void *a, const void *b); +int prne_cmp_uuid_desc (const void *a, const void *b); + struct timespec prne_add_timespec ( const struct timespec a, const struct timespec b); -- cgit