12c593315Sopenharmony_ci/*
22c593315Sopenharmony_ci * nghttp2 - HTTP/2 C Library
32c593315Sopenharmony_ci *
42c593315Sopenharmony_ci * Copyright (c) 2013 Tatsuhiro Tsujikawa
52c593315Sopenharmony_ci *
62c593315Sopenharmony_ci * Permission is hereby granted, free of charge, to any person obtaining
72c593315Sopenharmony_ci * a copy of this software and associated documentation files (the
82c593315Sopenharmony_ci * "Software"), to deal in the Software without restriction, including
92c593315Sopenharmony_ci * without limitation the rights to use, copy, modify, merge, publish,
102c593315Sopenharmony_ci * distribute, sublicense, and/or sell copies of the Software, and to
112c593315Sopenharmony_ci * permit persons to whom the Software is furnished to do so, subject to
122c593315Sopenharmony_ci * the following conditions:
132c593315Sopenharmony_ci *
142c593315Sopenharmony_ci * The above copyright notice and this permission notice shall be
152c593315Sopenharmony_ci * included in all copies or substantial portions of the Software.
162c593315Sopenharmony_ci *
172c593315Sopenharmony_ci * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
182c593315Sopenharmony_ci * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
192c593315Sopenharmony_ci * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
202c593315Sopenharmony_ci * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
212c593315Sopenharmony_ci * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
222c593315Sopenharmony_ci * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
232c593315Sopenharmony_ci * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
242c593315Sopenharmony_ci */
252c593315Sopenharmony_ci#ifndef UTIL_TEST_H
262c593315Sopenharmony_ci#define UTIL_TEST_H
272c593315Sopenharmony_ci
282c593315Sopenharmony_ci#ifdef HAVE_CONFIG_H
292c593315Sopenharmony_ci#  include <config.h>
302c593315Sopenharmony_ci#endif // HAVE_CONFIG_H
312c593315Sopenharmony_ci
322c593315Sopenharmony_cinamespace shrpx {
332c593315Sopenharmony_ci
342c593315Sopenharmony_civoid test_util_streq(void);
352c593315Sopenharmony_civoid test_util_strieq(void);
362c593315Sopenharmony_civoid test_util_inp_strlower(void);
372c593315Sopenharmony_civoid test_util_to_base64(void);
382c593315Sopenharmony_civoid test_util_to_token68(void);
392c593315Sopenharmony_civoid test_util_percent_encode_token(void);
402c593315Sopenharmony_civoid test_util_percent_decode(void);
412c593315Sopenharmony_civoid test_util_quote_string(void);
422c593315Sopenharmony_civoid test_util_utox(void);
432c593315Sopenharmony_civoid test_util_http_date(void);
442c593315Sopenharmony_civoid test_util_select_h2(void);
452c593315Sopenharmony_civoid test_util_ipv6_numeric_addr(void);
462c593315Sopenharmony_civoid test_util_utos(void);
472c593315Sopenharmony_civoid test_util_make_string_ref_uint(void);
482c593315Sopenharmony_civoid test_util_utos_unit(void);
492c593315Sopenharmony_civoid test_util_utos_funit(void);
502c593315Sopenharmony_civoid test_util_parse_uint_with_unit(void);
512c593315Sopenharmony_civoid test_util_parse_uint(void);
522c593315Sopenharmony_civoid test_util_parse_duration_with_unit(void);
532c593315Sopenharmony_civoid test_util_duration_str(void);
542c593315Sopenharmony_civoid test_util_format_duration(void);
552c593315Sopenharmony_civoid test_util_starts_with(void);
562c593315Sopenharmony_civoid test_util_ends_with(void);
572c593315Sopenharmony_civoid test_util_parse_http_date(void);
582c593315Sopenharmony_civoid test_util_localtime_date(void);
592c593315Sopenharmony_civoid test_util_get_uint64(void);
602c593315Sopenharmony_civoid test_util_parse_config_str_list(void);
612c593315Sopenharmony_civoid test_util_make_http_hostport(void);
622c593315Sopenharmony_civoid test_util_make_hostport(void);
632c593315Sopenharmony_civoid test_util_strifind(void);
642c593315Sopenharmony_civoid test_util_random_alpha_digit(void);
652c593315Sopenharmony_civoid test_util_format_hex(void);
662c593315Sopenharmony_civoid test_util_is_hex_string(void);
672c593315Sopenharmony_civoid test_util_decode_hex(void);
682c593315Sopenharmony_civoid test_util_extract_host(void);
692c593315Sopenharmony_civoid test_util_split_hostport(void);
702c593315Sopenharmony_civoid test_util_split_str(void);
712c593315Sopenharmony_civoid test_util_rstrip(void);
722c593315Sopenharmony_ci
732c593315Sopenharmony_ci} // namespace shrpx
742c593315Sopenharmony_ci
752c593315Sopenharmony_ci#endif // UTIL_TEST_H
76