GNUnet  0.10.x
Data Fields
io_facility Struct Reference

A IO Object + read/writebuffer + buffer-size for windows asynchronous IO handling. More...

Data Fields

enum IO_State facility_state
 The mode the state machine associated with this object is in. More...
 
BOOL path_open
 If the path is open or blocked in general (used for quickly checking) More...
 
HANDLE handle
 Windows Object-Handle (used for accessing TAP and STDIN/STDOUT) More...
 
OVERLAPPED overlapped
 Overlaped IO structure used for asynchronous IO in windows. More...
 
unsigned char buffer [65536]
 Buffer for reading things to and writing from... More...
 
DWORD buffer_size
 How much of this buffer was used when reading or how much data can be written. More...
 
DWORD buffer_size_processed
 Amount of data actually written or read by readfile/writefile. More...
 
DWORD buffer_size_written
 How much of this buffer we have written in total. More...
 

Detailed Description

A IO Object + read/writebuffer + buffer-size for windows asynchronous IO handling.

Definition at line 197 of file gnunet-helper-exit-windows.c.

Field Documentation

◆ facility_state

enum IO_State io_facility::facility_state

The mode the state machine associated with this object is in.

Definition at line 201 of file gnunet-helper-exit-windows.c.

Referenced by attempt_read_stdin(), attempt_read_tap(), attempt_write(), and initialize_io_facility().

◆ path_open

BOOL io_facility::path_open

If the path is open or blocked in general (used for quickly checking)

Definition at line 206 of file gnunet-helper-exit-windows.c.

Referenced by attempt_read_stdin(), attempt_read_tap(), attempt_write(), initialize_io_facility(), and run().

◆ handle

HANDLE io_facility::handle

Windows Object-Handle (used for accessing TAP and STDIN/STDOUT)

Definition at line 211 of file gnunet-helper-exit-windows.c.

Referenced by attempt_read_stdin(), attempt_read_tap(), attempt_write(), init_tun(), initialize_io_facility(), main(), and run().

◆ overlapped

OVERLAPPED io_facility::overlapped

Overlaped IO structure used for asynchronous IO in windows.

Definition at line 216 of file gnunet-helper-exit-windows.c.

Referenced by attempt_read_stdin(), attempt_read_tap(), attempt_write(), and initialize_io_facility().

◆ buffer

unsigned char io_facility::buffer

Buffer for reading things to and writing from...

Definition at line 221 of file gnunet-helper-exit-windows.c.

Referenced by attempt_read_stdin(), attempt_read_tap(), and attempt_write().

◆ buffer_size

DWORD io_facility::buffer_size

How much of this buffer was used when reading or how much data can be written.

Definition at line 226 of file gnunet-helper-exit-windows.c.

Referenced by attempt_read_stdin(), attempt_read_tap(), attempt_write(), and initialize_io_facility().

◆ buffer_size_processed

DWORD io_facility::buffer_size_processed

Amount of data actually written or read by readfile/writefile.

Definition at line 231 of file gnunet-helper-exit-windows.c.

Referenced by attempt_read_stdin(), and attempt_write().

◆ buffer_size_written

DWORD io_facility::buffer_size_written

How much of this buffer we have written in total.

How much of this buffer we have writte in total.

Definition at line 236 of file gnunet-helper-exit-windows.c.

Referenced by attempt_write().


The documentation for this struct was generated from the following files: