X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=vss.h;h=bedbb8017a1c4cddf12282d53a48b71b6bb60648;hp=3d80274b62fea1f68306eb9b585a411dc90fdcea;hb=d87806284b9f6be9aab71ccbf0280d273b57eeb3;hpb=28f8405e062fcff1f0ce90eb01ffeaca299cffa7 diff --git a/vss.h b/vss.h index 3d80274b..bedbb801 100644 --- a/vss.h +++ b/vss.h @@ -1,19 +1,18 @@ /* - * Copyright (C) 2005-2010 Andre Noll + * Copyright (C) 2005-2013 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ /** \file vss.h Exported functions from vss.c (para_server). */ -void init_vss_task(int afs_socket); +void init_vss_task(int afs_socket, struct sched *s); unsigned int vss_playing(void); unsigned int vss_next(void); unsigned int vss_repos(void); unsigned int vss_paused(void); unsigned int vss_stopped(void); struct timeval *vss_chunk_time(void); -const char *supported_audio_formats(void); /** Stop playing after current audio file. */ #define VSS_NOMORE 1 @@ -24,7 +23,7 @@ const char *supported_audio_formats(void); /** Currently playing. */ #define VSS_PLAYING 8 -int vss_add_fec_client(struct sender *sender, void *private_data, - struct fec_client **result); +struct fec_client *vss_add_fec_client(struct sender_client *sc, + struct fec_client_parms *fcp); void vss_del_fec_client(struct fec_client *fc); size_t vss_get_fec_eof_packet(const char **buf);