slave.h 871 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/* Icecast
 *
 * This program is distributed under the GNU General Public License, version 2.
 * A copy of this license is included with this source.
 *
 * Copyright 2000-2004, Jack Moffitt <jack@xiph.org, 
 *                      Michael Smith <msmith@xiph.org>,
 *                      oddsock <oddsock@xiph.org>,
 *                      Karl Heyes <karl@xiph.org>
 *                      and others (see AUTHORS for details).
 */

13 14 15
#ifndef __SLAVE_H__
#define __SLAVE_H__

16 17 18 19 20 21 22 23 24 25 26 27 28
typedef struct _relay_server {
    char *server;
    int port;
    char *mount;
    char *localmount;
    struct source_tag *source;
    int mp3metadata;
    int running;
    int cleanup;
    struct _relay_server *next;
} relay_server;


29 30
void slave_initialize(void);
void slave_shutdown(void);
31
void slave_recheck (void);
32
relay_server *relay_free (relay_server *relay);
33 34

#endif  /* __SLAVE_H__ */