libwebsockets
Lightweight C library for HTML5 websockets
lws_event_loop_ops Struct Reference

#include <lws-eventlib-exports.h>

+ Collaboration diagram for lws_event_loop_ops:

Data Fields

const char * name
 
int(* init_context )(struct lws_context *context, const struct lws_context_creation_info *info)
 
int(* destroy_context1 )(struct lws_context *context)
 
int(* destroy_context2 )(struct lws_context *context)
 
int(* init_vhost_listen_wsi )(struct lws *wsi)
 
int(* init_pt )(struct lws_context *context, void *_loop, int tsi)
 
int(* wsi_logical_close )(struct lws *wsi)
 
int(* check_client_connect_ok )(struct lws *wsi)
 
void(* close_handle_manually )(struct lws *wsi)
 
int(* sock_accept )(struct lws *wsi)
 
void(* io )(struct lws *wsi, unsigned int flags)
 
void(* run_pt )(struct lws_context *context, int tsi)
 
void(* destroy_pt )(struct lws_context *context, int tsi)
 
void(* destroy_wsi )(struct lws *wsi)
 
int(* foreign_thread )(struct lws_context *context, int tsi)
 
int(* fake_POLLIN_override )(struct lws_context *context, int tsi)
 
uint8_t flags
 
uint16_t evlib_size_ctx
 
uint16_t evlib_size_pt
 
uint16_t evlib_size_vh
 
uint16_t evlib_size_wsi
 

Detailed Description

Definition at line 39 of file lws-eventlib-exports.h.

Field Documentation

◆ name

const char* lws_event_loop_ops::name

Definition at line 40 of file lws-eventlib-exports.h.

◆ init_context

int(* lws_event_loop_ops::init_context) (struct lws_context *context, const struct lws_context_creation_info *info)

Definition at line 42 of file lws-eventlib-exports.h.

◆ destroy_context1

int(* lws_event_loop_ops::destroy_context1) (struct lws_context *context)

Definition at line 45 of file lws-eventlib-exports.h.

◆ destroy_context2

int(* lws_event_loop_ops::destroy_context2) (struct lws_context *context)

Definition at line 47 of file lws-eventlib-exports.h.

◆ init_vhost_listen_wsi

int(* lws_event_loop_ops::init_vhost_listen_wsi) (struct lws *wsi)

Definition at line 49 of file lws-eventlib-exports.h.

◆ init_pt

int(* lws_event_loop_ops::init_pt) (struct lws_context *context, void *_loop, int tsi)

Definition at line 51 of file lws-eventlib-exports.h.

◆ wsi_logical_close

int(* lws_event_loop_ops::wsi_logical_close) (struct lws *wsi)

Definition at line 53 of file lws-eventlib-exports.h.

◆ check_client_connect_ok

int(* lws_event_loop_ops::check_client_connect_ok) (struct lws *wsi)

Definition at line 55 of file lws-eventlib-exports.h.

◆ close_handle_manually

void(* lws_event_loop_ops::close_handle_manually) (struct lws *wsi)

Definition at line 57 of file lws-eventlib-exports.h.

◆ sock_accept

int(* lws_event_loop_ops::sock_accept) (struct lws *wsi)

Definition at line 59 of file lws-eventlib-exports.h.

◆ io

void(* lws_event_loop_ops::io) (struct lws *wsi, unsigned int flags)

Definition at line 61 of file lws-eventlib-exports.h.

◆ run_pt

void(* lws_event_loop_ops::run_pt) (struct lws_context *context, int tsi)

Definition at line 63 of file lws-eventlib-exports.h.

◆ destroy_pt

void(* lws_event_loop_ops::destroy_pt) (struct lws_context *context, int tsi)

Definition at line 65 of file lws-eventlib-exports.h.

◆ destroy_wsi

void(* lws_event_loop_ops::destroy_wsi) (struct lws *wsi)

Definition at line 67 of file lws-eventlib-exports.h.

◆ foreign_thread

int(* lws_event_loop_ops::foreign_thread) (struct lws_context *context, int tsi)

Definition at line 69 of file lws-eventlib-exports.h.

◆ fake_POLLIN_override

int(* lws_event_loop_ops::fake_POLLIN_override) (struct lws_context *context, int tsi)

Definition at line 72 of file lws-eventlib-exports.h.

◆ flags

uint8_t lws_event_loop_ops::flags

Definition at line 74 of file lws-eventlib-exports.h.

◆ evlib_size_ctx

uint16_t lws_event_loop_ops::evlib_size_ctx

Definition at line 76 of file lws-eventlib-exports.h.

◆ evlib_size_pt

uint16_t lws_event_loop_ops::evlib_size_pt

Definition at line 77 of file lws-eventlib-exports.h.

◆ evlib_size_vh

uint16_t lws_event_loop_ops::evlib_size_vh

Definition at line 78 of file lws-eventlib-exports.h.

◆ evlib_size_wsi

uint16_t lws_event_loop_ops::evlib_size_wsi

Definition at line 79 of file lws-eventlib-exports.h.


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