Welcome to mirror list, hosted at ThFree Co, Russian Federation.

http_check.h « http « servers « magma « check - github.com/lavabit/magma.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 75387e885425a0a91c318c78c25e6ec61a199e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/**
 * @file /check/magma/servers/smtp/smtp_check.h
 *
 * @brief SMTP interface test functions.
 */

#ifndef HTTP_CHECK_H
#define HTTP_CHECK_H

/// http_check_network.c
bool_t check_http_read_to_empty(client_t *client);
int32_t check_http_content_length_get(client_t *client);
bool_t check_http_content_length_test(client_t *client, uint32_t content_length, stringer_t *errmsg);
bool_t check_http_network_basic_sthread(stringer_t *errmsg, uint32_t port, bool_t secure);
bool_t check_http_network_options_sthread(stringer_t *errmsg, uint32_t port, bool_t secure);

Suite * suite_check_http(void);

#endif