libwebsockets
Lightweight C library for HTML5 websockets
|
#include <stdarg.h>
#include "lws_config.h"
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <poll.h>
#include <netdb.h>
#include <sys/time.h>
#include <libwebsockets/lws-logs.h>
#include <libwebsockets/lws-dll2.h>
#include <libwebsockets/lws-map.h>
#include <libwebsockets/lws-fault-injection.h>
#include <libwebsockets/lws-backtrace.h>
#include <libwebsockets/lws-timeout-timer.h>
#include <libwebsockets/lws-cache-ttl.h>
#include <libwebsockets/lws-state.h>
#include <libwebsockets/lws-retry.h>
#include <libwebsockets/lws-ota.h>
#include <libwebsockets/lws-system.h>
#include <libwebsockets/lws-callbacks.h>
#include <libwebsockets/lws-protocols-plugins.h>
#include <libwebsockets/lws-context-vhost.h>
#include <libwebsockets/lws-purify.h>
#include <libwebsockets/lws-misc.h>
#include <libwebsockets/lws-dsh.h>
#include <libwebsockets/lws-ring.h>
#include <libwebsockets/lws-sha1-base64.h>
#include <libwebsockets/lws-x509.h>
#include <libwebsockets/lws-gencrypto.h>
#include <libwebsockets/lws-lejp.h>
#include <libwebsockets/lws-lecp.h>
#include <libwebsockets/lws-cose.h>
#include <libwebsockets/lws-struct.h>
#include <libwebsockets/lws-threadpool.h>
#include <libwebsockets/lws-tokenize.h>
#include <libwebsockets/lws-lwsac.h>
#include <libwebsockets/lws-fts.h>
#include <libwebsockets/lws-diskcache.h>
#include <libwebsockets/lws-secure-streams.h>
#include <libwebsockets/lws-secure-streams-serialization.h>
#include <libwebsockets/lws-secure-streams-policy.h>
#include <libwebsockets/lws-secure-streams-client.h>
#include <libwebsockets/lws-secure-streams-transport-proxy.h>
#include <libwebsockets/lws-jrpc.h>
#include <libwebsockets/lws-async-dns.h>
#include <libwebsockets/lws-i2c.h>
#include <libwebsockets/lws-spi.h>
#include <libwebsockets/lws-gpio.h>
#include <libwebsockets/lws-bb-i2c.h>
#include <libwebsockets/lws-bb-spi.h>
#include <libwebsockets/lws-button.h>
#include <libwebsockets/lws-led.h>
#include <libwebsockets/lws-pwm.h>
#include <libwebsockets/lws-upng.h>
#include <libwebsockets/lws-jpeg.h>
#include <libwebsockets/lws-display.h>
#include <libwebsockets/lws-dlo.h>
#include <libwebsockets/lws-ssd1306-i2c.h>
#include <libwebsockets/lws-ili9341-spi.h>
#include <libwebsockets/lws-spd1656-spi.h>
#include <libwebsockets/lws-uc8176-spi.h>
#include <libwebsockets/lws-ssd1675b-spi.h>
#include <libwebsockets/lws-settings.h>
#include <libwebsockets/lws-html.h>
Go to the source code of this file.
Data Structures | |
struct | lws_pollargs |
struct | lws_fixed3232 |
Typedefs | |
typedef struct lws_context * | lws_ctx_t |
typedef unsigned long long | lws_intptr_t |
typedef int | lws_sockfd_type |
typedef int | lws_filefd_type |
typedef unsigned int | uint32_t |
typedef unsigned short | uint16_t |
typedef unsigned char | uint8_t |
typedef int64_t | lws_usec_t |
typedef unsigned long long | lws_filepos_t |
typedef long long | lws_fileofs_t |
typedef uint32_t | lws_fop_flags_t |
typedef struct lws_fixed3232 | lws_fx_t |
Enumerations | |
enum | lws_stateful_ret_t { LWS_SRET_OK = 0 , LWS_SRET_WANT_INPUT = (1 << 16) , LWS_SRET_WANT_OUTPUT = (1 << 17) , LWS_SRET_FATAL = (1 << 18) , LWS_SRET_NO_FURTHER_IN = (1 << 19) , LWS_SRET_NO_FURTHER_OUT = (1 << 20) , LWS_SRET_AWAIT_RETRY = (1 << 21) , LWS_SRET_YIELD = (1 << 22) } |
Functions | |
LWS_VISIBLE LWS_EXTERN const lws_fx_t * | lws_fx_add (lws_fx_t *r, const lws_fx_t *a, const lws_fx_t *b) |
LWS_VISIBLE LWS_EXTERN const lws_fx_t * | lws_fx_sub (lws_fx_t *r, const lws_fx_t *a, const lws_fx_t *b) |
LWS_VISIBLE LWS_EXTERN const lws_fx_t * | lws_fx_mul (lws_fx_t *r, const lws_fx_t *a, const lws_fx_t *b) |
LWS_VISIBLE LWS_EXTERN const lws_fx_t * | lws_fx_div (lws_fx_t *r, const lws_fx_t *a, const lws_fx_t *b) |
LWS_VISIBLE LWS_EXTERN const lws_fx_t * | lws_fx_sqrt (lws_fx_t *r, const lws_fx_t *a) |
LWS_VISIBLE LWS_EXTERN int | lws_fx_comp (const lws_fx_t *a, const lws_fx_t *b) |
LWS_VISIBLE LWS_EXTERN int | lws_fx_roundup (const lws_fx_t *a) |
LWS_VISIBLE LWS_EXTERN int | lws_fx_rounddown (const lws_fx_t *a) |
LWS_VISIBLE LWS_EXTERN const char * | lws_fx_string (const lws_fx_t *a, char *buf, size_t size) |
struct lws_pollargs |
struct lws_pollargs - argument structure for all external poll related calls passed in via 'in'
Definition at line 596 of file libwebsockets.h.
Data Fields | ||
---|---|---|
lws_sockfd_type | fd |
applicable socket descriptor |
int | events |
the new event mask |
int | prev_events |
the previous event mask |
struct lws_fixed3232 |
Definition at line 642 of file libwebsockets.h.
Data Fields | ||
---|---|---|
int32_t | whole | |
int32_t | frac |
#define LWS_ETHER_ADDR_LEN ETHER_ADDR_LEN |
Definition at line 60 of file libwebsockets.h.
#define LWS_US_PER_SEC ((lws_usec_t)1000000) |
Definition at line 76 of file libwebsockets.h.
#define LWS_MS_PER_SEC ((lws_usec_t)1000) |
Definition at line 77 of file libwebsockets.h.
#define LWS_US_PER_MS ((lws_usec_t)1000) |
Definition at line 78 of file libwebsockets.h.
#define LWS_NS_PER_US ((lws_usec_t)1000) |
Definition at line 79 of file libwebsockets.h.
#define LWS_KI (1024) |
Definition at line 81 of file libwebsockets.h.
#define LWS_MI (LWS_KI * 1024) |
Definition at line 82 of file libwebsockets.h.
#define LWS_GI (LWS_MI * 1024) |
Definition at line 83 of file libwebsockets.h.
#define LWS_TI ((uint64_t)LWS_GI * 1024) |
Definition at line 84 of file libwebsockets.h.
#define LWS_PI ((uint64_t)LWS_TI * 1024) |
Definition at line 85 of file libwebsockets.h.
#define LWS_US_TO_MS | ( | x | ) |
Definition at line 87 of file libwebsockets.h.
#define LWS_FOURCC | ( | a, | |
b, | |||
c, | |||
d ) |
Definition at line 89 of file libwebsockets.h.
#define LWS_INLINE inline |
Definition at line 171 of file libwebsockets.h.
Referenced by lws_dll2_is_detached(), lws_vfs_file_open(), and lwsl_hexdump().
#define LWS_O_RDONLY O_RDONLY |
Definition at line 172 of file libwebsockets.h.
#define LWS_O_WRONLY O_WRONLY |
Definition at line 173 of file libwebsockets.h.
#define LWS_O_CREAT O_CREAT |
Definition at line 174 of file libwebsockets.h.
#define LWS_O_TRUNC O_TRUNC |
Definition at line 175 of file libwebsockets.h.
#define LWS_INVALID_FILE -1 |
Definition at line 180 of file libwebsockets.h.
#define LWS_SOCK_INVALID (-1) |
Definition at line 181 of file libwebsockets.h.
#define LWS_VISIBLE |
Definition at line 230 of file libwebsockets.h.
Referenced by __lws_sul_insert(), _lws_alloc_metadata_adjust(), _lws_alloc_metadata_dump(), _lws_alloc_metadata_trim(), _lws_context_info_defaults(), _lws_log(), _lws_logv(), _lws_plat_file_close(), _lws_plat_file_open(), _lws_plat_file_read(), _lws_plat_file_seek_cur(), _lws_plat_file_write(), _lws_plat_service_forced_tsi(), lecp_change_callback(), lecp_construct(), lecp_destruct(), lecp_error_to_string(), lecp_parse(), lecp_parse_map_is_key(), lecp_parse_report_raw(), lecp_parse_subtree(), lejp_change_callback(), lejp_check_path_match(), lejp_construct(), lejp_destruct(), lejp_get_wildcard(), lejp_parse(), lejp_parser_pop(), lejp_parser_push(), lws_add_http_header_by_name(), lws_add_http_header_by_token(), lws_add_http_header_content_length(), lws_add_http_header_status(), lws_adjust_protocol_psds(), lws_adopt_descriptor_vhost_via_info(), lws_adopt_socket(), lws_adopt_socket_readbuf(), lws_alloc_metadata_dump_stdout(), lws_alloc_metadata_gen(), lws_alloc_metadata_parse(), lws_b64_decode_state_init(), lws_b64_decode_string(), lws_b64_encode_string(), lws_b64_encode_string_url(), lws_backtrace(), lws_backtrace_compress_backtrace(), lws_backtrace_compression_destream(), lws_backtrace_compression_stream(), lws_backtrace_compression_stream_init(), lws_base64_size(), lws_buflist_append_segment(), lws_buflist_destroy_all_segments(), lws_buflist_fragment_use(), lws_buflist_linear_copy(), lws_buflist_linear_use(), lws_buflist_next_segment_len(), lws_buflist_total_len(), lws_buflist_use_segment(), lws_button_controller_create(), lws_button_controller_destroy(), lws_button_get_bit(), lws_cache_create(), lws_cache_destroy(), lws_cache_expunge(), lws_cache_footprint(), lws_cache_item_get(), lws_cache_item_remove(), lws_cache_lookup(), lws_callback_all_protocol(), lws_callback_all_protocol_vhost(), lws_callback_all_protocol_vhost_args(), lws_callback_http_dummy(), lws_callback_on_writable(), lws_callback_on_writable_all_protocol(), lws_callback_on_writable_all_protocol_vhost(), lws_callback_vhost_protocols(), lws_callback_vhost_protocols_vhost(), lws_cancel_service(), lws_cancel_service_pt(), lws_canonical_hostname(), lws_clear_child_pending_on_writable(), lws_client_connect_via_info(), lws_client_http_body_pending(), lws_client_http_multipart(), lws_close_free_wsi(), lws_cmdline_option(), lws_cmdline_option_handle_builtin(), lws_cmdline_passfail(), lws_conmon_wsi_take(), lws_context_default_loop_run_destroy(), lws_context_deprecate(), lws_context_destroy2(), lws_context_is_deprecated(), lws_context_user(), lws_cose_alg_to_name(), lws_cose_key_destroy(), lws_cose_key_export(), lws_cose_key_from_set(), lws_cose_key_generate(), lws_cose_key_import(), lws_cose_key_set_destroy(), lws_cose_sign_add(), lws_cose_sign_create(), lws_cose_sign_payload_chunk(), lws_cose_validate_chunk(), lws_cose_validate_create(), lws_cose_validate_results(), lws_create_context(), lws_create_vhost(), lws_csp_px(), lws_css_cascade_get_prop_atr(), lws_css_get_parent_block(), lws_css_pstack_name(), lws_daemonize(), lws_dbus_connection_setup(), lws_default_loop_exit(), lws_destroy_event_pipe(), lws_diskcache_create(), lws_diskcache_destroy(), lws_diskcache_finalize_name(), lws_diskcache_query(), lws_diskcache_trim(), lws_display_dl_dump(), lws_display_dl_init(), lws_display_dlo_add(), lws_display_dlo_adjust_dims(), lws_display_dlo_destroy(), lws_display_dlo_jpeg_metadata_scan(), lws_display_dlo_jpeg_new(), lws_display_dlo_png_destroy(), lws_display_dlo_png_metadata_scan(), lws_display_dlo_png_new(), lws_display_dlo_rect_new(), lws_display_dlo_text_destroy(), lws_display_dlo_text_new(), lws_display_dlo_text_update(), lws_display_get_ids_boxes(), lws_display_list_destroy(), lws_display_list_render_line(), lws_display_palettize_grey(), lws_display_render_add_id(), lws_display_render_dump_ids(), lws_display_render_free_ids(), lws_display_render_get_id(), lws_display_render_jpeg(), lws_display_render_png(), lws_display_render_rect(), lws_display_state_active(), lws_display_state_init(), lws_display_state_set_brightness(), lws_dll2_add_before(), lws_dll2_add_head(), lws_dll2_add_insert(), lws_dll2_add_sorted(), lws_dll2_add_sorted_priv(), lws_dll2_add_tail(), lws_dll2_clear(), lws_dll2_foreach_safe(), lws_dll2_owner_clear(), lws_dlo_contents(), lws_dlo_ensure_err_diff(), lws_dlo_file_choose(), lws_dlo_file_destroy(), lws_dlo_file_register(), lws_dlo_file_unregister(), lws_dlo_file_unregister_by_name(), lws_dlo_ss_create(), lws_dlo_ss_find(), lws_dsh_alloc_tail(), lws_dsh_consume(), lws_dsh_create(), lws_dsh_destroy(), lws_dsh_empty(), lws_dsh_free(), lws_dsh_get_head(), lws_dsh_get_size(), lws_evlib_tsi_to_evlib_pt(), lws_evlib_wsi_to_evlib_pt(), lws_ext_parse_options(), lws_filename_purify_inplace(), lws_finalize_http_header(), lws_finalize_startup(), lws_flow_feed(), lws_font_choose(), lws_font_register(), lws_fonts_destroy(), lws_fsmount_mount(), lws_fts_create(), lws_fts_destroy(), lws_fts_file_index(), lws_fts_fill(), lws_fts_search(), lws_fts_serialize(), lws_fx_add(), lws_fx_comp(), lws_fx_div(), lws_fx_mul(), lws_fx_rounddown(), lws_fx_roundup(), lws_fx_sqrt(), lws_fx_sub(), lws_genaes_create(), lws_genaes_destroy(), lws_gencrypto_bits_to_bytes(), lws_gencrypto_jwe_alg_to_definition(), lws_gencrypto_jwe_enc_to_definition(), lws_gencrypto_jws_alg_to_definition(), lws_genec_destroy(), lws_genec_destroy_elements(), lws_genecdh_compute_shared_secret(), lws_genecdh_create(), lws_genecdh_new_keypair(), lws_genecdh_set_key(), lws_genecdsa_create(), lws_genecdsa_hash_sig_verify_jws(), lws_genecdsa_hash_sign_jws(), lws_genecdsa_new_keypair(), lws_genecdsa_set_key(), lws_genrsa_create(), lws_genrsa_destroy(), lws_genrsa_destroy_elements(), lws_genrsa_hash_sig_verify(), lws_genrsa_hash_sign(), lws_genrsa_new_keypair(), lws_genrsa_private_decrypt(), lws_genrsa_private_encrypt(), lws_genrsa_public_decrypt(), lws_genrsa_public_encrypt(), lws_get_allocated_heap(), lws_get_child(), lws_get_child_pending_on_writable(), lws_get_close_length(), lws_get_close_payload(), lws_get_context(), lws_get_count_threads(), lws_get_effective_uid_gid(), lws_get_fops(), lws_get_library_version(), lws_get_mimetype(), lws_get_network_wsi(), lws_get_opaque_parent_data(), lws_get_opaque_user_data(), lws_get_opcode(), lws_get_parent(), lws_get_peer_addresses(), lws_get_peer_simple(), lws_get_protocol(), lws_get_random(), lws_get_reserved_bits(), lws_get_socket_fd(), lws_get_tsi(), lws_get_udp(), lws_get_urlarg_by_name_safe(), lws_get_vhost(), lws_get_vhost_by_name(), lws_get_vhost_iface(), lws_get_vhost_listen_port(), lws_get_vhost_name(), lws_get_vhost_port(), lws_get_vhost_user(), lws_h2_client_stream_long_poll_rxonly(), lws_h2_update_peer_txcredit(), lws_handle_POLLOUT_event(), lws_hdr_copy(), lws_hdr_copy_fragment(), lws_hdr_custom_length(), lws_hdr_custom_name_foreach(), lws_hdr_fragment_length(), lws_hdr_total_length(), lws_hex_from_byte_array(), lws_hex_len_to_byte_array(), lws_hex_random(), lws_hex_to_byte_array(), lws_html_get_atr(), lws_http_basic_auth_gen(), lws_http_basic_auth_gen2(), lws_http_check_retry_after(), lws_http_client_http_response(), lws_http_client_read(), lws_http_compression_apply(), lws_http_date_parse_unix(), lws_http_date_render_from_unix(), lws_http_get_uri_and_method(), lws_http_headers_detach(), lws_http_is_redirected_to_get(), lws_http_mark_sse(), lws_http_redirect(), lws_http_rel_to_url(), lws_http_transaction_completed(), lws_humanize(), lws_i2c_command(), lws_init_vhost_client_ssl(), lws_interface_to_sa(), lws_is_cgi(), lws_is_final_fragment(), lws_is_first_fragment(), lws_is_ssl(), lws_jose_destroy(), lws_jose_init(), lws_jpeg_emit_next_line(), lws_jpeg_free(), lws_jpeg_get_bitdepth(), lws_jpeg_get_bpp(), lws_jpeg_get_components(), lws_jpeg_get_height(), lws_jpeg_get_width(), lws_jpeg_new(), lws_jrpc_create(), lws_jrpc_obj_destroy(), lws_jrpc_obj_get_opaque(), lws_jrpc_obj_id(), lws_jrpc_obj_parse(), lws_json_purify(), lws_json_purify_len(), lws_json_simple_find(), lws_json_simple_strcmp(), lws_jwe_auth_and_decrypt(), lws_jwe_auth_and_decrypt_cbc_hs(), lws_jwe_be64(), lws_jwe_create_packet(), lws_jwe_destroy(), lws_jwe_encrypt(), lws_jwe_init(), lws_jwe_json_parse(), lws_jwe_render_compact(), lws_jwe_render_flattened(), lws_jwk_destroy(), lws_jwk_dump(), lws_jwk_export(), lws_jwk_import(), lws_jwk_load(), lws_jwk_rfc7638_fingerprint(), lws_jwk_save(), lws_jwk_strdup_meta(), lws_jws_alloc_element(), lws_jws_b64_compact_map(), lws_jws_base64_enc(), lws_jws_compact_decode(), lws_jws_compact_encode(), lws_jws_destroy(), lws_jws_dup_element(), lws_jws_encode_b64_element(), lws_jws_encode_section(), lws_jws_init(), lws_jws_parse_jose(), lws_jws_randomize_element(), lws_jws_sig_confirm(), lws_jws_sig_confirm_compact(), lws_jws_sig_confirm_compact_b64(), lws_jws_sig_confirm_compact_b64_map(), lws_jws_sig_confirm_json(), lws_jws_sign_from_b64(), lws_jws_write_compact(), lws_jws_write_flattened_json(), lws_jwt_sign_via_info(), lws_jwt_signed_validate(), lws_lec_init(), lws_lec_int(), lws_lec_printf(), lws_lec_scratch(), lws_lec_setbuf(), lws_lec_vsprintf(), lws_led_func_linear(), lws_led_gpio_create(), lws_led_gpio_destroy(), lws_led_gpio_intensity(), lws_lhp_construct(), lws_lhp_destruct(), lws_lhp_parse(), lws_lhp_ss_browse(), lws_list_ptr_insert(), lws_log_emit_cx_file(), lws_log_prepend_context(), lws_log_prepend_sspc(), lws_log_prepend_vhost(), lws_log_prepend_wsi(), lws_log_use_cx_file(), lws_map_alloc_lwsac(), lws_map_create(), lws_map_destroy(), lws_map_free_lwsac(), lws_map_item_create(), lws_map_item_destroy(), lws_map_item_key(), lws_map_item_key_len(), lws_map_item_value(), lws_metrics_foreach(), lws_metrics_format(), lws_metrics_hist_bump_(), lws_metrics_tag_add(), lws_metrics_tags_destroy(), lws_metrics_tags_serialize(), lws_minilex_parse(), lws_mqtt_bindata_cmp(), lws_mqtt_client_send_publish(), lws_mqtt_client_send_subcribe(), lws_mqtt_client_send_unsubcribe(), lws_mqtt_str_advance(), lws_mqtt_str_create(), lws_mqtt_str_create_cstr_dup(), lws_mqtt_str_create_init(), lws_mqtt_str_free(), lws_mqtt_str_init(), lws_mqtt_str_next(), lws_netdev_credentials_settings_get(), lws_netdev_credentials_settings_set(), lws_netdev_plat_init(), lws_netdev_wifi_configure_plat(), lws_netdev_wifi_connect_plat(), lws_netdev_wifi_create_plat(), lws_netdev_wifi_destroy_plat(), lws_netdev_wifi_down_plat(), lws_netdev_wifi_event_plat(), lws_netdev_wifi_scan_plat(), lws_netdev_wifi_up_plat(), lws_netdevs_from_ctx(), lws_now_secs(), lws_now_usecs(), lws_nstrstr(), lws_ota_variant_name(), lws_parse_mac(), lws_parse_numeric_address(), lws_parse_uri(), lws_partial_buffered(), lws_plat_ota_queue(), lws_plat_ota_report_current(), lws_plat_read_file(), lws_plat_write_cert(), lws_plat_write_file(), lws_plugins_init(), lws_protocol_get(), lws_protocol_vh_priv_get(), lws_protocol_vh_priv_zalloc(), lws_pvo_get_str(), lws_pvo_search(), lws_pwm_plat_init(), lws_realloc(), lws_retry_get_delay_ms(), lws_retry_sul_schedule(), lws_return_http_status(), lws_ring_bump_head(), lws_ring_consume(), lws_ring_create(), lws_ring_destroy(), lws_ring_get_count_free_elements(), lws_ring_get_count_waiting_elements(), lws_ring_get_element(), lws_ring_get_oldest_tail(), lws_ring_insert(), lws_ring_next_linear_insert_range(), lws_ring_update_oldest_tail(), lws_rx_flow_allow_all_protocol(), lws_rx_flow_control(), lws_sa46_compare_ads(), lws_sa46_on_net(), lws_sa46_parse_numeric_address(), lws_sa46_write_numeric_address(), lws_send_pipe_choked(), lws_ser_ru16be(), lws_ser_ru32be(), lws_ser_ru64be(), lws_ser_wu16be(), lws_ser_wu32be(), lws_ser_wu64be(), lws_serve_http_file(), lws_service(), lws_service_do_ripe_rxflow(), lws_service_fd(), lws_service_fd_tsi(), lws_service_tsi(), lws_set_extension_option(), lws_set_fops(), lws_set_log_level(), lws_set_opaque_parent_data(), lws_set_opaque_user_data(), lws_set_proxy(), lws_set_socks(), lws_set_wsi_user(), lws_settings_init(), lws_settings_plat_get(), lws_settings_plat_set(), lws_SHA1(), lws_sigbits(), lws_singles2halfp(), lws_smd_msg_alloc(), lws_smd_msg_free(), lws_smd_msg_printf(), lws_smd_msg_send(), lws_smd_register(), lws_smd_ss_msg_printf(), lws_smd_ss_rx_forward(), lws_snprintf(), lws_spa_create_via_info(), lws_spa_finalize(), lws_spa_get_length(), lws_spa_get_string(), lws_spa_process(), lws_spi_table_issue(), lws_sql_purify_len(), lws_ss_add_peer_tx_credit(), lws_ss_alloc_set_metadata(), lws_ss_cancel_timeout(), lws_ss_change_handlers(), lws_ss_client_connect(), lws_ss_create(), lws_ss_destroy(), lws_ss_get_context(), lws_ss_get_est_peer_tx_credit(), lws_ss_get_metadata(), lws_ss_policy_get(), lws_ss_policy_overlay(), lws_ss_policy_parse(), lws_ss_policy_parse_abandon(), lws_ss_policy_parse_begin(), lws_ss_proxy_create(), lws_ss_request_tx(), lws_ss_request_tx_len(), lws_ss_rideshare(), lws_ss_server_foreach_client(), lws_ss_set_metadata(), lws_ss_start_timeout(), lws_ss_state_name(), lws_ss_tag(), lws_ss_to_user_object(), lws_sspc_add_peer_tx_credit(), lws_sspc_cancel_timeout(), lws_sspc_change_handlers(), lws_sspc_client_connect(), lws_sspc_create(), lws_sspc_destroy(), lws_sspc_get_context(), lws_sspc_get_est_peer_tx_credit(), lws_sspc_get_metadata(), lws_sspc_proxy_create(), lws_sspc_request_tx(), lws_sspc_request_tx_len(), lws_sspc_rideshare(), lws_sspc_server_ack(), lws_sspc_set_metadata(), lws_sspc_start_timeout(), lws_sspc_to_user_object(), lws_strexp_expand(), lws_strexp_init(), lws_strexp_reset_out(), lws_struct_default_lejp_cb(), lws_struct_json_init_parse(), lws_struct_json_serialize_create(), lws_struct_json_serialize_destroy(), lws_struct_schema_only_lejp_cb(), lws_struct_sq3_create_table(), lws_struct_sq3_deserialize(), lws_struct_sq3_open(), lws_struct_sq3_serialize(), lws_sul2_schedule(), lws_sul_cancel(), lws_sul_earliest_wakeable_event(), lws_sul_schedule(), lws_sul_schedule_wakesuspend(), lws_surface_set_px(), lws_system_blob_destroy(), lws_system_blob_direct_set(), lws_system_blob_get(), lws_system_blob_get_single_ptr(), lws_system_blob_get_size(), lws_system_blob_heap_append(), lws_system_blob_heap_empty(), lws_system_get_ops(), lws_systemd_inherited_fd(), lws_threadpool_create(), lws_threadpool_dequeue(), lws_threadpool_dequeue_task(), lws_threadpool_destroy(), lws_threadpool_dump(), lws_threadpool_enqueue(), lws_threadpool_finish(), lws_threadpool_foreach_task_wsi(), lws_threadpool_get_task_wsi(), lws_threadpool_task_status(), lws_threadpool_task_status_noreap(), lws_threadpool_task_status_wsi(), lws_threadpool_task_sync(), lws_timingsafe_bcmp(), lws_tls_acme_sni_cert_create(), lws_tls_acme_sni_csr_create(), lws_tls_client_vhost_extra_cert_mem(), lws_tls_jit_trust_blob_queury_skid(), lws_tls_peer_cert_info(), lws_tls_session_dump_save(), lws_tls_vhost_cert_info(), lws_token_to_string(), lws_tokenize(), lws_tokenize_init(), lws_upng_emit_next_line(), lws_upng_free(), lws_upng_get_bitdepth(), lws_upng_get_bpp(), lws_upng_get_components(), lws_upng_get_format(), lws_upng_get_height(), lws_upng_get_pixelsize(), lws_upng_get_width(), lws_upng_inflate_data(), lws_upng_inflator_create(), lws_upng_new(), lws_urldecode(), lws_urlencode(), lws_validity_confirmed(), lws_vbi_encode(), lws_vfs_file_seek_end(), lws_vfs_file_seek_set(), lws_vfs_get_length(), lws_vfs_get_mod_time(), lws_vfs_tell(), lws_vh_tag(), lws_vhd_find_by_pvo(), lws_vhost_destroy(), lws_vhost_destroy1(), lws_vhost_foreach_listen_wsi(), lws_vhost_name_to_protocol(), lws_vhost_user(), lws_write_numeric_address(), lws_wsi_tag(), lws_wsi_tsi(), lws_wsi_user(), lws_x509_create(), lws_x509_destroy(), lws_x509_info(), lws_x509_jwk_privkey_pem(), lws_x509_parse_from_pem(), lws_x509_public_to_jwk(), lws_x509_verify(), lws_xos(), lws_xos_init(), lwsac_align(), lwsac_cached_file(), lwsac_detach(), lwsac_extend(), lwsac_free(), lwsac_get_next(), lwsac_get_tail_pos(), lwsac_info(), lwsac_reference(), lwsac_sizeof(), lwsac_total_alloc(), lwsac_total_overhead(), lwsac_unreference(), lwsac_use(), lwsac_use_backfill(), lwsac_use_cached_file_detach(), lwsac_use_cached_file_end(), lwsac_use_cached_file_start(), lwsl_context_get_cx(), lwsl_emit_stderr(), lwsl_emit_stderr_notimestamp(), lwsl_emit_syslog(), lwsl_hexdump_level(), lwsl_hexdump_level_cx(), lwsl_timestamp(), lwsl_vhost_get_cx(), lwsl_visible(), lwsl_wsi_get_cx(), lwsws_get_config_globals(), lwsws_get_config_vhosts(), and wsi_from_fd().
#define LWS_WARN_UNUSED_RESULT |
Definition at line 231 of file libwebsockets.h.
Referenced by lws_add_http_header_by_name(), lws_add_http_header_by_token(), lws_add_http_header_content_length(), lws_add_http_header_status(), lws_daemonize(), lws_finalize_http_header(), lws_get_context(), lws_get_count_threads(), lws_get_effective_uid_gid(), lws_get_opcode(), lws_get_parent(), lws_get_random(), lws_get_vhost_listen_port(), lws_hdr_total_length(), lws_http_redirect(), lws_mqtt_client_send_unsubcribe(), lws_now_usecs(), lws_partial_buffered(), lws_return_http_status(), lws_set_extension_option(), lws_set_fops(), lws_set_wsi_user(), lws_ss_destroy(), lws_ss_request_tx(), lws_ss_request_tx_len(), lws_ss_rideshare(), lws_ss_set_metadata(), lws_token_to_string(), lws_vfs_file_seek_end(), lws_vfs_get_length(), lws_vfs_tell(), lws_xos(), and lws_xos_init().
#define LWS_WARN_DEPRECATED |
Definition at line 232 of file libwebsockets.h.
Referenced by lws_callback_all_protocol_vhost(), lws_callback_vhost_protocols(), lws_protocol_get(), lws_threadpool_dequeue(), and lws_threadpool_task_status_wsi().
#define LWS_FORMAT | ( | string_index | ) |
Definition at line 233 of file libwebsockets.h.
Referenced by _lws_log(), _lws_log_cx(), lws_jwt_sign_compact(), lws_jwt_sign_via_info(), lws_settings_plat_printf(), lws_smd_msg_printf(), lws_smd_ss_msg_printf(), lws_snprintf(), lws_threadpool_create(), and lws_threadpool_enqueue().
#define LWS_EXTERN extern |
Definition at line 235 of file libwebsockets.h.
Referenced by __lws_sul_insert(), _lejp_callback(), _lws_alloc_metadata_adjust(), _lws_alloc_metadata_dump(), _lws_alloc_metadata_trim(), _lws_context_info_defaults(), _lws_log(), _lws_logv(), _lws_plat_file_close(), _lws_plat_file_open(), _lws_plat_file_read(), _lws_plat_file_seek_cur(), _lws_plat_file_write(), _lws_plat_service_forced_tsi(), lecp_change_callback(), lecp_construct(), lecp_destruct(), lecp_error_to_string(), lecp_parse(), lecp_parse_map_is_key(), lecp_parse_report_raw(), lecp_parse_subtree(), lejp_change_callback(), lejp_check_path_match(), lejp_construct(), lejp_destruct(), lejp_get_wildcard(), lejp_parse(), lejp_parser_pop(), lejp_parser_push(), lws_add_http_header_by_name(), lws_add_http_header_by_token(), lws_add_http_header_content_length(), lws_add_http_header_status(), lws_adjust_protocol_psds(), lws_adopt_descriptor_vhost_via_info(), lws_adopt_socket(), lws_adopt_socket_readbuf(), lws_alloc_metadata_dump_stdout(), lws_alloc_metadata_gen(), lws_alloc_metadata_parse(), lws_b64_decode_state_init(), lws_b64_decode_string(), lws_b64_encode_string(), lws_b64_encode_string_url(), lws_backtrace(), lws_backtrace_compress_backtrace(), lws_backtrace_compression_destream(), lws_backtrace_compression_stream(), lws_backtrace_compression_stream_init(), lws_base64_size(), lws_buflist_append_segment(), lws_buflist_destroy_all_segments(), lws_buflist_fragment_use(), lws_buflist_linear_copy(), lws_buflist_linear_use(), lws_buflist_next_segment_len(), lws_buflist_total_len(), lws_buflist_use_segment(), lws_button_controller_create(), lws_button_controller_destroy(), lws_button_get_bit(), lws_cache_create(), lws_cache_destroy(), lws_cache_footprint(), lws_cache_item_get(), lws_cache_item_remove(), lws_cache_lookup(), lws_callback_all_protocol(), lws_callback_all_protocol_vhost_args(), lws_callback_http_dummy(), lws_callback_on_writable(), lws_callback_on_writable_all_protocol(), lws_callback_on_writable_all_protocol_vhost(), lws_callback_vhost_protocols(), lws_callback_vhost_protocols_vhost(), lws_cancel_service(), lws_cancel_service_pt(), lws_canonical_hostname(), lws_clear_child_pending_on_writable(), lws_client_connect_via_info(), lws_client_http_body_pending(), lws_client_http_multipart(), lws_close_free_wsi(), lws_cmdline_option(), lws_cmdline_option_handle_builtin(), lws_cmdline_passfail(), lws_conmon_wsi_take(), lws_context_default_loop_run_destroy(), lws_context_deprecate(), lws_context_destroy2(), lws_context_is_deprecated(), lws_context_user(), lws_cose_alg_to_name(), lws_cose_key_destroy(), lws_cose_key_export(), lws_cose_key_from_set(), lws_cose_key_generate(), lws_cose_key_import(), lws_cose_key_set_destroy(), lws_cose_sign_add(), lws_cose_sign_create(), lws_cose_sign_payload_chunk(), lws_cose_validate_chunk(), lws_cose_validate_create(), lws_cose_validate_results(), lws_create_context(), lws_create_vhost(), lws_csp_px(), lws_css_cascade_get_prop_atr(), lws_css_get_parent_block(), lws_css_pstack_name(), lws_daemonize(), lws_dbus_connection_setup(), lws_default_loop_exit(), lws_destroy_event_pipe(), lws_diskcache_create(), lws_diskcache_destroy(), lws_diskcache_finalize_name(), lws_diskcache_query(), lws_diskcache_trim(), lws_display_dl_dump(), lws_display_dl_init(), lws_display_dlo_add(), lws_display_dlo_adjust_dims(), lws_display_dlo_destroy(), lws_display_dlo_jpeg_metadata_scan(), lws_display_dlo_jpeg_new(), lws_display_dlo_png_destroy(), lws_display_dlo_png_metadata_scan(), lws_display_dlo_png_new(), lws_display_dlo_rect_new(), lws_display_dlo_text_destroy(), lws_display_dlo_text_new(), lws_display_dlo_text_update(), lws_display_get_ids_boxes(), lws_display_list_destroy(), lws_display_list_render_line(), lws_display_palettize_grey(), lws_display_render_add_id(), lws_display_render_dump_ids(), lws_display_render_free_ids(), lws_display_render_get_id(), lws_display_render_jpeg(), lws_display_render_png(), lws_display_render_rect(), lws_display_state_active(), lws_display_state_init(), lws_display_state_set_brightness(), lws_dll2_add_before(), lws_dll2_add_head(), lws_dll2_add_insert(), lws_dll2_add_sorted(), lws_dll2_add_sorted_priv(), lws_dll2_add_tail(), lws_dll2_clear(), lws_dll2_foreach_safe(), lws_dll2_owner_clear(), lws_dlo_contents(), lws_dlo_ensure_err_diff(), lws_dlo_file_choose(), lws_dlo_file_register(), lws_dlo_file_unregister(), lws_dlo_file_unregister_by_name(), lws_dlo_ss_create(), lws_dlo_ss_find(), lws_dsh_alloc_tail(), lws_dsh_consume(), lws_dsh_create(), lws_dsh_destroy(), lws_dsh_empty(), lws_dsh_free(), lws_dsh_get_head(), lws_dsh_get_size(), lws_evlib_tsi_to_evlib_pt(), lws_evlib_wsi_to_evlib_pt(), lws_ext_parse_options(), lws_filename_purify_inplace(), lws_finalize_http_header(), lws_finalize_startup(), lws_flow_feed(), lws_font_choose(), lws_font_register(), lws_fonts_destroy(), lws_fsmount_mount(), lws_fts_create(), lws_fts_destroy(), lws_fts_file_index(), lws_fts_fill(), lws_fts_search(), lws_fts_serialize(), lws_fx_add(), lws_fx_comp(), lws_fx_div(), lws_fx_mul(), lws_fx_rounddown(), lws_fx_roundup(), lws_fx_sqrt(), lws_fx_sub(), lws_genaes_create(), lws_genaes_destroy(), lws_gencrypto_bits_to_bytes(), lws_gencrypto_jwe_alg_to_definition(), lws_gencrypto_jwe_enc_to_definition(), lws_gencrypto_jws_alg_to_definition(), lws_genec_destroy(), lws_genec_destroy_elements(), lws_genecdh_create(), lws_genecdh_new_keypair(), lws_genecdh_set_key(), lws_genecdsa_create(), lws_genecdsa_hash_sig_verify_jws(), lws_genecdsa_hash_sign_jws(), lws_genecdsa_new_keypair(), lws_genecdsa_set_key(), lws_genrsa_create(), lws_genrsa_destroy(), lws_genrsa_destroy_elements(), lws_genrsa_hash_sig_verify(), lws_genrsa_hash_sign(), lws_genrsa_new_keypair(), lws_genrsa_private_decrypt(), lws_genrsa_private_encrypt(), lws_genrsa_public_decrypt(), lws_genrsa_public_encrypt(), lws_get_allocated_heap(), lws_get_child(), lws_get_child_pending_on_writable(), lws_get_close_length(), lws_get_close_payload(), lws_get_context(), lws_get_count_threads(), lws_get_effective_uid_gid(), lws_get_fops(), lws_get_library_version(), lws_get_mimetype(), lws_get_network_wsi(), lws_get_opaque_parent_data(), lws_get_opaque_user_data(), lws_get_opcode(), lws_get_parent(), lws_get_peer_addresses(), lws_get_peer_simple(), lws_get_protocol(), lws_get_random(), lws_get_reserved_bits(), lws_get_socket_fd(), lws_get_tsi(), lws_get_udp(), lws_get_urlarg_by_name_safe(), lws_get_vhost(), lws_get_vhost_by_name(), lws_get_vhost_iface(), lws_get_vhost_listen_port(), lws_get_vhost_name(), lws_get_vhost_port(), lws_get_vhost_user(), lws_h2_client_stream_long_poll_rxonly(), lws_h2_update_peer_txcredit(), lws_handle_POLLOUT_event(), lws_hdr_copy(), lws_hdr_copy_fragment(), lws_hdr_custom_length(), lws_hdr_custom_name_foreach(), lws_hdr_fragment_length(), lws_hdr_total_length(), lws_hex_from_byte_array(), lws_hex_len_to_byte_array(), lws_hex_random(), lws_hex_to_byte_array(), lws_html_get_atr(), lws_http_basic_auth_gen(), lws_http_basic_auth_gen2(), lws_http_check_retry_after(), lws_http_client_http_response(), lws_http_client_read(), lws_http_compression_apply(), lws_http_date_parse_unix(), lws_http_date_render_from_unix(), lws_http_get_uri_and_method(), lws_http_headers_detach(), lws_http_is_redirected_to_get(), lws_http_mark_sse(), lws_http_redirect(), lws_http_rel_to_url(), lws_http_transaction_completed(), lws_humanize(), lws_i2c_command(), lws_init_vhost_client_ssl(), lws_interface_to_sa(), lws_is_cgi(), lws_is_final_fragment(), lws_is_first_fragment(), lws_is_ssl(), lws_jose_destroy(), lws_jose_init(), lws_jpeg_emit_next_line(), lws_jpeg_free(), lws_jpeg_get_bitdepth(), lws_jpeg_get_bpp(), lws_jpeg_get_components(), lws_jpeg_get_height(), lws_jpeg_get_width(), lws_jpeg_new(), lws_jrpc_create(), lws_jrpc_obj_destroy(), lws_jrpc_obj_get_opaque(), lws_jrpc_obj_id(), lws_jrpc_obj_parse(), lws_json_purify(), lws_json_purify_len(), lws_json_simple_find(), lws_json_simple_strcmp(), lws_jwe_auth_and_decrypt(), lws_jwe_auth_and_decrypt_cbc_hs(), lws_jwe_be64(), lws_jwe_create_packet(), lws_jwe_destroy(), lws_jwe_encrypt(), lws_jwe_init(), lws_jwe_json_parse(), lws_jwe_render_flattened(), lws_jwk_destroy(), lws_jwk_export(), lws_jwk_import(), lws_jwk_load(), lws_jwk_rfc7638_fingerprint(), lws_jwk_save(), lws_jwk_strdup_meta(), lws_jws_alloc_element(), lws_jws_b64_compact_map(), lws_jws_base64_enc(), lws_jws_compact_decode(), lws_jws_compact_encode(), lws_jws_destroy(), lws_jws_dup_element(), lws_jws_encode_b64_element(), lws_jws_encode_section(), lws_jws_init(), lws_jws_parse_jose(), lws_jws_randomize_element(), lws_jws_sig_confirm(), lws_jws_sig_confirm_compact(), lws_jws_sig_confirm_compact_b64(), lws_jws_sig_confirm_compact_b64_map(), lws_jws_sig_confirm_json(), lws_jws_sign_from_b64(), lws_jws_write_compact(), lws_jws_write_flattened_json(), lws_jwt_sign_via_info(), lws_jwt_signed_validate(), lws_lec_init(), lws_lec_int(), lws_lec_printf(), lws_lec_scratch(), lws_lec_setbuf(), lws_lec_vsprintf(), lws_led_func_linear(), lws_led_gpio_create(), lws_led_gpio_destroy(), lws_led_gpio_intensity(), lws_lhp_construct(), lws_lhp_destruct(), lws_lhp_parse(), lws_lhp_ss_browse(), lws_list_ptr_insert(), lws_log_emit_cx_file(), lws_log_prepend_context(), lws_log_prepend_sspc(), lws_log_prepend_vhost(), lws_log_prepend_wsi(), lws_log_use_cx_file(), lws_map_alloc_lwsac(), lws_map_create(), lws_map_destroy(), lws_map_free_lwsac(), lws_map_item_create(), lws_map_item_destroy(), lws_map_item_key(), lws_map_item_key_len(), lws_map_item_value(), lws_metrics_foreach(), lws_metrics_format(), lws_metrics_hist_bump_(), lws_metrics_tag_add(), lws_metrics_tags_destroy(), lws_metrics_tags_serialize(), lws_minilex_parse(), lws_mqtt_bindata_cmp(), lws_mqtt_client_send_publish(), lws_mqtt_client_send_subcribe(), lws_mqtt_client_send_unsubcribe(), lws_mqtt_str_advance(), lws_mqtt_str_create(), lws_mqtt_str_create_cstr_dup(), lws_mqtt_str_create_init(), lws_mqtt_str_free(), lws_mqtt_str_init(), lws_mqtt_str_next(), lws_netdev_credentials_settings_get(), lws_netdev_credentials_settings_set(), lws_netdev_plat_init(), lws_netdev_wifi_configure_plat(), lws_netdev_wifi_connect_plat(), lws_netdev_wifi_create_plat(), lws_netdev_wifi_destroy_plat(), lws_netdev_wifi_down_plat(), lws_netdev_wifi_event_plat(), lws_netdev_wifi_scan_plat(), lws_netdev_wifi_up_plat(), lws_netdevs_from_ctx(), lws_now_secs(), lws_now_usecs(), lws_nstrstr(), lws_ota_variant_name(), lws_parse_mac(), lws_parse_numeric_address(), lws_parse_uri(), lws_partial_buffered(), lws_plat_ota_queue(), lws_plat_ota_report_current(), lws_plat_read_file(), lws_plat_write_cert(), lws_plat_write_file(), lws_plugins_init(), lws_protocol_get(), lws_protocol_vh_priv_get(), lws_protocol_vh_priv_zalloc(), lws_pvo_get_str(), lws_pvo_search(), lws_pwm_plat_init(), lws_realloc(), lws_retry_get_delay_ms(), lws_retry_sul_schedule(), lws_return_http_status(), lws_ring_bump_head(), lws_ring_consume(), lws_ring_create(), lws_ring_destroy(), lws_ring_get_count_free_elements(), lws_ring_get_count_waiting_elements(), lws_ring_get_element(), lws_ring_get_oldest_tail(), lws_ring_insert(), lws_ring_next_linear_insert_range(), lws_ring_update_oldest_tail(), lws_rx_flow_allow_all_protocol(), lws_rx_flow_control(), lws_sa46_compare_ads(), lws_sa46_on_net(), lws_sa46_parse_numeric_address(), lws_sa46_write_numeric_address(), lws_send_pipe_choked(), lws_ser_ru16be(), lws_ser_ru32be(), lws_ser_ru64be(), lws_ser_wu16be(), lws_ser_wu32be(), lws_ser_wu64be(), lws_serve_http_file(), lws_service(), lws_service_do_ripe_rxflow(), lws_service_fd(), lws_service_fd_tsi(), lws_service_tsi(), lws_set_extension_option(), lws_set_fops(), lws_set_log_level(), lws_set_opaque_parent_data(), lws_set_opaque_user_data(), lws_set_proxy(), lws_set_socks(), lws_set_wsi_user(), lws_settings_init(), lws_settings_plat_get(), lws_settings_plat_set(), lws_SHA1(), lws_sigbits(), lws_singles2halfp(), lws_smd_msg_alloc(), lws_smd_msg_free(), lws_smd_msg_printf(), lws_smd_msg_send(), lws_smd_register(), lws_smd_ss_msg_printf(), lws_smd_ss_rx_forward(), lws_snprintf(), lws_spa_create_via_info(), lws_spa_finalize(), lws_spa_get_length(), lws_spa_get_string(), lws_spa_process(), lws_spi_table_issue(), lws_sql_purify_len(), lws_ss_add_peer_tx_credit(), lws_ss_alloc_set_metadata(), lws_ss_cancel_timeout(), lws_ss_change_handlers(), lws_ss_client_connect(), lws_ss_create(), lws_ss_destroy(), lws_ss_get_context(), lws_ss_get_est_peer_tx_credit(), lws_ss_get_metadata(), lws_ss_policy_get(), lws_ss_policy_overlay(), lws_ss_policy_parse(), lws_ss_policy_parse_abandon(), lws_ss_policy_parse_begin(), lws_ss_proxy_create(), lws_ss_request_tx(), lws_ss_request_tx_len(), lws_ss_rideshare(), lws_ss_server_foreach_client(), lws_ss_set_metadata(), lws_ss_start_timeout(), lws_ss_state_name(), lws_ss_tag(), lws_ss_to_user_object(), lws_sspc_add_peer_tx_credit(), lws_sspc_cancel_timeout(), lws_sspc_change_handlers(), lws_sspc_client_connect(), lws_sspc_create(), lws_sspc_destroy(), lws_sspc_get_context(), lws_sspc_get_est_peer_tx_credit(), lws_sspc_get_metadata(), lws_sspc_proxy_create(), lws_sspc_request_tx(), lws_sspc_request_tx_len(), lws_sspc_rideshare(), lws_sspc_server_ack(), lws_sspc_set_metadata(), lws_sspc_start_timeout(), lws_sspc_to_user_object(), lws_strexp_expand(), lws_strexp_init(), lws_strexp_reset_out(), lws_struct_default_lejp_cb(), lws_struct_json_init_parse(), lws_struct_json_serialize_create(), lws_struct_json_serialize_destroy(), lws_struct_schema_only_lejp_cb(), lws_struct_sq3_create_table(), lws_struct_sq3_deserialize(), lws_struct_sq3_open(), lws_struct_sq3_serialize(), lws_sul2_schedule(), lws_sul_cancel(), lws_sul_earliest_wakeable_event(), lws_sul_schedule(), lws_sul_schedule_wakesuspend(), lws_surface_set_px(), lws_system_blob_destroy(), lws_system_blob_direct_set(), lws_system_blob_get(), lws_system_blob_get_single_ptr(), lws_system_blob_get_size(), lws_system_blob_heap_append(), lws_system_blob_heap_empty(), lws_system_get_ops(), lws_systemd_inherited_fd(), lws_threadpool_create(), lws_threadpool_dequeue(), lws_threadpool_dequeue_task(), lws_threadpool_destroy(), lws_threadpool_dump(), lws_threadpool_enqueue(), lws_threadpool_finish(), lws_threadpool_foreach_task_wsi(), lws_threadpool_get_task_wsi(), lws_threadpool_task_status(), lws_threadpool_task_status_noreap(), lws_threadpool_task_status_wsi(), lws_threadpool_task_sync(), lws_timingsafe_bcmp(), lws_tls_acme_sni_cert_create(), lws_tls_acme_sni_csr_create(), lws_tls_client_vhost_extra_cert_mem(), lws_tls_jit_trust_blob_queury_skid(), lws_tls_peer_cert_info(), lws_tls_session_dump_save(), lws_tls_vhost_cert_info(), lws_token_to_string(), lws_tokenize(), lws_tokenize_init(), lws_upng_emit_next_line(), lws_upng_free(), lws_upng_get_bitdepth(), lws_upng_get_bpp(), lws_upng_get_components(), lws_upng_get_format(), lws_upng_get_height(), lws_upng_get_pixelsize(), lws_upng_get_width(), lws_upng_inflate_data(), lws_upng_inflator_create(), lws_upng_new(), lws_urldecode(), lws_urlencode(), lws_validity_confirmed(), lws_vbi_encode(), lws_vfs_file_seek_end(), lws_vfs_file_seek_set(), lws_vfs_get_length(), lws_vfs_get_mod_time(), lws_vfs_tell(), lws_vh_tag(), lws_vhd_find_by_pvo(), lws_vhost_destroy(), lws_vhost_destroy1(), lws_vhost_foreach_listen_wsi(), lws_vhost_name_to_protocol(), lws_vhost_user(), lws_write_numeric_address(), lws_wsi_tag(), lws_wsi_tsi(), lws_wsi_user(), lws_x509_create(), lws_x509_destroy(), lws_x509_info(), lws_x509_jwk_privkey_pem(), lws_x509_parse_from_pem(), lws_x509_public_to_jwk(), lws_x509_verify(), lws_xos(), lws_xos_init(), lwsac_align(), lwsac_cached_file(), lwsac_detach(), lwsac_extend(), lwsac_free(), lwsac_get_next(), lwsac_get_tail_pos(), lwsac_info(), lwsac_reference(), lwsac_sizeof(), lwsac_total_alloc(), lwsac_total_overhead(), lwsac_unreference(), lwsac_use(), lwsac_use_backfill(), lwsac_use_cached_file_detach(), lwsac_use_cached_file_end(), lwsac_use_cached_file_start(), lwsl_context_get_cx(), lwsl_emit_stderr(), lwsl_emit_stderr_notimestamp(), lwsl_emit_syslog(), lwsl_hexdump_level(), lwsl_hexdump_level_cx(), lwsl_timestamp(), lwsl_vhost_get_cx(), lwsl_visible(), lwsl_wsi_get_cx(), lwsws_get_config_globals(), lwsws_get_config_vhosts(), and wsi_from_fd().
#define lws_pthread_mutex | ( | name | ) |
Definition at line 373 of file libwebsockets.h.
#define lws_pthread_mutex_init | ( | _a | ) |
Definition at line 374 of file libwebsockets.h.
#define lws_pthread_mutex_destroy | ( | _a | ) |
Definition at line 375 of file libwebsockets.h.
#define lws_pthread_mutex_lock | ( | _a | ) |
Definition at line 376 of file libwebsockets.h.
#define lws_pthread_mutex_unlock | ( | _a | ) |
Definition at line 377 of file libwebsockets.h.
#define CONTEXT_PORT_NO_LISTEN -1 |
Definition at line 381 of file libwebsockets.h.
#define CONTEXT_PORT_NO_LISTEN_SERVER -2 |
Definition at line 382 of file libwebsockets.h.
#define lws_container_of | ( | P, | |
T, | |||
M ) |
Definition at line 390 of file libwebsockets.h.
#define LWS_ALIGN_TO | ( | x, | |
bou ) |
Definition at line 392 of file libwebsockets.h.
#define LWS_FEATURE_SERVE_HTTP_FILE_HAS_OTHER_HEADERS_ARG |
Definition at line 398 of file libwebsockets.h.
#define LWS_FEATURE_PROTOCOLS_HAS_ID_FIELD |
Definition at line 401 of file libwebsockets.h.
#define LWS_FEATURE_PROTOCOLS_HAS_PEER_WRITE_ALLOWANCE |
Definition at line 404 of file libwebsockets.h.
#define LWS_FEATURE_SERVE_HTTP_FILE_HAS_OTHER_HEADERS_LEN |
Definition at line 407 of file libwebsockets.h.
#define LWS_FEATURE_FOPS |
Definition at line 410 of file libwebsockets.h.
#define LWS_FEATURE_MOUNT_NO_CACHE |
Definition at line 413 of file libwebsockets.h.
#define lws_pollfd pollfd |
Definition at line 549 of file libwebsockets.h.
Referenced by lws_handle_POLLOUT_event(), lws_service_fd(), and lws_service_fd_tsi().
#define LWS_POLLHUP (POLLHUP | POLLERR) |
Definition at line 550 of file libwebsockets.h.
#define LWS_POLLIN (POLLIN) |
Definition at line 551 of file libwebsockets.h.
#define LWS_POLLOUT (POLLOUT) |
Definition at line 552 of file libwebsockets.h.
#define lws_concat_temp | ( | _t, | |
_l ) |
Definition at line 591 of file libwebsockets.h.
#define lws_concat_used | ( | _t, | |
_l ) |
Definition at line 592 of file libwebsockets.h.
#define LWS_SIZEOFPTR ((int)sizeof (void *)) |
Definition at line 603 of file libwebsockets.h.
#define _LWS_PAD_SIZE LWS_SIZEOFPTR /* Size of a pointer on the target arch */ |
Definition at line 609 of file libwebsockets.h.
#define _LWS_PAD | ( | n | ) |
Definition at line 611 of file libwebsockets.h.
#define LWS_PRE _LWS_PAD(4 + 10 + 2) |
Definition at line 614 of file libwebsockets.h.
#define LWS_SEND_BUFFER_PRE_PADDING LWS_PRE |
Definition at line 616 of file libwebsockets.h.
#define LWS_SEND_BUFFER_POST_PADDING 0 |
Definition at line 617 of file libwebsockets.h.
#define LWS_FX_FRACTION_MSD 100000000 |
Definition at line 647 of file libwebsockets.h.
#define lws_neg | ( | a | ) |
Definition at line 648 of file libwebsockets.h.
#define lws_fx_set | ( | a, | |
x, | |||
y ) |
Definition at line 649 of file libwebsockets.h.
#define lws_fix64 | ( | a | ) |
Definition at line 650 of file libwebsockets.h.
#define lws_fix64_abs | ( | a | ) |
Definition at line 652 of file libwebsockets.h.
#define lws_fix3232 | ( | a, | |
a64 ) |
Definition at line 656 of file libwebsockets.h.
typedef struct lws_context* lws_ctx_t |
Definition at line 69 of file libwebsockets.h.
typedef unsigned long long lws_intptr_t |
Definition at line 95 of file libwebsockets.h.
typedef int lws_sockfd_type |
Definition at line 438 of file libwebsockets.h.
typedef int lws_filefd_type |
Definition at line 439 of file libwebsockets.h.
typedef unsigned int uint32_t |
Definition at line 580 of file libwebsockets.h.
typedef unsigned short uint16_t |
Definition at line 581 of file libwebsockets.h.
typedef unsigned char uint8_t |
Definition at line 582 of file libwebsockets.h.
typedef int64_t lws_usec_t |
Definition at line 586 of file libwebsockets.h.
typedef unsigned long long lws_filepos_t |
Definition at line 587 of file libwebsockets.h.
typedef long long lws_fileofs_t |
Definition at line 588 of file libwebsockets.h.
typedef uint32_t lws_fop_flags_t |
Definition at line 589 of file libwebsockets.h.
typedef struct lws_fixed3232 lws_fx_t |
enum lws_stateful_ret_t |
Enumerator | |
---|---|
LWS_SRET_OK | |
LWS_SRET_WANT_INPUT | |
LWS_SRET_WANT_OUTPUT | |
LWS_SRET_FATAL | |
LWS_SRET_NO_FURTHER_IN | |
LWS_SRET_NO_FURTHER_OUT | |
LWS_SRET_AWAIT_RETRY | |
LWS_SRET_YIELD |
Definition at line 631 of file libwebsockets.h.
LWS_VISIBLE LWS_EXTERN const lws_fx_t * lws_fx_add | ( | lws_fx_t * | r, |
const lws_fx_t * | a, | ||
const lws_fx_t * | b ) |
References LWS_EXTERN, and LWS_VISIBLE.
LWS_VISIBLE LWS_EXTERN const lws_fx_t * lws_fx_sub | ( | lws_fx_t * | r, |
const lws_fx_t * | a, | ||
const lws_fx_t * | b ) |
References LWS_EXTERN, and LWS_VISIBLE.
LWS_VISIBLE LWS_EXTERN const lws_fx_t * lws_fx_mul | ( | lws_fx_t * | r, |
const lws_fx_t * | a, | ||
const lws_fx_t * | b ) |
References LWS_EXTERN, and LWS_VISIBLE.
LWS_VISIBLE LWS_EXTERN const lws_fx_t * lws_fx_div | ( | lws_fx_t * | r, |
const lws_fx_t * | a, | ||
const lws_fx_t * | b ) |
References LWS_EXTERN, and LWS_VISIBLE.
LWS_VISIBLE LWS_EXTERN const lws_fx_t * lws_fx_sqrt | ( | lws_fx_t * | r, |
const lws_fx_t * | a ) |
References LWS_EXTERN, and LWS_VISIBLE.
LWS_VISIBLE LWS_EXTERN int lws_fx_comp | ( | const lws_fx_t * | a, |
const lws_fx_t * | b ) |
References LWS_EXTERN, and LWS_VISIBLE.
LWS_VISIBLE LWS_EXTERN int lws_fx_roundup | ( | const lws_fx_t * | a | ) |
References LWS_EXTERN, and LWS_VISIBLE.
LWS_VISIBLE LWS_EXTERN int lws_fx_rounddown | ( | const lws_fx_t * | a | ) |
References LWS_EXTERN, and LWS_VISIBLE.
LWS_VISIBLE LWS_EXTERN const char * lws_fx_string | ( | const lws_fx_t * | a, |
char * | buf, | ||
size_t | size ) |