/third_party/libwebsockets/include/libwebsockets/ |
D | lws-system.h | 93 lws_system_get_blob(struct lws_context *context, lws_system_blob_item_t type, 155 typedef void (*lws_attach_cb_t)(struct lws_context *context, int tsi, void *opaque); 159 lws_tls_jit_trust_got_cert_cb(struct lws_context *cx, void *got_opaque, 166 int (*attach)(struct lws_context *context, int tsi, lws_attach_cb_t cb, 183 int (*captive_portal_detect_request)(struct lws_context *context); 195 int (*jit_trust_query)(struct lws_context *cx, const uint8_t *skid, 220 lws_system_get_state_manager(struct lws_context *context); 237 lws_system_get_ops(struct lws_context *context); 249 LWS_EXTERN LWS_VISIBLE struct lws_context * 286 __lws_system_attach(struct lws_context *context, int tsi, lws_attach_cb_t cb, [all …]
|
D | lws-eventlib-exports.h | 42 int (*init_context)(struct lws_context *context, 45 int (*destroy_context1)(struct lws_context *context); 47 int (*destroy_context2)(struct lws_context *context); 51 int (*init_pt)(struct lws_context *context, void *_loop, int tsi); 63 void (*run_pt)(struct lws_context *context, int tsi); 65 void (*destroy_pt)(struct lws_context *context, int tsi); 69 int (*foreign_thread)(struct lws_context *context, int tsi); 83 lws_evlib_tsi_to_evlib_pt(struct lws_context *ctx, int tsi); 100 lws_vhost_foreach_listen_wsi(struct lws_context *cx, void *arg, 108 struct lws_context; [all …]
|
D | lws-service.h | 52 lws_service(struct lws_context *context, int timeout_ms); 65 lws_service_tsi(struct lws_context *context, int timeout_ms, int tsi); 91 lws_cancel_service(struct lws_context *context); 120 lws_service_fd(struct lws_context *context, struct lws_pollfd *pollfd); 132 lws_service_fd_tsi(struct lws_context *context, struct lws_pollfd *pollfd, 153 lws_service_adjust_timeout(struct lws_context *context, int timeout_ms, int tsi); 187 lws_uv_getloop(struct lws_context *context, int tsi); 190 lws_libuv_static_refcount_add(uv_handle_t *, struct lws_context *context,
|
D | lws-context-vhost.h | 256 typedef int (*lws_context_ready_cb_t)(struct lws_context *context); 258 typedef int (*lws_peer_limits_notify_t)(struct lws_context *ctx, 714 struct lws_context **pcontext; 961 LWS_VISIBLE LWS_EXTERN struct lws_context * 974 lws_context_destroy(struct lws_context *context); 1001 lws_context_deprecate(struct lws_context *context, lws_reload_func cb); 1004 lws_context_is_deprecated(struct lws_context *context); 1058 lws_create_vhost(struct lws_context *context, 1116 lwsws_get_config_vhosts(struct lws_context *context, 1145 lws_get_vhost_by_name(struct lws_context *context, const char *name); [all …]
|
D | lws-jws.h | 70 struct lws_context *context; /* the lws context (used to get random) */ 87 struct lws_context *context); 118 struct lws_context *context, 124 struct lws_context *context, 148 struct lws_context *context, 171 struct lws_jwk *jwk, struct lws_context *context); 227 struct lws_context *context, 306 lws_jws_randomize_element(struct lws_context *context, 431 lws_jwt_signed_validate(struct lws_context *ctx, struct lws_jwk *jwk, 456 lws_jwt_sign_compact(struct lws_context *ctx, struct lws_jwk *jwk, [all …]
|
D | lws-timeout-timer.h | 200 lws_sul2_schedule(struct lws_context *context, int tsi, int flags, 224 lws_sul_earliest_wakeable_event(struct lws_context *ctx, lws_usec_t *pearliest); 234 lws_sul_schedule(struct lws_context *ctx, int tsi, lws_sorted_usec_list_t *sul, 237 lws_sul_schedule_wakesuspend(struct lws_context *ctx, int tsi, 265 lws_sul_debug_zombies(struct lws_context *ctx, void *po, size_t len,
|
D | lws-secure-streams-policy.h | 395 lws_ss_policy_parse_begin(struct lws_context *context, int overlay); 398 lws_ss_policy_parse_abandon(struct lws_context *context); 401 lws_ss_policy_parse(struct lws_context *context, const uint8_t *buf, size_t len); 404 lws_ss_policy_overlay(struct lws_context *context, const char *overlay); 412 lws_ss_policy_get(struct lws_context *context); 415 lws_ss_auth_get(struct lws_context *context);
|
D | lws-smd.h | 86 lws_smd_msg_alloc(struct lws_context *ctx, lws_smd_class_t _class, size_t len); 113 lws_smd_msg_send(struct lws_context *ctx, void *payload); 137 lws_smd_msg_printf(struct lws_context *ctx, lws_smd_class_t _class, 210 lws_smd_register(struct lws_context *ctx, void *opaque, int flags,
|
/third_party/libwebsockets/lib/secure-streams/system/auth-api.amazon.com/ |
D | auth.c | 56 struct lws_context *context = lws_container_of(sul, struct lws_context, in lws_ss_sys_auth_api_amazon_com_kick() 66 struct lws_context *context = lws_container_of(sul, struct lws_context, in lws_ss_sys_auth_api_amazon_com_renew() 76 struct lws_context *context = (struct lws_context *)m->opaque_data; in auth_api_amazon_com_parser_cb() 117 struct lws_context *context = (struct lws_context *)m->opaque_data; in ss_api_amazon_auth_rx() 171 struct lws_context *context = (struct lws_context *)m->opaque_data; in ss_api_amazon_auth_tx() 209 struct lws_context *context = (struct lws_context *)m->opaque_data; in ss_api_amazon_auth_state() 264 lws_ss_sys_auth_api_amazon_com(struct lws_context *context) in lws_ss_sys_auth_api_amazon_com()
|
/third_party/libwebsockets/lib/core-net/ |
D | private-lib-core-net.h | 273 lws_async_dns_drop_server(struct lws_context *context); 331 struct lws_context *context; 457 struct lws_context *context; 589 struct lws_context *context; 908 struct lws_context *context; 1089 lws_select_vhost(struct lws_context *context, int port, const char *servername); 1093 lws_server_get_canonical_hostname(struct lws_context *context, 1113 _lws_plat_service_forced_tsi(struct lws_context *context, int tsi); 1119 lws_service_flag_pending(struct lws_context *context, int tsi); 1203 __insert_wsi_socket_into_fds(struct lws_context *context, struct lws *wsi); [all …]
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-fds.c | 31 wsi_from_fd(const struct lws_context *context, int fd) in wsi_from_fd() 54 sanity_assert_no_wsi_traces(const struct lws_context *context, struct lws *wsi) in sanity_assert_no_wsi_traces() 81 sanity_assert_no_sockfd_traces(const struct lws_context *context, in sanity_assert_no_sockfd_traces() 124 insert_wsi(const struct lws_context *context, struct lws *wsi) in insert_wsi() 171 delete_from_fd(const struct lws_context *context, int fd) in delete_from_fd() 212 delete_from_fdwsi(const struct lws_context *context, struct lws *wsi) in delete_from_fdwsi() 236 lws_plat_insert_socket_into_fds(struct lws_context *context, struct lws *wsi) in lws_plat_insert_socket_into_fds() 247 lws_plat_delete_socket_from_fds(struct lws_context *context, in lws_plat_delete_socket_from_fds() 260 lws_plat_change_pollfd(struct lws_context *context, in lws_plat_change_pollfd()
|
D | unix-init.c | 44 struct lws_context *context = pt->context; in lws_sul_plat_unix() 89 struct lws_context *context = (struct lws_context *)each_user; in protocol_plugin_cb() 103 lws_plat_init(struct lws_context *context, in lws_plat_init() 224 lws_plat_context_early_destroy(struct lws_context *context) in lws_plat_context_early_destroy() 229 lws_plat_context_late_destroy(struct lws_context *context) in lws_plat_context_late_destroy()
|
/third_party/libwebsockets/lib/secure-streams/system/fetch-policy/ |
D | fetch-policy.c | 45 struct lws_context *context = (struct lws_context *)m->opaque_data; in ss_fetch_policy_rx() 73 struct lws_context *context = (struct lws_context *)m->opaque_data; in policy_set() 98 struct lws_context *context = (struct lws_context *)m->opaque_data; in ss_fetch_policy_state() 135 lws_ss_sys_fetch_policy(struct lws_context *context) in lws_ss_sys_fetch_policy()
|
/third_party/libwebsockets/lib/event-libs/libuv/ |
D | private-lib-event-libs-libuv.h | 51 struct lws_context *context; 75 struct lws_context *context; 84 lws_uv_getloop(struct lws_context *context, int tsi); 87 lws_uv_plugins_init(struct lws_context *context, const char * const *d); 90 lws_uv_plugins_destroy(struct lws_context *context);
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-init.c | 31 lws_plat_drop_app_privileges(struct lws_context *context, int actually_set) in lws_plat_drop_app_privileges() 62 struct lws_context *context = (struct lws_context *)each_user; in protocol_plugin_cb() 74 lws_plat_init(struct lws_context *context, in lws_plat_init() 135 lws_plat_context_early_destroy(struct lws_context *context) in lws_plat_context_early_destroy() 141 lws_plat_context_late_destroy(struct lws_context *context) in lws_plat_context_late_destroy()
|
/third_party/libwebsockets/lib/system/metrics/ |
D | private-lib-system-metrics.h | 74 struct lws_context *ctx; 105 lws_metrics_register_policy(struct lws_context *ctx, 109 lws_metrics_destroy(struct lws_context *ctx); 115 lws_metric_create(struct lws_context *ctx, uint8_t flags, const char *name); 124 lws_metric_rebind_policies(struct lws_context *ctx);
|
/third_party/libwebsockets/lib/secure-streams/ |
D | private-lib-secure-streams.h | 68 struct lws_context *context; /**< lws context we are created on */ 324 struct lws_context *context; 388 struct lws_context *context; 422 struct lws_context *context, 438 lws_ss_policy_lookup(const struct lws_context *context, const char *streamtype); 451 lws_ss_policy_set(struct lws_context *context, const char *name); 454 lws_ss_sys_fetch_policy(struct lws_context *context); 479 lws_ss_sys_auth_api_amazon_com(struct lws_context *context); 516 lws_ss_policy_ref_trust_store(struct lws_context *context, 546 lws_ss_policy_unref_trust_store(struct lws_context *context, [all …]
|
/third_party/libwebsockets/lib/misc/ |
D | peer-limits.c | 30 __lws_peer_remove_from_peer_wait_list(struct lws_context *context, in __lws_peer_remove_from_peer_wait_list() 64 __lws_peer_add_to_peer_wait_list(struct lws_context *context, in __lws_peer_add_to_peer_wait_list() 81 struct lws_context *context = vhost->context; in lws_get_or_create_peer() 169 __lws_peer_destroy(struct lws_context *context, struct lws_peer *peer) in __lws_peer_destroy() 187 lws_peer_cull_peer_wait_list(struct lws_context *context) in lws_peer_cull_peer_wait_list() 218 lws_peer_add_wsi(struct lws_context *context, struct lws_peer *peer, in lws_peer_add_wsi() 258 lws_peer_track_wsi_close(struct lws_context *context, struct lws_peer *peer) in lws_peer_track_wsi_close() 290 lws_peer_confirm_ah_attach_ok(struct lws_context *context, in lws_peer_confirm_ah_attach_ok() 308 lws_peer_track_ah_detach(struct lws_context *context, struct lws_peer *peer) in lws_peer_track_ah_detach()
|
/third_party/libwebsockets/lib/plat/optee/ |
D | lws-plat-optee.c | 77 lws_get_random(struct lws_context *context, void *buf, size_t len) in lws_get_random() 135 lws_plat_drop_app_privileges(struct lws_context *context, int actually_init) in lws_plat_drop_app_privileges() 147 lws_plat_context_early_destroy(struct lws_context *context) in lws_plat_context_early_destroy() 152 lws_plat_context_late_destroy(struct lws_context *context) in lws_plat_context_late_destroy() 197 lws_plat_init(struct lws_context *context, in lws_plat_init() 240 lws_plat_ntpclient_config(struct lws_context *context) in lws_plat_ntpclient_config()
|
/third_party/libwebsockets/lib/system/smd/ |
D | private-lib-system-smd.h | 56 struct lws_context *ctx; 87 lws_smd_message_pending(struct lws_context *ctx); 90 lws_smd_msg_distribute(struct lws_context *ctx); 93 _lws_smd_destroy(struct lws_context *ctx);
|
D | smd.c | 39 lws_smd_msg_alloc(struct lws_context *ctx, lws_smd_class_t _class, size_t len) in lws_smd_msg_alloc() 124 struct lws_context *ctx = lws_container_of(smd, struct lws_context, smd); in _lws_smd_msg_assess_peers_interested() 162 _lws_smd_msg_destroy(struct lws_context *cx, lws_smd_t *smd, lws_smd_msg_t *msg) in _lws_smd_msg_destroy() 197 _lws_smd_msg_send(struct lws_context *ctx, void *pay, struct lws_smd_peer *exc) in _lws_smd_msg_send() 275 lws_smd_msg_send(struct lws_context *ctx, void *pay) in lws_smd_msg_send() 285 lws_smd_msg_printf(struct lws_context *ctx, lws_smd_class_t _class, in lws_smd_msg_printf() 370 _lws_smd_ss_rx_forward(struct lws_context *ctx, const char *tag, in _lws_smd_ss_rx_forward() 434 struct lws_context *ctx = lws_ss_get_context(h); in lws_smd_ss_rx_forward() 445 struct lws_context *ctx = lws_sspc_get_context(h); in lws_smd_sspc_rx_forward() 527 _lws_smd_msg_deliver_peer(struct lws_context *ctx, lws_smd_peer_t *pr) in _lws_smd_msg_deliver_peer() [all …]
|
/third_party/libwebsockets/lib/plat/freertos/ |
D | freertos-fds.c | 28 lws_plat_insert_socket_into_fds(struct lws_context *context, struct lws *wsi) in lws_plat_insert_socket_into_fds() 36 lws_plat_delete_socket_from_fds(struct lws_context *context, in lws_plat_delete_socket_from_fds() 45 lws_plat_change_pollfd(struct lws_context *context, in lws_plat_change_pollfd() 52 insert_wsi(const struct lws_context *context, struct lws *wsi) in insert_wsi()
|
/third_party/libwebsockets/minimal-examples/api-tests/api-test-jose/ |
D | main.c | 13 test_jwk(struct lws_context *context); 15 test_jws(struct lws_context *context); 17 test_jwe(struct lws_context *context); 22 struct lws_context *context; in main()
|
/third_party/libwebsockets/lib/event-libs/libev/ |
D | libev.c | 92 struct lws_context *context = lws_io->context; in lws_accept_cb() 126 struct lws_context *context = watcher->data; in lws_ev_sigint_cb() 140 struct lws_context *context = (struct lws_context *)user; in elops_listen_init_ev() 158 elops_init_pt_ev(struct lws_context *context, void *_loop, int tsi) in elops_init_pt_ev() 244 struct lws_context *context = (struct lws_context *)user; in elops_listen_destroy_ev() 255 elops_destroy_pt_ev(struct lws_context *context, int tsi) in elops_destroy_pt_ev() 272 elops_init_context_ev(struct lws_context *context, in elops_init_context_ev() 339 elops_run_pt_ev(struct lws_context *context, int tsi) in elops_run_pt_ev() 346 elops_destroy_context2_ev(struct lws_context *context) in elops_destroy_context2_ev()
|
/third_party/libwebsockets/lib/core/ |
D | private-lib-core.h | 202 __lws_lc_tag(struct lws_context *cx, lws_lifecycle_group_t *grp, 209 __lws_lc_untag(struct lws_context *cx, lws_lifecycle_t *lc); 421 struct lws_context { struct 618 struct lws_context **pcontext_finalize; argument 876 lws_protocol_init(struct lws_context *context); 911 __lws_create_event_pipes(struct lws_context *context); 925 lws_plat_context_early_destroy(struct lws_context *context); 927 lws_plat_context_late_destroy(struct lws_context *context); 930 lws_plat_init(struct lws_context *context, 933 lws_plat_drop_app_privileges(struct lws_context *context, int actually_drop); [all …]
|