Imported Upstream version 1.46.0
[platform/upstream/nghttp2.git] / doc / nghttp2_submit_push_promise.rst
index 9b4c974..c912e01 100644 (file)
@@ -27,12 +27,12 @@ Synopsis
     This function creates copies of all name/value pairs in *nva*.  It
     also lower-cases all names in *nva*.  The order of elements in
     *nva* is preserved.  For header fields with
-    :macro:`NGHTTP2_NV_FLAG_NO_COPY_NAME` and
-    :macro:`NGHTTP2_NV_FLAG_NO_COPY_VALUE` are set, header field name
-    and value are not copied respectively.  With
-    :macro:`NGHTTP2_NV_FLAG_NO_COPY_NAME`, application is responsible to
-    pass header field name in lowercase.  The application should
-    maintain the references to them until
+    :macro:`nghttp2_nv_flag.NGHTTP2_NV_FLAG_NO_COPY_NAME` and
+    :macro:`nghttp2_nv_flag.NGHTTP2_NV_FLAG_NO_COPY_VALUE` are set,
+    header field name and value are not copied respectively.  With
+    :macro:`nghttp2_nv_flag.NGHTTP2_NV_FLAG_NO_COPY_NAME`, application
+    is responsible to pass header field name in lowercase.  The
+    application should maintain the references to them until
     :type:`nghttp2_on_frame_send_callback` or
     :type:`nghttp2_on_frame_not_send_callback` is called.
     
@@ -51,18 +51,18 @@ Synopsis
     This function returns assigned promised stream ID if it succeeds,
     or one of the following negative error codes:
     
-    :macro:`NGHTTP2_ERR_NOMEM`
+    :macro:`nghttp2_error.NGHTTP2_ERR_NOMEM`
         Out of memory.
-    :macro:`NGHTTP2_ERR_PROTO`
+    :macro:`nghttp2_error.NGHTTP2_ERR_PROTO`
         This function was invoked when *session* is initialized as
         client.
-    :macro:`NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE`
+    :macro:`nghttp2_error.NGHTTP2_ERR_STREAM_ID_NOT_AVAILABLE`
         No stream ID is available because maximum stream ID was
         reached.
-    :macro:`NGHTTP2_ERR_INVALID_ARGUMENT`
+    :macro:`nghttp2_error.NGHTTP2_ERR_INVALID_ARGUMENT`
         The *stream_id* is 0; The *stream_id* does not designate stream
         that peer initiated.
-    :macro:`NGHTTP2_ERR_STREAM_CLOSED`
+    :macro:`nghttp2_error.NGHTTP2_ERR_STREAM_CLOSED`
         The stream was already closed; or the *stream_id* is invalid.
     
     .. warning::