Add a boolean to allow NAT from LAN or not, default to nat LAN (#2535)
[openwrt.git] / package / fonera-mp3 / src / lib / mp3_stream.h
1 /*
2 * FOXMP3
3 * Copyright (c) 2006 acmesystems.it - john@acmesystems.it
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307USA
18 *
19 * Feedback, Bugs... info@acmesystems.it
20 *
21 */
22
23 #define MAX_PACKET_SIZE 1500
24 #define MAX_BUFFER_SIZE (64*2048)
25 #define MAX_BUFFER_ERROR 128
26
27 #define STREAM_URL 0
28 #define STREAM_PLS 1
29 int mp3_stream_setup(unsigned char *url, unsigned int type, unsigned char *ip,
30 unsigned char *path, unsigned int *port);
31 int mp3_stream_handle(void);
32 int mp3_stream_cleanup(void);
33 int mp3_stream_parse_url(unsigned char *url, unsigned char *ip,
34 unsigned char *path, unsigned int *port);
This page took 0.041822 seconds and 5 git commands to generate.