~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to libavformat/barpainet.h

  • Committer: Reinhard Tartler
  • Date: 2006-07-08 08:45:33 UTC
  • Revision ID: siretart@tauware.de-20060708084533-dbc155bde7122e78
imported mplayer_0.99+1.0pre7try2+cvs20060117

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef BARPA_INET_H
 
2
#define BARPA_INET_H
 
3
 
 
4
#include "config.h"
 
5
 
 
6
#ifdef CONFIG_BEOS_NETSERVER
 
7
 
 
8
# include <socket.h>
 
9
int inet_aton (const char * str, struct in_addr * add);
 
10
# define PF_INET AF_INET
 
11
# define SO_SNDBUF 0x40000001
 
12
 
 
13
/* fake */
 
14
struct ip_mreq {
 
15
    struct in_addr imr_multiaddr;  /* IP multicast address of group */
 
16
    struct in_addr imr_interface;  /* local IP address of interface */
 
17
};
 
18
 
 
19
#include <netdb.h>
 
20
 
 
21
#else
 
22
# include <arpa/inet.h>
 
23
#endif
 
24
 
 
25
#endif /* BARPA_INET_H */