libwebsockets
Lightweight C library for HTML5 websockets
lws_adopt_desc Struct Reference

Data Fields

struct lws_vhost * vh
 
lws_adoption_type type
 
lws_sock_file_fd_type fd
 
const char * vh_prot_name
 
struct lws * parent
 
void * opaque
 

Field Documentation

◆ fd

lws_sock_file_fd_type lws_adopt_desc::fd

union with either .sockfd or .filefd set

◆ opaque

void* lws_adopt_desc::opaque

opaque pointer to set on created wsi

◆ parent

struct lws* lws_adopt_desc::parent

NULL or struct lws to attach new_wsi to as a child

◆ type

lws_adoption_type lws_adopt_desc::type

OR-ed combinations of lws_adoption_type flags

◆ vh

struct lws_vhost* lws_adopt_desc::vh

vhost the wsi should belong to

◆ vh_prot_name

const char* lws_adopt_desc::vh_prot_name

NULL or vh protocol name to bind raw connection to


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