From 3298ac1e93742e7a1ef5c4dc2e9b603dfa89d3cb Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Fri, 29 Dec 2023 17:43:50 -0800 Subject: fixes #1740 Public ID hash API This includes a manual page documenting the entire set of functions in one step. The hash is 64-bit based for now, to be maximally flexible. An internal 32-bit convenience for the common internal use is also provided (not public). The public API includes a test suite. --- cmake/NNGOptions.cmake | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cmake') diff --git a/cmake/NNGOptions.cmake b/cmake/NNGOptions.cmake index 12075f4c..d6240bc8 100644 --- a/cmake/NNGOptions.cmake +++ b/cmake/NNGOptions.cmake @@ -141,3 +141,8 @@ if (NNG_TRANSPORT_WS OR NNG_TRANSPORT_WSS) set(NNG_SUPP_BASE64 ON) set(NNG_SUPP_SHA1 ON) endif() + +# ID hash API is small wrapper around core, probably should always be enabled unless memory +# is extraordinarily constrained. +option(NNG_SUPP_IDHASH "Enable application IDHASH API" ON) +mark_as_advanced(NNG_SUPP_IDHASH) \ No newline at end of file -- cgit v1.2.3-70-g09d2