Commit f40615a3 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Updated doc

parent 33e86024
...@@ -983,10 +983,10 @@ typedef struct { ...@@ -983,10 +983,10 @@ typedef struct {
* |callbacks|. |user_data| is an arbitrary user supplied data, which * |callbacks|. |user_data| is an arbitrary user supplied data, which
* will be passed to the callback functions. * will be passed to the callback functions.
* *
* Some of the members of |callbacks| can be ``NULL``, but * The :member:`spdylay_session_callbacks.send_callback` must be
* :member:`spdylay_session_callbacks.send_callback` and * specified. If the application code uses `spdylay_session_recv()`,
* :member:`spdylay_session_callbacks.recv_callback` must be * the :member:`spdylay_session_callbacks.recv_callback` must be
* specified. * specified. The other members of |callbacks| can be ``NULL``.
* *
* This function returns 0 if it succeeds, or one of the following * This function returns 0 if it succeeds, or one of the following
* negative error codes: * negative error codes:
...@@ -1012,10 +1012,10 @@ int spdylay_session_client_new(spdylay_session **session_ptr, ...@@ -1012,10 +1012,10 @@ int spdylay_session_client_new(spdylay_session **session_ptr,
* |callbacks|. |user_data| is an arbitrary user supplied data, which * |callbacks|. |user_data| is an arbitrary user supplied data, which
* will be passed to the callback functions. * will be passed to the callback functions.
* *
* Some of the members of |callbacks| can be ``NULL``, but * The :member:`spdylay_session_callbacks.send_callback` must be
* :member:`spdylay_session_callbacks.send_callback` and * specified. If the application code uses `spdylay_session_recv()`,
* :member:`spdylay_session_callbacks.recv_callback` must be * the :member:`spdylay_session_callbacks.recv_callback` must be
* specified. * specified. The other members of |callbacks| can be ``NULL``.
* *
* This function returns 0 if it succeeds, or one of the following * This function returns 0 if it succeeds, or one of the following
* negative error codes: * negative error codes:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment