mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
16 lines
335 B
C
16 lines
335 B
C
#ifndef TEST_H
|
|
# define TEST_H
|
|
|
|
# define RECV_BUF_SIZE 8 * 1024
|
|
# define CONT_BUF_SIZE 8 * 1024
|
|
# define SEND_BUF_SIZE 8 * 1024
|
|
# define NUM_PARSERS 100
|
|
|
|
void test_init(int i);
|
|
int test_input(int i, char *recvbuf, size_t nbytes);
|
|
|
|
void test_file(const char* filename);
|
|
void test_server(const char* port, size_t recv_buf_size);
|
|
|
|
#endif
|