diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-11-22 02:06:22 +0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-01-14 00:44:29 +0100 |
commit | 5d300fc9222aa700b4449d73f26bf7cf0e5b9ec4 (patch) | |
tree | e7899e489dca26c6892d799dc092e9d3cb52e475 /slirp/misc.h | |
parent | df2ad332da6c8dd3053b5d5f1b1cc1cbdf6bad5e (diff) | |
download | qemu-5d300fc9222aa700b4449d73f26bf7cf0e5b9ec4.zip qemu-5d300fc9222aa700b4449d73f26bf7cf0e5b9ec4.tar.gz qemu-5d300fc9222aa700b4449d73f26bf7cf0e5b9ec4.tar.bz2 |
slirp: rename exec_list
This list is not only used to handle command to execute on guest
connection, it can also redirect to an arbitrary object, such as a
chardev. Let's rename the struct and the field to "guestfwd".
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Diffstat (limited to 'slirp/misc.h')
-rw-r--r-- | slirp/misc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/slirp/misc.h b/slirp/misc.h index 0bc5e74..1df707c 100644 --- a/slirp/misc.h +++ b/slirp/misc.h @@ -8,12 +8,12 @@ #ifndef MISC_H #define MISC_H -struct ex_list { +struct gfwd_list { void *ex_chardev; struct in_addr ex_addr; /* Server address */ int ex_fport; /* Port to telnet to */ char *ex_exec; /* Command line of what to exec */ - struct ex_list *ex_next; + struct gfwd_list *ex_next; }; #define EMU_NONE 0x0 @@ -51,7 +51,7 @@ struct slirp_quehead { void slirp_insque(void *, void *); void slirp_remque(void *); -int add_exec(struct ex_list **, void *, const char *, struct in_addr, int); +int add_exec(struct gfwd_list **, void *, const char *, struct in_addr, int); int fork_exec(struct socket *so, const char *ex); #endif |