@ -72,8 +72,7 @@ void mosquitto_log_printf(int level, const char *fmt, ...);
/*
* Function: mosquitto_client_address
*
* Retrieve the username associated with a client, or NULL if the client
* provided no username.
* Retrieve the IP address of the client as a string.
*/
const char *mosquitto_client_address(const struct mosquitto *client);
@ -22,6 +22,7 @@ Contributors:
#define MOSQ_ACL_NONE 0x00
#define MOSQ_ACL_READ 0x01
#define MOSQ_ACL_WRITE 0x02
#define MOSQ_ACL_SUBSCRIBE 0x04
#include <stdbool.h>