Upgrade to 1.46.0
[platform/upstream/nghttp2.git] / doc / nghttp2_hd_inflate_get_table_entry.rst
1
2 nghttp2_hd_inflate_get_table_entry
3 ==================================
4
5 Synopsis
6 --------
7
8 *#include <nghttp2/nghttp2.h>*
9
10 .. function:: const nghttp2_nv * nghttp2_hd_inflate_get_table_entry(nghttp2_hd_inflater *inflater, size_t idx)
11
12     
13     Returns the table entry denoted by *idx* from header table of
14     *inflater*.  The *idx* is 1-based, and idx=1 returns first entry of
15     static table.  idx=62 returns first entry of dynamic table if it
16     exists.  Specifying idx=0 is error, and this function returns NULL.
17     If *idx* is strictly greater than the number of entries the tables
18     contain, this function returns NULL.