Diff for /qemu/slirp/libslirp.h between versions 1.1.1.6 and 1.1.1.7

version 1.1.1.6, 2018/04/24 17:41:00 version 1.1.1.7, 2018/04/24 19:30:59
Line 1 Line 1
 #ifndef _LIBSLIRP_H  #ifndef _LIBSLIRP_H
 #define _LIBSLIRP_H  #define _LIBSLIRP_H
   
 #include <qemu-common.h>  #include "qemu-common.h"
   
 #ifdef CONFIG_SLIRP  
   
 struct Slirp;  struct Slirp;
 typedef struct Slirp Slirp;  typedef struct Slirp Slirp;
Line 44  void slirp_socket_recv(Slirp *slirp, str Line 42  void slirp_socket_recv(Slirp *slirp, str
 size_t slirp_socket_can_recv(Slirp *slirp, struct in_addr guest_addr,  size_t slirp_socket_can_recv(Slirp *slirp, struct in_addr guest_addr,
                              int guest_port);                               int guest_port);
   
 #else /* !CONFIG_SLIRP */  
   
 static inline void slirp_select_fill(int *pnfds, fd_set *readfds,  
                                      fd_set *writefds, fd_set *xfds) { }  
   
 static inline void slirp_select_poll(fd_set *readfds, fd_set *writefds,  
                                      fd_set *xfds, int select_error) { }  
 #endif /* !CONFIG_SLIRP */  
   
 #endif  #endif

Removed from v.1.1.1.6  
changed lines
  Added in v.1.1.1.7


unix.superglobalmegacorp.com