Classes | Macros | Functions | Variables
test_proxy.cpp File Reference
#include "testutil.hpp"
#include "testutil_unity.hpp"
#include <stdlib.h>
#include <string.h>
Include dependency graph for test_proxy.cpp:

Go to the source code of this file.

Classes

struct  thread_data
 

Macros

#define CONTENT_SIZE   13
 
#define CONTENT_SIZE_MAX   32
 
#define is_verbose   0
 
#define QT_CLIENTS   3
 
#define QT_WORKERS   5
 
#define ROUTING_ID_SIZE   10
 
#define ROUTING_ID_SIZE_MAX   32
 

Functions

static void client_task (void *db_)
 
int main (void)
 
void server_task (void *)
 
static void server_worker (void *)
 
void setUp ()
 
void test_proxy ()
 

Variables

voidcontrol_context = NULL
 
voidg_clients_pkts_out = NULL
 
voidg_workers_pkts_out = NULL
 

Macro Definition Documentation

◆ CONTENT_SIZE

#define CONTENT_SIZE   13

Definition at line 9 of file test_proxy.cpp.

◆ CONTENT_SIZE_MAX

#define CONTENT_SIZE_MAX   32

Definition at line 10 of file test_proxy.cpp.

◆ is_verbose

#define is_verbose   0

Definition at line 15 of file test_proxy.cpp.

◆ QT_CLIENTS

#define QT_CLIENTS   3

Definition at line 14 of file test_proxy.cpp.

◆ QT_WORKERS

#define QT_WORKERS   5

Definition at line 13 of file test_proxy.cpp.

◆ ROUTING_ID_SIZE

#define ROUTING_ID_SIZE   10

Definition at line 11 of file test_proxy.cpp.

◆ ROUTING_ID_SIZE_MAX

#define ROUTING_ID_SIZE_MAX   32

Definition at line 12 of file test_proxy.cpp.

Function Documentation

◆ client_task()

static void client_task ( void db_)
static

Definition at line 45 of file test_proxy.cpp.

◆ main()

int main ( void  )

Definition at line 337 of file test_proxy.cpp.

◆ server_task()

void server_task ( void )

Definition at line 159 of file test_proxy.cpp.

◆ server_worker()

static void server_worker ( void )
static

Definition at line 218 of file test_proxy.cpp.

◆ setUp()

void setUp ( )

Definition at line 26 of file test_proxy.cpp.

◆ test_proxy()

void test_proxy ( )

Definition at line 293 of file test_proxy.cpp.

Variable Documentation

◆ control_context

void* control_context = NULL

Definition at line 24 of file test_proxy.cpp.

◆ g_clients_pkts_out

void* g_clients_pkts_out = NULL

Definition at line 22 of file test_proxy.cpp.

◆ g_workers_pkts_out

void* g_workers_pkts_out = NULL

Definition at line 23 of file test_proxy.cpp.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:04