#ifndef SERVER_H #define SERVER_H #include "playlist.h" #define CLIENTS_MAX 10 int server_init (int debug, int foreground); void server_loop (int list_sock); void server_error (const char *msg); void state_change (); void set_info_rate (const int rate); void set_info_channels (const int channels); void set_info_bitrate (const int bitrate); void tags_change (); void ctime_change (); void status_msg (const char *msg); void tags_response (const int client_id, const char *file, const struct file_tags *tags); #endif