return 1;
}
-static void http_send(__a_unused struct audio_format *af,
+static void http_send(__a_unused struct audio_format_handler *af,
long unsigned current_chunk,
__a_unused long unsigned chunks_sent, const char *buf, size_t len)
{
return 0;
}
-static void http_post_select(__a_unused struct audio_format *af, fd_set *rfds,
+static void http_post_select(__a_unused struct audio_format_handler *af, fd_set *rfds,
fd_set *wfds)
{
int i = -1, match;
free(hc);
}
-static void http_pre_select(struct audio_format *af, int *max_fileno, fd_set *rfds,
- fd_set *wfds)
+static void http_pre_select(struct audio_format_handler *af, int *max_fileno,
+ fd_set *rfds, fd_set *wfds)
{
struct http_client *hc, *tmp;
self = s;
init_access_control_list();
if (!conf.http_no_autostart_given)
- open_tcp_port(conf.http_port_arg);
+ open_tcp_port(conf.http_port_arg); /* ignore errors */
PARA_DEBUG_LOG("%s", "http sender init complete\n");
}