From df4a1b8da4770a7ccd7c924803fbb308f1b6db0b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 2 Feb 2012 23:23:35 +0900 Subject: [PATCH] Updated doc --- lib/spdylay_stream.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/spdylay_stream.h b/lib/spdylay_stream.h index 19eec737..777d5ced 100644 --- a/lib/spdylay_stream.h +++ b/lib/spdylay_stream.h @@ -103,6 +103,12 @@ void spdylay_stream_shutdown(spdylay_stream *stream, spdylay_shut_flag flag); * Add server-pushed |stream_id| to this stream. This happens when * server-pushed stream is associated to this stream. This function * returns 0 if it succeeds, or negative error code. + * + * RETURN VALUE + * ------------ + * + * SPDYLAY_ERR_NOMEM + * Out of memory. */ int spdylay_stream_add_pushed_stream(spdylay_stream *stream, int32_t stream_id);