qemu/slirp
Marc-André Lureau fdbfba8cbf slirp: remove slirp_ prefix for socket wrappers
QEMU wraps the socket functions in os-win32.h, but in commit
a9d8b3ec43, the header inclusion was dropped,
breaking libslirp on Windows.

There are already a few socket functions that are wrapped in libslirp,
with "slirp_" prefix, but many of them are missing, and we are going
to wrap the missing functions in a second patch.

Using "slirp_" prefix avoids the conflict with socket function #define
wrappers in QEMU os-win32.h, but they are quite intrusive. In the end,
the functions should behave the same as original one, but with errno
being set. To avoid the churn, and potential confusion, remove the
"slirp_" prefix. A series of #undef is necessary until libslirp is
made standalone to prevent the #define conflict with QEMU.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190212160953.29051-2-marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
2019-02-12 20:47:42 +01:00
..
arp_table.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
bootp.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
bootp.h slirp: Implement RFC2132 TFTP server name 2018-10-21 21:24:55 +02:00
cksum.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
COPYRIGHT
debug.h slirp: replace trace functions with DEBUG calls 2019-02-07 15:49:08 +02:00
dhcpv6.c slirp: pass opaque to all callbacks 2019-02-07 15:49:08 +02:00
dhcpv6.h slirp: add in6_dhcp_multicast() 2018-01-14 18:16:13 +01:00
dnssearch.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
if.c slirp: pass opaque to all callbacks 2019-02-07 15:49:08 +02:00
if.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
ip6_icmp.c slirp: pass opaque to all callbacks 2019-02-07 15:49:08 +02:00
ip6_icmp.h slirp: replace QEMU_BUILD_BUG_ON with G_STATIC_ASSERT 2019-02-07 15:49:08 +02:00
ip6_input.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
ip6_output.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
ip6.h slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
ip_icmp.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
ip_icmp.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
ip_input.c slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
ip_output.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
ip.h slirp: replace QEMU_BUILD_BUG_ON with G_STATIC_ASSERT 2019-02-07 15:49:08 +02:00
libslirp.h slirp: API is extern C 2019-02-07 15:49:08 +02:00
main.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
Makefile.objs slirp: move QEMU state saving to a separate unit 2019-02-07 15:49:08 +02:00
mbuf.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
mbuf.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
misc.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
misc.h slirp: generalize guestfwd with a callback based approach 2019-02-07 15:49:08 +02:00
ncsi-pkt.h slirp: add a fake NC-SI backend 2017-04-25 19:17:25 +08:00
ncsi.c slirp: improve send_packet() callback 2019-02-07 15:49:08 +02:00
ndp_table.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
qtailq.h slirp: replace qemu qtailq with slirp own copy 2019-02-07 15:49:08 +02:00
sbuf.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
sbuf.h slirp: replace qemu_notify_event() with a callback 2019-02-07 15:49:08 +02:00
slirp.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
slirp.h slirp: improve send_packet() callback 2019-02-07 15:49:08 +02:00
socket.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
socket.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
state.c slirp: move QEMU state saving to a separate unit 2019-02-07 15:49:08 +02:00
state.h slirp: move QEMU state saving to a separate unit 2019-02-07 15:49:08 +02:00
tcp_input.c slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
tcp_output.c slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
tcp_subr.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
tcp_timer.c slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
tcp_timer.h Clean up ill-advised or unusual header guards 2016-07-12 16:20:46 +02:00
tcp_var.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
tcp.h slirp: replace HOST_WORDS_BIGENDIAN with glib equivalent 2019-01-14 00:40:54 +01:00
tcpip.h slirp, disas: Replace min/max with MIN/MAX macros 2016-12-20 23:55:19 +01:00
tftp.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
tftp.h slirp: support dynamic block size for TFTP transfers 2016-12-21 00:02:15 +01:00
udp6.c slirp: replace remaining qemu headers dependency 2019-02-07 15:49:08 +02:00
udp.c slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00
udp.h slirp: prefer c99 types over BSD kind 2019-02-07 15:49:08 +02:00
util.c slirp: add slirp own version of pstrcpy 2019-02-07 15:49:08 +02:00
util.h slirp: remove slirp_ prefix for socket wrappers 2019-02-12 20:47:42 +01:00