annotate barpainet.h @ 637:76e36d97a27a libavformat

Patch for creating m2v files by (Fabrizio Gennari <fabrizio.ge tiscali it)
author michael
date Tue, 04 Jan 2005 18:32:38 +0000
parents 82fea3fec65b
children 8782b02914e3
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
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
4 #include "../config.h"
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 */