Functions | Variables
test-poll-oob.c File Reference
#include "uv.h"
#include "task.h"
#include <errno.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <string.h>
Include dependency graph for test-poll-oob.c:

Go to the source code of this file.

Functions

static void connection_cb (uv_stream_t *handle, int status)
 
static int got_eagain (void)
 
static void idle_cb (uv_idle_t *idle)
 
static void poll_cb (uv_poll_t *handle, int status, int events)
 
 TEST_IMPL (poll_oob)
 

Variables

static int cli_pr_check = 0
 
static int cli_rd_check = 0
 
static uv_os_fd_t client_fd
 
static uv_tcp_t client_handle
 
static uv_idle_t idle
 
static const int kMaxTicks = 10
 
static uv_tcp_t peer_handle
 
static uv_poll_t poll_req [2]
 
static uv_os_fd_t server_fd
 
static uv_tcp_t server_handle
 
static int srv_rd_check = 0
 
static int ticks
 

Function Documentation

◆ connection_cb()

static void connection_cb ( uv_stream_t handle,
int  status 
)
static

Definition at line 135 of file test-poll-oob.c.

◆ got_eagain()

static int got_eagain ( void  )
static

Definition at line 46 of file test-poll-oob.c.

◆ idle_cb()

static void idle_cb ( uv_idle_t idle)
static

Definition at line 55 of file test-poll-oob.c.

◆ poll_cb()

static void poll_cb ( uv_poll_t handle,
int  status,
int  events 
)
static

Definition at line 68 of file test-poll-oob.c.

◆ TEST_IMPL()

TEST_IMPL ( poll_oob  )

Definition at line 163 of file test-poll-oob.c.

Variable Documentation

◆ cli_pr_check

int cli_pr_check = 0
static

Definition at line 42 of file test-poll-oob.c.

◆ cli_rd_check

int cli_rd_check = 0
static

Definition at line 43 of file test-poll-oob.c.

◆ client_fd

uv_os_fd_t client_fd
static

Definition at line 38 of file test-poll-oob.c.

◆ client_handle

uv_tcp_t client_handle
static

Definition at line 34 of file test-poll-oob.c.

◆ idle

uv_idle_t idle
static

Definition at line 37 of file test-poll-oob.c.

◆ kMaxTicks

const int kMaxTicks = 10
static

Definition at line 41 of file test-poll-oob.c.

◆ peer_handle

uv_tcp_t peer_handle
static

Definition at line 35 of file test-poll-oob.c.

◆ poll_req

uv_poll_t poll_req[2]
static

Definition at line 36 of file test-poll-oob.c.

◆ server_fd

uv_os_fd_t server_fd
static

Definition at line 39 of file test-poll-oob.c.

◆ server_handle

uv_tcp_t server_handle
static

Definition at line 33 of file test-poll-oob.c.

◆ srv_rd_check

int srv_rd_check = 0
static

Definition at line 44 of file test-poll-oob.c.

◆ ticks

int ticks
static

Definition at line 40 of file test-poll-oob.c.



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