aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-11-10 17:45:42 +0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-01-14 00:40:54 +0100
commit634d03487b3018b03f3fc45bf1af001ceb8dd603 (patch)
tree712fad840819f3bb211cc484854b8f9d025a10bd
parentd3b9408c9bae23b5cbe3b42d29ad1927248cbdd5 (diff)
downloadqemu-634d03487b3018b03f3fc45bf1af001ceb8dd603.zip
qemu-634d03487b3018b03f3fc45bf1af001ceb8dd603.tar.gz
qemu-634d03487b3018b03f3fc45bf1af001ceb8dd603.tar.bz2
slirp: move internal function declarations
Clarify that those functions are internal to slirp. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
-rw-r--r--slirp/libslirp.h3
-rw-r--r--slirp/slirp.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index 3e88dba..a4f390e 100644
--- a/slirp/libslirp.h
+++ b/slirp/libslirp.h
@@ -7,9 +7,6 @@ typedef struct Slirp Slirp;
typedef void (*slirp_output)(void *opaque, const uint8_t *pkt, int pkt_len);
-int get_dns_addr(struct in_addr *pdns_addr);
-int get_dns6_addr(struct in6_addr *pdns6_addr, uint32_t *scope_id);
-
Slirp *slirp_init(int restricted, bool in_enabled, struct in_addr vnetwork,
struct in_addr vnetmask, struct in_addr vhost,
bool in6_enabled,
diff --git a/slirp/slirp.h b/slirp/slirp.h
index e3d65d6..de299aa 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -232,6 +232,9 @@ extern Slirp *slirp_instance;
void if_start(Slirp *);
+int get_dns_addr(struct in_addr *pdns_addr);
+int get_dns6_addr(struct in6_addr *pdns6_addr, uint32_t *scope_id);
+
/* ncsi.c */
void ncsi_input(Slirp *slirp, const uint8_t *pkt, int pkt_len);