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/config.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index bae7410..ace35b3 100644 --- a/src/config.h +++ b/src/config.h @@ -25,6 +25,17 @@ 0xaf, 0x48, 0xfd, 0x9f, 0xb8, 0x45, 0x3f, 0x8f\ } +#define PRNE_VER_MAT {\ + /* 76f2f748-3b6f-420c-abd7-e9929a0b67d6: placeholder version 1 */\ + /* Remove it when you add the first old version */\ + 0x76, 0xf2, 0xf7, 0x48, 0x3b, 0x6f, 0x42, 0x0c,\ + 0xab, 0xd7, 0xe9, 0x92, 0x9a, 0x0b, 0x67, 0xd6,\ + /* ce6fe199-5595-49a1-96c6-261d1cce9e32: placeholder version 2 */\ + /* Remove it when you add the first old version */\ + 0xce, 0x6f, 0xe1, 0x99, 0x55, 0x95, 0x49, 0xa1,\ + 0x96, 0xc6, 0x26, 0x1d, 0x1c, 0xce, 0x9e, 0x32\ +} + #define PRNE_PACK_Z_LEVEL Z_DEFAULT_COMPRESSION extern const prne_arch_t prne_host_arch; -- cgit