0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-28 07:58:14 +08:00

declare z85_encode / decode in zmq_utils

they are used by curve_keygen, but not available
This commit is contained in:
MinRK 2013-09-28 15:42:00 -07:00
parent f1002e9492
commit 3d7b2b4c04

View File

@ -82,6 +82,12 @@ ZMQ_EXPORT void *zmq_threadstart (zmq_thread_fn* func, void* arg);
/* Wait for thread to complete then free up resources. */
ZMQ_EXPORT void zmq_threadclose (void* thread);
/* Encode data with Z85 encoding. Returns encoded data */
ZMQ_EXPORT char *zmq_z85_encode (char *dest, uint8_t *data, size_t size);
/* Decode data with Z85 encoding. Returns decoded data */
ZMQ_EXPORT uint8_t *zmq_z85_decode (uint8_t *dest, char *string);
#undef ZMQ_EXPORT
#ifdef __cplusplus