Functions | Variables
test-callback-stack.c File Reference
#include "uv.h"
#include "task.h"
Include dependency graph for test-callback-stack.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 close_cb (uv_handle_t *handle)
 
static void connect_cb (uv_connect_t *req, int status)
 
static void read_cb (uv_stream_t *tcp, ssize_t nread, const uv_buf_t *buf)
 
static void shutdown_cb (uv_shutdown_t *req, int status)
 
 TEST_IMPL (callback_stack)
 
static void timer_cb (uv_timer_t *handle)
 
static void write_cb (uv_write_t *req, int status)
 

Variables

static int bytes_received = 0
 
static uv_tcp_t client
 
static int close_cb_called = 0
 
static int connect_cb_called = 0
 
static uv_connect_t connect_req
 
static const char MESSAGE [] = "Failure is for the weak. Everyone dies alone."
 
static int nested = 0
 
static int shutdown_cb_called = 0
 
static uv_shutdown_t shutdown_req
 
static uv_timer_t timer
 
static int timer_cb_called = 0
 
static int write_cb_called = 0
 
static uv_write_t write_req
 

Function Documentation

◆ alloc_cb()

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

Definition at line 48 of file test-callback-stack.c.

◆ close_cb()

static void close_cb ( uv_handle_t handle)
static

Definition at line 55 of file test-callback-stack.c.

◆ connect_cb()

static void connect_cb ( uv_connect_t req,
int  status 
)
static

Definition at line 148 of file test-callback-stack.c.

◆ read_cb()

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

Definition at line 70 of file test-callback-stack.c.

◆ shutdown_cb()

static void shutdown_cb ( uv_shutdown_t req,
int  status 
)
static

Definition at line 62 of file test-callback-stack.c.

◆ TEST_IMPL()

TEST_IMPL ( callback_stack  )

Definition at line 171 of file test-callback-stack.c.

◆ timer_cb()

static void timer_cb ( uv_timer_t handle)
static

Definition at line 107 of file test-callback-stack.c.

◆ write_cb()

static void write_cb ( uv_write_t req,
int  status 
)
static

Definition at line 125 of file test-callback-stack.c.

Variable Documentation

◆ bytes_received

int bytes_received = 0
static

Definition at line 44 of file test-callback-stack.c.

◆ client

uv_tcp_t client
static

Definition at line 33 of file test-callback-stack.c.

◆ close_cb_called

int close_cb_called = 0
static

Definition at line 40 of file test-callback-stack.c.

◆ connect_cb_called

int connect_cb_called = 0
static

Definition at line 41 of file test-callback-stack.c.

◆ connect_req

uv_connect_t connect_req
static

Definition at line 35 of file test-callback-stack.c.

◆ MESSAGE

const char MESSAGE[] = "Failure is for the weak. Everyone dies alone."
static

Definition at line 31 of file test-callback-stack.c.

◆ nested

int nested = 0
static

Definition at line 39 of file test-callback-stack.c.

◆ shutdown_cb_called

int shutdown_cb_called = 0
static

Definition at line 45 of file test-callback-stack.c.

◆ shutdown_req

uv_shutdown_t shutdown_req
static

Definition at line 37 of file test-callback-stack.c.

◆ timer

uv_timer_t timer
static

Definition at line 34 of file test-callback-stack.c.

◆ timer_cb_called

int timer_cb_called = 0
static

Definition at line 43 of file test-callback-stack.c.

◆ write_cb_called

int write_cb_called = 0
static

Definition at line 42 of file test-callback-stack.c.

◆ write_req

Definition at line 36 of file test-callback-stack.c.



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