Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
Dsh Struct Reference

Dpip socket handler type. More...

#include <dpip.h>

Public Attributes

int fd_in
 
int fd_out
 
FILE * out
 
Dstrwrbuf
 write buffer
 
Dstrrdbuf
 read buffer
 
int flush_sz
 max size before flush
 
int mode
 mode flags: DPIP_TAG | DPIP_LAST_TAG | DPIP_RAW
 
int status
 status code: DPIP_EAGAIN | DPIP_ERROR | DPIP_EOF
 

Detailed Description

Dpip socket handler type.

Definition at line 31 of file dpip.h.

Member Data Documentation

◆ fd_in

int Dsh::fd_in

Definition at line 32 of file dpip.h.

Referenced by a_Dpip_dsh_close(), a_Dpip_dsh_new(), and Dpip_dsh_read().

◆ fd_out

int Dsh::fd_out

Definition at line 33 of file dpip.h.

Referenced by a_Dpip_dsh_close(), a_Dpip_dsh_new(), Dpip_dsh_read(), and Dpip_dsh_write().

◆ flush_sz

int Dsh::flush_sz

max size before flush

Definition at line 39 of file dpip.h.

Referenced by a_Dpip_dsh_new().

◆ mode

int Dsh::mode

mode flags: DPIP_TAG | DPIP_LAST_TAG | DPIP_RAW

Definition at line 41 of file dpip.h.

Referenced by a_Dpip_dsh_new(), a_Dpip_dsh_read_token2(), Bmsrv_parse_token(), Dpip_dsh_read(), and Dpip_dsh_write().

◆ out

FILE* Dsh::out

Definition at line 35 of file dpip.h.

◆ rdbuf

Dstr* Dsh::rdbuf

read buffer

Definition at line 38 of file dpip.h.

Referenced by a_Dpip_dsh_free(), a_Dpip_dsh_new(), a_Dpip_dsh_read_token2(), and Dpip_dsh_read().

◆ status

int Dsh::status

status code: DPIP_EAGAIN | DPIP_ERROR | DPIP_EOF

Definition at line 42 of file dpip.h.

Referenced by a_Dpip_dsh_new(), a_Dpip_dsh_read_token2(), Dpip_dsh_read(), Dpip_dsh_write(), and main().

◆ wrbuf

Dstr* Dsh::wrbuf

write buffer

Definition at line 37 of file dpip.h.

Referenced by a_Dpip_dsh_free(), a_Dpip_dsh_new(), a_Dpip_dsh_tryflush(), a_Dpip_dsh_trywrite(), and a_Dpip_dsh_write().


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