File: server.h

package info (click to toggle)
moc 1%3A2.6.0~svn-r3005-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,656 kB
  • sloc: ansic: 31,749; sh: 929; cpp: 487; makefile: 240
file content (34 lines) | stat: -rw-r--r-- 793 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef SERVER_H
#define SERVER_H

#ifdef __cplusplus
extern "C" {
#endif

#include "playlist.h"

#define CLIENTS_MAX	10

void server_init (int debug, int foreground);
void server_loop ();
void server_error (const char *file, int line, const char *function,
                   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 set_info_avg_bitrate (const int avg_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);
void ev_audio_start ();
void ev_audio_stop ();
void server_queue_pop (const char *filename);

#ifdef __cplusplus
}
#endif

#endif