From f7dffc69b353a87f3e822fbb32240a0453f933b0 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 7 Sep 2013 12:09:50 +0200 Subject: [PATCH] nghttp2.h: mention where user_data is set in the send_callback docs Just to make it easier to find the info. --- lib/includes/nghttp2/nghttp2.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index 31a73283..b7daf9a4 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -787,7 +787,9 @@ typedef union { * not used and always 0. It must return the number of bytes sent if * it succeeds. If it cannot send any single byte without blocking, * it must return :enum:`NGHTTP2_ERR_WOULDBLOCK`. For other errors, it - * must return :enum:`NGHTTP2_ERR_CALLBACK_FAILURE`. + * must return :enum:`NGHTTP2_ERR_CALLBACK_FAILURE`. The |user_data| pointer + * is the third argument passed in to the call to nghttp2_session_client_new + * or nghttp2_session_server_new */ typedef ssize_t (*nghttp2_send_callback) (nghttp2_session *session,