annotate barpainet.h @ 180:9e673f620f4d libavformat

support aborting in TCP
author bellard
date Thu, 17 Jul 2003 10:28:27 +0000
parents 05318cf2e886
children 82fea3fec65b
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
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
19 #else
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
20 # include <arpa/inet.h>
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
21 #endif
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
22
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
23 #endif /* BARPA_INET_H */