return str_c(str);
}
-void client_log(struct client *client, const char *msg)
-{
- e_info(client->event, "%s", msg);
-}
-
-void client_log_err(struct client *client, const char *msg)
-{
- e_error(client->event, "%s", msg);
-}
-
-void client_log_warn(struct client *client, const char *msg)
-{
- e_warning(client->event, "%s", msg);
-}
-
bool client_is_tls_enabled(struct client *client)
{
return login_ssl_initialized && strcmp(client->ssl_set->ssl, "no") != 0;
void client_add_forward_field(struct client *client, const char *key,
const char *value);
void client_set_title(struct client *client);
-void client_log(struct client *client, const char *msg);
-void client_log_err(struct client *client, const char *msg);
-void client_log_warn(struct client *client, const char *msg);
const char *client_get_extra_disconnect_reason(struct client *client);
void client_auth_respond(struct client *client, const char *response);