diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-04-24 13:00:41 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-05-03 00:15:37 +0200 |
commit | 7c57bdd82026ba03f3158bbcd841afde7c2dc43a (patch) | |
tree | 4ddb7c7ccbe33e6158ee4a9c4ae2f0a67e227bf4 /slirp/src/main.h | |
parent | 816956014e92d04d458900d2b8815b5bf3ac5a4d (diff) |
build-sys: move slirp as git submodule project
The slirp project is now hosted on freedesktop at:
https://gitlab.freedesktop.org/slirp.
The libslirp source was extracted from qemu/slirp filtered through
clang-format (available in project tree). The qemu slirp directory can
be swapped by a git submodule.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190424110041.8175-3-marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/src/main.h')
m--------- | slirp | 0 | ||||
-rw-r--r-- | slirp/src/main.h | 16 |
2 files changed, 0 insertions, 16 deletions
diff --git a/slirp b/slirp new file mode 160000 +Subproject 59a1b1f165458c2acb7ff0525b543945f741622 diff --git a/slirp/src/main.h b/slirp/src/main.h deleted file mode 100644 index 3b3f883703..0000000000 --- a/slirp/src/main.h +++ /dev/null @@ -1,16 +0,0 @@ -/* SPDX-License-Identifier: BSD-3-Clause */ -/* - * Copyright (c) 1995 Danny Gasparovski. - */ - -#ifndef SLIRP_MAIN_H -#define SLIRP_MAIN_H - -extern unsigned curtime; -extern struct in_addr loopback_addr; -extern unsigned long loopback_mask; - -int if_encap(Slirp *slirp, struct mbuf *ifm); -ssize_t slirp_send(struct socket *so, const void *buf, size_t len, int flags); - -#endif |