From f40615a3dccfadf015386ab2b03f75dfebcea29c Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 19 Mar 2012 00:47:15 +0900 Subject: [PATCH] Updated doc --- lib/includes/spdylay/spdylay.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/includes/spdylay/spdylay.h b/lib/includes/spdylay/spdylay.h index 0e8c0d66..94f17cf8 100644 --- a/lib/includes/spdylay/spdylay.h +++ b/lib/includes/spdylay/spdylay.h @@ -983,10 +983,10 @@ typedef struct { * |callbacks|. |user_data| is an arbitrary user supplied data, which * will be passed to the callback functions. * - * Some of the members of |callbacks| can be ``NULL``, but - * :member:`spdylay_session_callbacks.send_callback` and - * :member:`spdylay_session_callbacks.recv_callback` must be - * specified. + * The :member:`spdylay_session_callbacks.send_callback` must be + * specified. If the application code uses `spdylay_session_recv()`, + * the :member:`spdylay_session_callbacks.recv_callback` must be + * specified. The other members of |callbacks| can be ``NULL``. * * This function returns 0 if it succeeds, or one of the following * negative error codes: @@ -1012,10 +1012,10 @@ int spdylay_session_client_new(spdylay_session **session_ptr, * |callbacks|. |user_data| is an arbitrary user supplied data, which * will be passed to the callback functions. * - * Some of the members of |callbacks| can be ``NULL``, but - * :member:`spdylay_session_callbacks.send_callback` and - * :member:`spdylay_session_callbacks.recv_callback` must be - * specified. + * The :member:`spdylay_session_callbacks.send_callback` must be + * specified. If the application code uses `spdylay_session_recv()`, + * the :member:`spdylay_session_callbacks.recv_callback` must be + * specified. The other members of |callbacks| can be ``NULL``. * * This function returns 0 if it succeeds, or one of the following * negative error codes: