X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=vss.h;h=46bb0e7359bf82acc4736dbb061eda5d7faf24f8;hp=3d80274b62fea1f68306eb9b585a411dc90fdcea;hb=ac4e01ba1a2f302bf31dd511a7aff8da78660b15;hpb=28f8405e062fcff1f0ce90eb01ffeaca299cffa7 diff --git a/vss.h b/vss.h index 3d80274b..46bb0e73 100644 --- a/vss.h +++ b/vss.h @@ -1,19 +1,15 @@ -/* - * Copyright (C) 2005-2010 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2005 Andre Noll , see file COPYING. */ /** \file vss.h Exported functions from vss.c (para_server). */ -void init_vss_task(int afs_socket); +void vss_init(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); +void vss_shutdown(void); /** Stop playing after current audio file. */ #define VSS_NOMORE 1 @@ -24,7 +20,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);