Mercurial > libavformat.hg
annotate barpainet.h @ 1326:142fb755fbf5 libavformat
support forward seeking in non seekable streams
author | michael |
---|---|
date | Tue, 26 Sep 2006 17:09:03 +0000 |
parents | 8bf9be9bb107 |
children | 0899bfe4105c |
rev | line source |
---|---|
1306
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
1 /* |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
2 * copyright (c) 2002 Francois Revol |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
3 * |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
4 * This library is free software; you can redistribute it and/or |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
5 * modify it under the terms of the GNU Lesser General Public |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
6 * License as published by the Free Software Foundation; either |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
7 * version 2 of the License, or (at your option) any later version. |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
8 * |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
9 * This library is distributed in the hope that it will be useful, |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
12 * Lesser General Public License for more details. |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
13 * |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
14 * You should have received a copy of the GNU Lesser General Public |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
15 * License along with this library; if not, write to the Free Software |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
17 */ |
8bf9be9bb107
Add official LGPL license headers to the files that were missing them.
diego
parents:
878
diff
changeset
|
18 |
0 | 19 #ifndef BARPA_INET_H |
20 #define BARPA_INET_H | |
21 | |
878 | 22 #include "config.h" |
0 | 23 |
24 #ifdef CONFIG_BEOS_NETSERVER | |
25 | |
26 # include <socket.h> | |
27 int inet_aton (const char * str, struct in_addr * add); | |
28 # define PF_INET AF_INET | |
29 # define SO_SNDBUF 0x40000001 | |
30 | |
31 /* fake */ | |
32 struct ip_mreq { | |
33 struct in_addr imr_multiaddr; /* IP multicast address of group */ | |
34 struct in_addr imr_interface; /* local IP address of interface */ | |
35 }; | |
36 | |
182 | 37 #include <netdb.h> |
38 | |
0 | 39 #else |
40 # include <arpa/inet.h> | |
41 #endif | |
42 | |
43 #endif /* BARPA_INET_H */ |