php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
_php_stream_xport_param Struct Reference

#include <php_stream_transport.h>

Public Types

enum  {
  STREAM_XPORT_OP_BIND , STREAM_XPORT_OP_CONNECT , STREAM_XPORT_OP_LISTEN , STREAM_XPORT_OP_ACCEPT ,
  STREAM_XPORT_OP_CONNECT_ASYNC , STREAM_XPORT_OP_GET_NAME , STREAM_XPORT_OP_GET_PEER_NAME , STREAM_XPORT_OP_RECV ,
  STREAM_XPORT_OP_SEND , STREAM_XPORT_OP_SHUTDOWN
}
 

Data Fields

enum _php_stream_xport_param:: { ... }  op
 
unsigned int want_addr:1
 
unsigned int want_textaddr:1
 
unsigned int want_errortext:1
 
unsigned int how:2
 
struct { 
 
   char *   name 
 
   size_t   namelen 
 
   struct timeval *   timeout 
 
   struct sockaddr *   addr 
 
   char *   buf 
 
   size_t   buflen 
 
   socklen_t   addrlen 
 
   int   backlog 
 
   int   flags 
 
inputs 
 
struct { 
 
   php_stream *   client 
 
   struct sockaddr *   addr 
 
   socklen_t   addrlen 
 
   zend_string *   textaddr 
 
   zend_string *   error_text 
 
   int   returncode 
 
   int   error_code 
 
outputs 
 

Detailed Description

Definition at line 123 of file php_stream_transport.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
STREAM_XPORT_OP_BIND 
STREAM_XPORT_OP_CONNECT 
STREAM_XPORT_OP_LISTEN 
STREAM_XPORT_OP_ACCEPT 
STREAM_XPORT_OP_CONNECT_ASYNC 
STREAM_XPORT_OP_GET_NAME 
STREAM_XPORT_OP_GET_PEER_NAME 
STREAM_XPORT_OP_RECV 
STREAM_XPORT_OP_SEND 
STREAM_XPORT_OP_SHUTDOWN 

Definition at line 124 of file php_stream_transport.h.

Field Documentation

◆ addr

struct sockaddr* _php_stream_xport_param::addr

Definition at line 143 of file php_stream_transport.h.

◆ addrlen

socklen_t _php_stream_xport_param::addrlen

Definition at line 146 of file php_stream_transport.h.

◆ backlog

int _php_stream_xport_param::backlog

Definition at line 147 of file php_stream_transport.h.

◆ buf

char* _php_stream_xport_param::buf

Definition at line 144 of file php_stream_transport.h.

◆ buflen

size_t _php_stream_xport_param::buflen

Definition at line 145 of file php_stream_transport.h.

◆ client

php_stream* _php_stream_xport_param::client

Definition at line 151 of file php_stream_transport.h.

◆ error_code

int _php_stream_xport_param::error_code

Definition at line 157 of file php_stream_transport.h.

◆ error_text

zend_string* _php_stream_xport_param::error_text

Definition at line 155 of file php_stream_transport.h.

◆ flags

int _php_stream_xport_param::flags

Definition at line 148 of file php_stream_transport.h.

◆ how

unsigned int _php_stream_xport_param::how

Definition at line 137 of file php_stream_transport.h.

◆ [struct]

struct { ... } _php_stream_xport_param::inputs

◆ name

char* _php_stream_xport_param::name

Definition at line 140 of file php_stream_transport.h.

◆ namelen

size_t _php_stream_xport_param::namelen

Definition at line 141 of file php_stream_transport.h.

◆ []

enum { ... } _php_stream_xport_param::op

◆ [struct]

struct { ... } _php_stream_xport_param::outputs

◆ returncode

int _php_stream_xport_param::returncode

Definition at line 156 of file php_stream_transport.h.

◆ textaddr

zend_string* _php_stream_xport_param::textaddr

Definition at line 154 of file php_stream_transport.h.

◆ timeout

struct timeval* _php_stream_xport_param::timeout

Definition at line 142 of file php_stream_transport.h.

◆ want_addr

unsigned int _php_stream_xport_param::want_addr

Definition at line 134 of file php_stream_transport.h.

◆ want_errortext

unsigned int _php_stream_xport_param::want_errortext

Definition at line 136 of file php_stream_transport.h.

◆ want_textaddr

unsigned int _php_stream_xport_param::want_textaddr

Definition at line 135 of file php_stream_transport.h.


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