Mercurial > audlegacy
annotate Plugins/Input/cdaudio/http.h @ 1458:f12d7e208b43 trunk
[svn] Update FSF address in copyright notices. Update autotools templates.
author | chainsaw |
---|---|
date | Wed, 02 Aug 2006 15:44:07 -0700 |
parents | fa848bd484d8 |
children | 705d4c089fce |
rev | line source |
---|---|
61 | 1 /* |
2 * Copyright 1999 Håvard Kvålen <havardk@sol.no> | |
3 * | |
4 * This program is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * This program is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License | |
15 * along with this program; if not, write to the Free Software | |
1458
f12d7e208b43
[svn] Update FSF address in copyright notices. Update autotools templates.
chainsaw
parents:
61
diff
changeset
|
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1307, USA. |
61 | 17 */ |
18 | |
19 #ifndef XMMS_HTTP_H | |
20 #define XMMS_HTTP_H | |
21 | |
22 #include "config.h" | |
23 #include <glib.h> | |
24 | |
25 #ifdef HAVE_UNISTD_H | |
26 #include <unistd.h> | |
27 #endif | |
28 | |
29 #include <sys/socket.h> | |
30 #include <netinet/in.h> | |
31 #include <string.h> | |
32 #include <netdb.h> | |
33 #include <stdlib.h> | |
34 | |
35 | |
36 gint http_open_connection(const gchar * server, gint port); | |
37 void http_close_connection(gint sock); | |
38 gint http_read_line(gint sock, gchar * buf, gint size); | |
39 gint http_read_first_line(gint sock, gchar * buf, gint size); | |
40 gchar *http_get(gchar * url); | |
41 | |
42 #endif |