]> granicus.if.org Git - apache/commitdiff
Fix some obvious doxygen warning
authorChristophe Jaillet <jailletc36@apache.org>
Mon, 30 May 2016 19:58:14 +0000 (19:58 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Mon, 30 May 2016 19:58:14 +0000 (19:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1746184 13f79535-47bb-0310-9956-ffa450edef68

modules/http2/h2_mplx.h
modules/http2/h2_push.h
modules/http2/h2_stream.h
modules/http2/h2_util.h

index e92a5ea3447878a7353b5ecd3f08140e6ae6a968..f2f60fc9b34645cf622d4e4631ede6ab542a516a 100644 (file)
@@ -167,7 +167,7 @@ apr_uint32_t h2_mplx_shutdown(h2_mplx *m);
  * Notifies mplx that a stream has finished processing.
  * 
  * @param m the mplx itself
- * @param stream_id the id of the stream being done
+ * @param stream the id of the stream being done
  * @param rst_error if != 0, the stream was reset with the error given
  *
  */
@@ -188,7 +188,7 @@ apr_status_t h2_mplx_out_trywait(h2_mplx *m, apr_interval_time_t timeout,
  * Process a stream request.
  * 
  * @param m the multiplexer
- * @param stream_id the identifier of the stream
+ * @param stream the identifier of the stream
  * @param r the request to be processed
  * @param cmp the stream priority compare function
  * @param ctx context data for the compare function
index d3519dcbfe345910ba41d9d81f39f76b76aeb97d..62f5a0a78fdcf2a5becdbedd192c044da140b935 100644 (file)
@@ -63,7 +63,7 @@ apr_array_header_t *h2_push_collect(apr_pool_t *p,
 /**
  * Create a new push diary for the given maximum number of entries.
  * 
- * @oaram p the pool to use
+ * @param p the pool to use
  * @param N the max number of entries, rounded up to 2^x
  * @return the created diary, might be NULL of max_entries is 0
  */
index dd2c193358ba8b9c6ce37193f9e7a90c1d01ea8e..f80f8115e71186d34f07d8d3f32181e4a0624589 100644 (file)
@@ -103,7 +103,7 @@ void h2_stream_cleanup(h2_stream *stream);
  * destruction to take the pool with it.
  *
  * @param stream the stream to detach the pool from
- * @param the detached memmory pool or NULL if stream no longer has one
+ * @result the detached memory pool or NULL if stream no longer has one
  */
 apr_pool_t *h2_stream_detach_pool(h2_stream *stream);
 
@@ -153,7 +153,7 @@ apr_status_t h2_stream_write_data(h2_stream *stream,
  * @param stream the stream to reset
  * @param error_code the HTTP/2 error code
  */
-void h2_stream_rst(h2_stream *streamm, int error_code);
+void h2_stream_rst(h2_stream *stream, int error_code);
 
 /**
  * Schedule the stream for execution. All header information must be
@@ -182,7 +182,7 @@ struct h2_response *h2_stream_get_response(h2_stream *stream);
  * the stream response has been collected.
  * 
  * @param stream the stream to set the response for
- * @param resonse the response data for the stream
+ * @param response the response data for the stream
  * @param bb bucket brigade with output data for the stream. Optional,
  *        may be incomplete.
  */
index 99724d7a5d75ce25213456fc12ad64b699b0b0e4..b6428d2831251b6564ed126651bb840a741c2408 100644 (file)
@@ -58,7 +58,7 @@ void *h2_ihash_get(h2_ihash_t *ih, int id);
  * @param ih the hash to iterate over
  * @param fn the function to invoke on each member
  * @param ctx user supplied data passed into each iteration call
- * @param 0 if one iteration returned 0, otherwise != 0
+ * @return 0 if one iteration returned 0, otherwise != 0
  */
 int h2_ihash_iter(h2_ihash_t *ih, h2_ihash_iter_t *fn, void *ctx);
 
@@ -141,14 +141,14 @@ int h2_iq_empty(h2_iqueue *q);
 int h2_iq_count(h2_iqueue *q);
 
 /**
- * Add a stream idto the queue. 
+ * Add a stream id to the queue. 
  *
  * @param q the queue to append the task to
  * @param sid the stream id to add
  * @param cmp the comparator for sorting
  * @param ctx user data for comparator 
  */
-void h2_iq_add(h2_iqueue *q, int i, h2_iq_cmp *cmp, void *ctx);
+void h2_iq_add(h2_iqueue *q, int sid, h2_iq_cmp *cmp, void *ctx);
 
 /**
  * Remove the stream id from the queue. Return != 0 iff task
@@ -157,7 +157,7 @@ void h2_iq_add(h2_iqueue *q, int i, h2_iq_cmp *cmp, void *ctx);
  * @param sid the stream id to remove
  * @return != 0 iff task was found in queue
  */
-int h2_iq_remove(h2_iqueue *q, int i);
+int h2_iq_remove(h2_iqueue *q, int sid);
 
 /**
  * Remove all entries in the queue.
@@ -374,12 +374,12 @@ apr_size_t h2_util_bb_print(char *buffer, apr_size_t bmax,
  * Logs the bucket brigade (which bucket types with what length)
  * to the log at the given level.
  * @param c the connection to log for
- * @param stream_id the stream identifier this brigade belongs to
+ * @param sid the stream identifier this brigade belongs to
  * @param level the log level (as in APLOG_*)
  * @param tag a short message text about the context
  * @param bb the brigade to log
  */
-#define h2_util_bb_log(c, i, level, tag, bb) \
+#define h2_util_bb_log(c, sid, level, tag, bb) \
 do { \
     char buffer[4 * 1024]; \
     const char *line = "(null)"; \