Revision 0d62c4cf slirp/libslirp.h

b/slirp/libslirp.h
1 1
#ifndef _LIBSLIRP_H
2 2
#define _LIBSLIRP_H
3 3

  
4
#ifdef __cplusplus
5
extern "C" {
6
#endif
7

  
8 4
#include <qemu-common.h>
9 5

  
10 6
void slirp_init(int restricted, struct in_addr vnetwork,
......
37 33
                       const uint8_t *buf, int size);
38 34
size_t slirp_socket_can_recv(struct in_addr guest_addr, int guest_port);
39 35

  
40
#ifdef __cplusplus
41
}
42
#endif
43

  
44 36
#endif

Also available in: Unified diff