annotate barpainet.h @ 1306:8bf9be9bb107 libavformat

Add official LGPL license headers to the files that were missing them.
author diego
date Sun, 10 Sep 2006 14:02:42 +0000
parents 8782b02914e3
children 0899bfe4105c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
19 #ifndef BARPA_INET_H
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
20 #define BARPA_INET_H
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
21
878
8782b02914e3 Unify include paths, -I.. is in CFLAGS.
diego
parents: 182
diff changeset
22 #include "config.h"
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
23
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
24 #ifdef CONFIG_BEOS_NETSERVER
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
25
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
26 # include <socket.h>
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
27 int inet_aton (const char * str, struct in_addr * add);
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
28 # define PF_INET AF_INET
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
29 # define SO_SNDBUF 0x40000001
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
30
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
31 /* fake */
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
32 struct ip_mreq {
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
33 struct in_addr imr_multiaddr; /* IP multicast address of group */
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
34 struct in_addr imr_interface; /* local IP address of interface */
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
35 };
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
36
182
82fea3fec65b OSX and BeOS networking fix (socklen_t)
mmu_man
parents: 0
diff changeset
37 #include <netdb.h>
82fea3fec65b OSX and BeOS networking fix (socklen_t)
mmu_man
parents: 0
diff changeset
38
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
39 #else
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
40 # include <arpa/inet.h>
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
41 #endif
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
42
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
43 #endif /* BARPA_INET_H */