/* * holyshout.h * * holyshout (Broadcasting utility for icecast or shoutcast) * * Author: JunSeon Oh * Date : $Date: 2003/11/25 07:43:07 $ * * $Revision: 1.4 $ * * Copyright(C) 2000 JunSeon Oh. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include "shout/shout.h" #include "lame/lame.h" #define PROGRAM_NAME "HOLYSHOUT" #define VERSION "0.2" #define MIN_BUF 256 #define MAX_BUF 4096 #define INC_BUF 256 #define PL_INIT 1 #define PL_SHUFFLE 2 #define PL_FREE 3 void usage(void) ; int send_setram (shout_t *conn , char *filename) ; void s1gnal(const int sig) ; int send_setram_direct (shout_t *conn , char *filename) ; int init_playlist(int type) ; /* | $Id: holyshout.h,v 1.4 2003/11/25 07:43:07 hollywar Exp $ | | Local Variables: | mode: c | mode: font-lock | version-control: t | delete-old-versions: t | End: | | -*- End-Of-File -*- */