qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Luiz Capitulino <lcapitulino@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/3] net: Make inet_strfamily() public
Date: Wed, 20 Jan 2010 08:56:58 -0600	[thread overview]
Message-ID: <4B5719BA.4060406@codemonkey.ws> (raw)
In-Reply-To: <1263994960-8411-2-git-send-email-lcapitulino@redhat.com>

On 01/20/2010 07:42 AM, Luiz Capitulino wrote:
> So that it can be used by other subsystems.
>
> Signed-off-by: Luiz Capitulino<lcapitulino@redhat.com>
>    

Applied.  Thanks.

Regards,

Anthony Liguori
> ---
>   qemu-sockets.c |    2 +-
>   qemu_socket.h  |    1 +
>   2 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/qemu-sockets.c b/qemu-sockets.c
> index 8850516..720de22 100644
> --- a/qemu-sockets.c
> +++ b/qemu-sockets.c
> @@ -91,7 +91,7 @@ static void inet_setport(struct addrinfo *e, int port)
>       }
>   }
>
> -static const char *inet_strfamily(int family)
> +const char *inet_strfamily(int family)
>   {
>       switch (family) {
>       case PF_INET6: return "ipv6";
> diff --git a/qemu_socket.h b/qemu_socket.h
> index 86bdbf5..7ee46ac 100644
> --- a/qemu_socket.h
> +++ b/qemu_socket.h
> @@ -44,6 +44,7 @@ int inet_listen(const char *str, char *ostr, int olen,
>   int inet_connect_opts(QemuOpts *opts);
>   int inet_connect(const char *str, int socktype);
>   int inet_dgram_opts(QemuOpts *opts);
> +const char *inet_strfamily(int family);
>
>   int unix_listen_opts(QemuOpts *opts);
>   int unix_listen(const char *path, char *ostr, int olen);
>    

  reply	other threads:[~2010-01-20 14:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-20 13:42 [Qemu-devel] [PATCH 0/3]: Small VNC related cleanup Luiz Capitulino
2010-01-20 13:42 ` [Qemu-devel] [PATCH 1/3] net: Make inet_strfamily() public Luiz Capitulino
2010-01-20 14:56   ` Anthony Liguori [this message]
2010-01-20 13:42 ` [Qemu-devel] [PATCH 2/3] net: inet_strfamily(): Better unknown family report Luiz Capitulino
2010-01-20 13:42 ` [Qemu-devel] [PATCH 3/3] vnc: Use inet_strfamily() Luiz Capitulino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B5719BA.4060406@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=lcapitulino@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).