aboutsummaryrefslogtreecommitdiff
path: root/src/lib/mhd_sockets.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-02-09 06:09:26 +0100
committerChristian Grothoff <christian@grothoff.org>2018-02-09 06:09:26 +0100
commitf65dd8e0969d6c43913da51b585437c7f8447cac (patch)
tree0540f61287c0e8c754959e89adaf91b80171e5f1 /src/lib/mhd_sockets.h
parent7512349b3bb7ec147195cf25864f637e1a99c569 (diff)
downloadlibmicrohttpd-f65dd8e0969d6c43913da51b585437c7f8447cac.tar.gz
libmicrohttpd-f65dd8e0969d6c43913da51b585437c7f8447cac.zip
allow passing pf instead of just v6 flag to listen socket creation
Diffstat (limited to 'src/lib/mhd_sockets.h')
-rw-r--r--src/lib/mhd_sockets.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/mhd_sockets.h b/src/lib/mhd_sockets.h
index c999ea35..9be34144 100644
--- a/src/lib/mhd_sockets.h
+++ b/src/lib/mhd_sockets.h
@@ -751,10 +751,10 @@ MHD_socket_noninheritable_ (MHD_socket sock);
751/** 751/**
752 * Create a listen socket, with noninheritable flag if possible. 752 * Create a listen socket, with noninheritable flag if possible.
753 * 753 *
754 * @param use_ipv6 if set to non-zero IPv6 is used 754 * @param pf protocol family to use
755 * @return created socket or MHD_INVALID_SOCKET in case of errors 755 * @return created socket or MHD_INVALID_SOCKET in case of errors
756 */ 756 */
757MHD_socket 757MHD_socket
758MHD_socket_create_listen_ (bool use_ipv6); 758MHD_socket_create_listen_ (int pf);
759 759
760#endif /* ! MHD_SOCKETS_H */ 760#endif /* ! MHD_SOCKETS_H */