annotate barpainet.h @ 910:d92e6d673ef5 libavformat

gcc 2.95 fix
author banan
date Mon, 23 Jan 2006 14:28:50 +0000
parents 8782b02914e3
children 8bf9be9bb107
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
1 #ifndef BARPA_INET_H
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
2 #define BARPA_INET_H
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
3
878
8782b02914e3 Unify include paths, -I.. is in CFLAGS.
diego
parents: 182
diff changeset
4 #include "config.h"
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
5
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
6 #ifdef CONFIG_BEOS_NETSERVER
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
7
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
8 # include <socket.h>
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
9 int inet_aton (const char * str, struct in_addr * add);
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
10 # define PF_INET AF_INET
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
11 # define SO_SNDBUF 0x40000001
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
12
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
13 /* fake */
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
14 struct ip_mreq {
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
15 struct in_addr imr_multiaddr; /* IP multicast address of group */
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
16 struct in_addr imr_interface; /* local IP address of interface */
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
17 };
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
18
182
82fea3fec65b OSX and BeOS networking fix (socklen_t)
mmu_man
parents: 0
diff changeset
19 #include <netdb.h>
82fea3fec65b OSX and BeOS networking fix (socklen_t)
mmu_man
parents: 0
diff changeset
20
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
21 #else
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
22 # include <arpa/inet.h>
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
23 #endif
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
24
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
25 #endif /* BARPA_INET_H */