diff --git a/include/zmq_utils.h b/include/zmq_utils.h index bd1486c0..f10b6a20 100644 --- a/include/zmq_utils.h +++ b/include/zmq_utils.h @@ -61,16 +61,16 @@ extern "C" { # endif #endif -/* These functions are documented by man pages */ +/* These functions are documented by man pages */ -/* Encode data with Z85 encoding. Returns encoded data */ +/* 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 */ +/* Decode data with Z85 encoding. Returns decoded data */ ZMQ_EXPORT uint8_t *zmq_z85_decode (uint8_t *dest, char *string); -/* Generate z85-encoded public and private keypair with libsodium. */ -/* Returns 0 on success. */ +/* Generate z85-encoded public and private keypair with libsodium. */ +/* Returns 0 on success. */ ZMQ_EXPORT int zmq_curve_keypair (char *z85_public_key, char *z85_secret_key); typedef void (zmq_thread_fn) (void*);