Functions | Variables
test-delayed-accept.c File Reference
#include "uv.h"
#include "task.h"
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for test-delayed-accept.c:

Go to the source code of this file.

Functions

static void alloc_cb (uv_handle_t *handle, size_t size, uv_buf_t *buf)
 
static void client_connect (void)
 
static void close_cb (uv_handle_t *handle)
 
static void connect_cb (uv_connect_t *req, int status)
 
static void connection_cb (uv_stream_t *tcp, int status)
 
static void do_accept (uv_timer_t *timer_handle)
 
static void read_cb (uv_stream_t *tcp, ssize_t nread, const uv_buf_t *buf)
 
static void start_server (void)
 
 TEST_IMPL (delayed_accept)
 

Variables

static int close_cb_called = 0
 
static int connect_cb_called = 0
 
static int connection_cb_called = 0
 
static int do_accept_called = 0
 

Function Documentation

◆ alloc_cb()

static void alloc_cb ( uv_handle_t handle,
size_t  size,
uv_buf_t buf 
)
static

Definition at line 33 of file test-delayed-accept.c.

◆ client_connect()

static void client_connect ( void  )
static

Definition at line 152 of file test-delayed-accept.c.

◆ close_cb()

static void close_cb ( uv_handle_t handle)
static

Definition at line 39 of file test-delayed-accept.c.

◆ connect_cb()

static void connect_cb ( uv_connect_t req,
int  status 
)
static

Definition at line 135 of file test-delayed-accept.c.

◆ connection_cb()

static void connection_cb ( uv_stream_t tcp,
int  status 
)
static

Definition at line 78 of file test-delayed-accept.c.

◆ do_accept()

static void do_accept ( uv_timer_t timer_handle)
static

Definition at line 48 of file test-delayed-accept.c.

◆ read_cb()

static void read_cb ( uv_stream_t tcp,
ssize_t  nread,
const uv_buf_t buf 
)
static

Definition at line 118 of file test-delayed-accept.c.

◆ start_server()

static void start_server ( void  )
static

Definition at line 100 of file test-delayed-accept.c.

◆ TEST_IMPL()

TEST_IMPL ( delayed_accept  )

Definition at line 174 of file test-delayed-accept.c.

Variable Documentation

◆ close_cb_called

int close_cb_called = 0
static

Definition at line 29 of file test-delayed-accept.c.

◆ connect_cb_called

int connect_cb_called = 0
static

Definition at line 30 of file test-delayed-accept.c.

◆ connection_cb_called

int connection_cb_called = 0
static

Definition at line 27 of file test-delayed-accept.c.

◆ do_accept_called

int do_accept_called = 0
static

Definition at line 28 of file test-delayed-accept.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:33