com_ff(): Depreciate "n-" syntax.
[paraslash.git] / vss.h
1 /* Copyright (C) 2005 Andre Noll <maan@tuebingen.mpg.de>, see file COPYING. */
2
3 /** \file vss.h Exported functions from vss.c (para_server). */
4
5 void vss_init(int afs_socket, struct sched *s);
6 unsigned int vss_playing(void);
7 unsigned int vss_next(void);
8 unsigned int vss_repos(void);
9 unsigned int vss_paused(void);
10 unsigned int vss_stopped(void);
11 struct timeval *vss_chunk_time(void);
12 void vss_shutdown(void);
13
14 /** Stop playing after current audio file. */
15 #define VSS_NOMORE 1
16 /** Skip remaining part of current audio file. */
17 #define VSS_NEXT 2
18 /** A reposition request was sent by a client. */
19 #define VSS_REPOS 4
20 /** Currently playing. */
21 #define VSS_PLAYING 8
22
23 struct fec_client *vss_add_fec_client(struct sender_client *sc,
24 struct fec_client_parms *fcp);
25 void vss_del_fec_client(struct fec_client *fc);
26 size_t vss_get_fec_eof_packet(const char **buf);