Functions | Variables
test-shutdown-eof.c File Reference
#include "uv.h"
#include "task.h"
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for test-shutdown-eof.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 connect_cb (uv_connect_t *req, int status)
 
static void read_cb (uv_stream_t *t, ssize_t nread, const uv_buf_t *buf)
 
static void shutdown_cb (uv_shutdown_t *req, int status)
 
static void tcp_close_cb (uv_handle_t *handle)
 
 TEST_IMPL (shutdown_eof)
 
static void timer_cb (uv_timer_t *handle)
 
static void timer_close_cb (uv_handle_t *handle)
 

Variables

static int called_connect_cb
 
static int called_shutdown_cb
 
static int called_tcp_close_cb
 
static int called_timer_cb
 
static int called_timer_close_cb
 
static uv_connect_t connect_req
 
static int got_eof
 
static int got_q
 
static uv_buf_t qbuf
 
static uv_shutdown_t shutdown_req
 
static uv_tcp_t tcp
 
static uv_timer_t timer
 
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 42 of file test-shutdown-eof.c.

◆ connect_cb()

static void connect_cb ( uv_connect_t req,
int  status 
)
static

Definition at line 87 of file test-shutdown-eof.c.

◆ read_cb()

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

Definition at line 48 of file test-shutdown-eof.c.

◆ shutdown_cb()

static void shutdown_cb ( uv_shutdown_t req,
int  status 
)
static

Definition at line 74 of file test-shutdown-eof.c.

◆ tcp_close_cb()

static void tcp_close_cb ( uv_handle_t handle)
static

Definition at line 108 of file test-shutdown-eof.c.

◆ TEST_IMPL()

TEST_IMPL ( shutdown_eof  )

Definition at line 147 of file test-shutdown-eof.c.

◆ timer_cb()

static void timer_cb ( uv_timer_t handle)
static

Definition at line 126 of file test-shutdown-eof.c.

◆ timer_close_cb()

static void timer_close_cb ( uv_handle_t handle)
static

Definition at line 120 of file test-shutdown-eof.c.

Variable Documentation

◆ called_connect_cb

int called_connect_cb
static

Definition at line 35 of file test-shutdown-eof.c.

◆ called_shutdown_cb

int called_shutdown_cb
static

Definition at line 36 of file test-shutdown-eof.c.

◆ called_tcp_close_cb

int called_tcp_close_cb
static

Definition at line 37 of file test-shutdown-eof.c.

◆ called_timer_cb

int called_timer_cb
static

Definition at line 39 of file test-shutdown-eof.c.

◆ called_timer_close_cb

int called_timer_close_cb
static

Definition at line 38 of file test-shutdown-eof.c.

◆ connect_req

uv_connect_t connect_req
static

Definition at line 29 of file test-shutdown-eof.c.

◆ got_eof

int got_eof
static

Definition at line 34 of file test-shutdown-eof.c.

◆ got_q

int got_q
static

Definition at line 33 of file test-shutdown-eof.c.

◆ qbuf

uv_buf_t qbuf
static

Definition at line 32 of file test-shutdown-eof.c.

◆ shutdown_req

uv_shutdown_t shutdown_req
static

Definition at line 31 of file test-shutdown-eof.c.

◆ tcp

uv_tcp_t tcp
static

Definition at line 28 of file test-shutdown-eof.c.

◆ timer

uv_timer_t timer
static

Definition at line 27 of file test-shutdown-eof.c.

◆ write_req

Definition at line 30 of file test-shutdown-eof.c.



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