void
evhttp_connection_get_peer(struct evhttp_connection *evcon,
- char **address, ev_uint16_t *port)
+ const char **address, ev_uint16_t *port)
{
*address = evcon->address;
*port = evcon->port;
/** Get the remote address and port associated with this connection. */
EVENT2_EXPORT_SYMBOL
void evhttp_connection_get_peer(struct evhttp_connection *evcon,
- char **address, ev_uint16_t *port);
+ const char **address, ev_uint16_t *port);
/** Get the remote address associated with this connection.
* extracted from getpeername() OR from nameserver.