MIDAS
|
Classes | |
struct | mbuf |
struct | cs_sha1_ctx |
struct | MD5Context |
struct | cs_base64_ctx |
struct | json_token |
union | socket_address |
struct | mg_str |
struct | mg_mgr |
struct | mg_connection |
struct | mg_add_sock_opts |
struct | mg_bind_opts |
struct | mg_connect_opts |
struct | http_message |
struct | websocket_message |
struct | mg_http_multipart_part |
struct | mg_serve_http_opts |
struct | mg_rpc_request |
struct | mg_rpc_reply |
struct | mg_rpc_error |
struct | mg_mqtt_message |
struct | mg_mqtt_topic_expression |
struct | mg_send_mqtt_handshake_opts |
struct | mg_dns_resource_record |
struct | mg_dns_message |
struct | mg_resolve_async_opts |
Typedefs | |
typedef struct MD5Context | MD5_CTX |
typedef void(* | cs_base64_putc_t) (char, void *) |
typedef void * | SSL |
typedef void * | SSL_CTX |
typedef void(* | mg_event_handler_t) (struct mg_connection *, int ev, void *) |
typedef int(* | mg_rpc_handler_t) (char *buf, int len, struct mg_rpc_request *req) |
typedef void(* | mg_resolve_callback_t) (struct mg_dns_message *dns_message, void *user_data, enum mg_resolve_err) |
Functions | |
void | cs_log_set_level (enum cs_log_level level) |
void | cs_log_set_file (FILE *file) |
void | cs_log_print_prefix (const char *func) |
void | cs_log_printf (const char *fmt,...) |
double | cs_time (void) |
void | mbuf_init (struct mbuf *, size_t initial_capacity) |
void | mbuf_free (struct mbuf *) |
size_t | mbuf_append (struct mbuf *, const void *data, size_t data_size) |
size_t | mbuf_insert (struct mbuf *, size_t, const void *, size_t) |
void | mbuf_remove (struct mbuf *, size_t data_size) |
void | mbuf_resize (struct mbuf *, size_t new_size) |
void | mbuf_trim (struct mbuf *) |
void | cs_sha1_init (cs_sha1_ctx *) |
void | cs_sha1_update (cs_sha1_ctx *, const unsigned char *data, uint32_t len) |
void | cs_sha1_final (unsigned char digest[20], cs_sha1_ctx *) |
void | cs_hmac_sha1 (const unsigned char *key, size_t key_len, const unsigned char *text, size_t text_len, unsigned char out[20]) |
void | MD5_Init (MD5_CTX *c) |
void | MD5_Update (MD5_CTX *c, const unsigned char *data, size_t len) |
void | MD5_Final (unsigned char *md, MD5_CTX *c) |
char * | cs_md5 (char buf[33],...) |
void | cs_to_hex (char *to, const unsigned char *p, size_t len) |
void | cs_base64_init (struct cs_base64_ctx *ctx, cs_base64_putc_t putc, void *user_data) |
void | cs_base64_update (struct cs_base64_ctx *ctx, const char *str, size_t len) |
void | cs_base64_finish (struct cs_base64_ctx *ctx) |
void | cs_base64_encode (const unsigned char *src, int src_len, char *dst) |
void | cs_fprint_base64 (FILE *f, const unsigned char *src, int src_len) |
int | cs_base64_decode (const unsigned char *s, int len, char *dst) |
size_t | c_strnlen (const char *s, size_t maxlen) |
int | c_snprintf (char *buf, size_t buf_size, const char *format,...) |
int | c_vsnprintf (char *buf, size_t buf_size, const char *format, va_list ap) |
const char * | c_strnstr (const char *s, const char *find, size_t slen) |
int | parse_json (const char *json_string, int json_string_length, struct json_token *tokens_array, int size_of_tokens_array) |
struct json_token * | parse_json2 (const char *json_string, int string_length) |
struct json_token * | find_json_token (struct json_token *toks, const char *path) |
int | json_emit_long (char *buf, int buf_len, long value) |
int | json_emit_double (char *buf, int buf_len, double value) |
int | json_emit_quoted_str (char *buf, int buf_len, const char *str, int len) |
int | json_emit_unquoted_str (char *buf, int buf_len, const char *str, int len) |
int | json_emit (char *buf, int buf_len, const char *fmt,...) |
int | json_emit_va (char *buf, int buf_len, const char *fmt, va_list) |
void | mg_mgr_init (struct mg_mgr *mgr, void *user_data) |
void | mg_mgr_free (struct mg_mgr *) |
time_t | mg_mgr_poll (struct mg_mgr *, int milli) |
void | mg_broadcast (struct mg_mgr *, mg_event_handler_t func, void *, size_t) |
struct mg_connection * | mg_next (struct mg_mgr *, struct mg_connection *) |
struct mg_connection * | mg_add_sock (struct mg_mgr *, sock_t, mg_event_handler_t) |
struct mg_connection * | mg_add_sock_opt (struct mg_mgr *, sock_t, mg_event_handler_t, struct mg_add_sock_opts) |
struct mg_connection * | mg_bind (struct mg_mgr *, const char *, mg_event_handler_t) |
struct mg_connection * | mg_bind_opt (struct mg_mgr *mgr, const char *address, mg_event_handler_t handler, struct mg_bind_opts opts) |
struct mg_connection * | mg_connect (struct mg_mgr *mgr, const char *address, mg_event_handler_t handler) |
struct mg_connection * | mg_connect_opt (struct mg_mgr *mgr, const char *address, mg_event_handler_t handler, struct mg_connect_opts opts) |
const char * | mg_set_ssl (struct mg_connection *nc, const char *cert, const char *ca_cert) |
void | mg_send (struct mg_connection *, const void *buf, int len) |
int | mg_printf (struct mg_connection *, const char *fmt,...) |
int | mg_vprintf (struct mg_connection *, const char *fmt, va_list ap) |
int | mg_socketpair (sock_t[2], int sock_type) |
int | mg_resolve (const char *domain_name, char *ip_addr_buf, size_t buf_len) |
int | mg_check_ip_acl (const char *acl, uint32_t remote_ip) |
void | mg_enable_multithreading (struct mg_connection *nc) |
double | mg_set_timer (struct mg_connection *c, double timestamp) |
double | mg_time (void) |
void | mg_if_connect_tcp (struct mg_connection *nc, const union socket_address *sa) |
void | mg_if_connect_udp (struct mg_connection *nc) |
void | mg_if_connect_cb (struct mg_connection *nc, int err) |
int | mg_if_listen_tcp (struct mg_connection *nc, union socket_address *sa) |
struct mg_connection * | mg_if_accept_new_conn (struct mg_connection *lc) |
void | mg_if_accept_tcp_cb (struct mg_connection *nc, union socket_address *sa, size_t sa_len) |
int | mg_if_listen_udp (struct mg_connection *nc, union socket_address *sa) |
void | mg_if_tcp_send (struct mg_connection *nc, const void *buf, size_t len) |
void | mg_if_udp_send (struct mg_connection *nc, const void *buf, size_t len) |
void | mg_if_sent_cb (struct mg_connection *nc, int num_sent) |
void | mg_if_recv_tcp_cb (struct mg_connection *nc, void *buf, int len) |
void | mg_if_recv_udp_cb (struct mg_connection *nc, void *buf, int len, union socket_address *sa, size_t sa_len) |
void | mg_if_recved (struct mg_connection *nc, size_t len) |
void | mg_if_poll (struct mg_connection *nc, time_t now) |
void | mg_if_timer (struct mg_connection *c, double now) |
int | mg_if_create_conn (struct mg_connection *nc) |
void | mg_if_destroy_conn (struct mg_connection *nc) |
void | mg_close_conn (struct mg_connection *nc) |
void | mg_if_get_conn_addr (struct mg_connection *nc, int remote, union socket_address *sa) |
void | mg_sock_set (struct mg_connection *nc, sock_t sock) |
int | mg_parse_uri (struct mg_str uri, struct mg_str *scheme, struct mg_str *user_info, struct mg_str *host, unsigned int *port, struct mg_str *path, struct mg_str *query, struct mg_str *fragment) |
int | mg_normalize_uri_path (const struct mg_str *in, struct mg_str *out) |
const char * | mg_skip (const char *s, const char *end_string, const char *delimiters, struct mg_str *v) |
int | mg_ncasecmp (const char *s1, const char *s2, size_t len) |
int | mg_casecmp (const char *s1, const char *s2) |
int | mg_vcmp (const struct mg_str *str2, const char *str1) |
int | mg_vcasecmp (const struct mg_str *str2, const char *str1) |
int | mg_base64_decode (const unsigned char *s, int len, char *dst) |
void | mg_base64_encode (const unsigned char *src, int src_len, char *dst) |
int | mg_stat (const char *path, cs_stat_t *st) |
FILE * | mg_fopen (const char *path, const char *mode) |
int | mg_open (const char *path, int flag, int mode) |
void | mg_set_close_on_exec (sock_t) |
void | mg_conn_addr_to_str (struct mg_connection *nc, char *buf, size_t len, int flags) |
void | mg_sock_to_str (sock_t sock, char *buf, size_t len, int flags) |
void | mg_sock_addr_to_str (const union socket_address *sa, char *buf, size_t len, int flags) |
int | mg_hexdump (const void *buf, int len, char *dst, int dst_len) |
void | mg_hexdump_connection (struct mg_connection *nc, const char *path, const void *buf, int num_bytes, int ev) |
int | mg_avprintf (char **buf, size_t size, const char *fmt, va_list ap) |
int | mg_is_big_endian (void) |
const char * | mg_next_comma_list_entry (const char *list, struct mg_str *val, struct mg_str *eq_val) |
int | mg_match_prefix (const char *pattern, int pattern_len, const char *str) |
int | mg_match_prefix_n (const struct mg_str pattern, const struct mg_str str) |
struct mg_str | mg_mk_str (const char *s) |
void | mg_set_protocol_http_websocket (struct mg_connection *nc) |
void | mg_send_websocket_handshake (struct mg_connection *nc, const char *uri, const char *extra_headers) |
void | mg_send_websocket_handshake2 (struct mg_connection *nc, const char *path, const char *host, const char *protocol, const char *extra_headers) |
struct mg_connection * | mg_connect_ws (struct mg_mgr *mgr, mg_event_handler_t event_handler, const char *url, const char *protocol, const char *extra_headers) |
struct mg_connection * | mg_connect_ws_opt (struct mg_mgr *mgr, mg_event_handler_t ev_handler, struct mg_connect_opts opts, const char *url, const char *protocol, const char *extra_headers) |
void | mg_send_websocket_frame (struct mg_connection *nc, int op_and_flags, const void *data, size_t data_len) |
void | mg_send_websocket_framev (struct mg_connection *nc, int op_and_flags, const struct mg_str *strings, int num_strings) |
void | mg_printf_websocket_frame (struct mg_connection *nc, int op_and_flags, const char *fmt,...) |
void | mg_send_http_chunk (struct mg_connection *nc, const char *buf, size_t len) |
void | mg_printf_http_chunk (struct mg_connection *nc, const char *fmt,...) |
void | mg_send_response_line (struct mg_connection *c, int status_code, const char *extra_headers) |
void | mg_send_head (struct mg_connection *n, int status_code, int64_t content_length, const char *extra_headers) |
void | mg_printf_html_escape (struct mg_connection *nc, const char *fmt,...) |
int | mg_parse_http (const char *s, int n, struct http_message *hm, int is_req) |
struct mg_str * | mg_get_http_header (struct http_message *hm, const char *name) |
int | mg_http_parse_header (struct mg_str *hdr, const char *var_name, char *buf, size_t buf_size) |
size_t | mg_parse_multipart (const char *buf, size_t buf_len, char *var_name, size_t var_name_len, char *file_name, size_t file_name_len, const char **chunk, size_t *chunk_len) |
int | mg_get_http_var (const struct mg_str *buf, const char *name, char *dst, size_t dst_len) |
int | mg_url_decode (const char *src, int src_len, char *dst, int dst_len, int is_form_url_encoded) |
int | mg_http_create_digest_auth_header (char *buf, size_t buf_len, const char *method, const char *uri, const char *auth_domain, const char *user, const char *passwd) |
struct mg_connection * | mg_connect_http (struct mg_mgr *mgr, mg_event_handler_t event_handler, const char *url, const char *extra_headers, const char *post_data) |
struct mg_connection * | mg_connect_http_opt (struct mg_mgr *mgr, mg_event_handler_t ev_handler, struct mg_connect_opts opts, const char *url, const char *extra_headers, const char *post_data) |
void | mg_serve_http (struct mg_connection *nc, struct http_message *hm, struct mg_serve_http_opts opts) |
void | mg_register_http_endpoint (struct mg_connection *nc, const char *uri_path, mg_event_handler_t handler) |
int | mg_rpc_parse_reply (const char *buf, int len, struct json_token *toks, int max_toks, struct mg_rpc_reply *, struct mg_rpc_error *) |
int | mg_rpc_create_request (char *buf, int len, const char *method, const char *id, const char *params_fmt,...) |
int | mg_rpc_create_reply (char *buf, int len, const struct mg_rpc_request *req, const char *result_fmt,...) |
int | mg_rpc_create_error (char *buf, int len, struct mg_rpc_request *req, int code, const char *message, const char *fmt,...) |
int | mg_rpc_create_std_error (char *buf, int len, struct mg_rpc_request *req, int code) |
int | mg_rpc_dispatch (const char *buf, int, char *dst, int dst_len, const char **methods, mg_rpc_handler_t *handlers) |
void | mg_set_protocol_mqtt (struct mg_connection *nc) |
void | mg_send_mqtt_handshake (struct mg_connection *nc, const char *client_id) |
void | mg_send_mqtt_handshake_opt (struct mg_connection *nc, const char *client_id, struct mg_send_mqtt_handshake_opts) |
void | mg_mqtt_publish (struct mg_connection *nc, const char *topic, uint16_t message_id, int flags, const void *data, size_t len) |
void | mg_mqtt_subscribe (struct mg_connection *nc, const struct mg_mqtt_topic_expression *topics, size_t topics_len, uint16_t message_id) |
void | mg_mqtt_unsubscribe (struct mg_connection *nc, char **topics, size_t topics_len, uint16_t message_id) |
void | mg_mqtt_disconnect (struct mg_connection *nc) |
void | mg_mqtt_connack (struct mg_connection *nc, uint8_t return_code) |
void | mg_mqtt_puback (struct mg_connection *nc, uint16_t message_id) |
void | mg_mqtt_pubrec (struct mg_connection *nc, uint16_t message_id) |
void | mg_mqtt_pubrel (struct mg_connection *nc, uint16_t message_id) |
void | mg_mqtt_pubcomp (struct mg_connection *nc, uint16_t message_id) |
void | mg_mqtt_suback (struct mg_connection *nc, uint8_t *qoss, size_t qoss_len, uint16_t message_id) |
void | mg_mqtt_unsuback (struct mg_connection *nc, uint16_t message_id) |
void | mg_mqtt_ping (struct mg_connection *nc) |
void | mg_mqtt_pong (struct mg_connection *nc) |
int | mg_mqtt_next_subscribe_topic (struct mg_mqtt_message *msg, struct mg_str *topic, uint8_t *qos, int pos) |
struct mg_dns_resource_record * | mg_dns_next_record (struct mg_dns_message *msg, int query, struct mg_dns_resource_record *prev) |
int | mg_dns_parse_record_data (struct mg_dns_message *msg, struct mg_dns_resource_record *rr, void *data, size_t data_len) |
void | mg_send_dns_query (struct mg_connection *nc, const char *name, int query_type) |
int | mg_dns_insert_header (struct mbuf *io, size_t pos, struct mg_dns_message *msg) |
int | mg_dns_copy_body (struct mbuf *io, struct mg_dns_message *msg) |
int | mg_dns_encode_record (struct mbuf *io, struct mg_dns_resource_record *rr, const char *name, size_t nlen, const void *rdata, size_t rlen) |
int | mg_parse_dns (const char *buf, int len, struct mg_dns_message *msg) |
size_t | mg_dns_uncompress_name (struct mg_dns_message *msg, struct mg_str *name, char *dst, int dst_len) |
void | mg_set_protocol_dns (struct mg_connection *nc) |
int | mg_resolve_async (struct mg_mgr *mgr, const char *name, int query, mg_resolve_callback_t cb, void *data) |
int | mg_resolve_async_opt (struct mg_mgr *mgr, const char *name, int query, mg_resolve_callback_t cb, void *data, struct mg_resolve_async_opts opts) |
int | mg_resolve_from_hosts_file (const char *host, union socket_address *usa) |
#define ARRAY_SIZE | ( | array | ) | (sizeof(array) / sizeof(array[0])) |
Definition at line 119 of file mongoose6.h.
#define CS_COMMON_BASE64_H_ |
Definition at line 967 of file mongoose6.h.
#define CS_COMMON_CS_DBG_H_ |
Definition at line 739 of file mongoose6.h.
#define CS_COMMON_CS_DIRENT_H_ |
Definition at line 1106 of file mongoose6.h.
#define CS_COMMON_CS_TIME_H_ |
Definition at line 799 of file mongoose6.h.
#define CS_COMMON_MBUF_H_ |
Definition at line 820 of file mongoose6.h.
#define CS_COMMON_MD5_H_ |
Definition at line 923 of file mongoose6.h.
#define CS_COMMON_PLATFORM_H_ |
Definition at line 70 of file mongoose6.h.
#define CS_COMMON_PLATFORMS_PLATFORM_CC3200_H_ |
Definition at line 419 of file mongoose6.h.
#define CS_COMMON_PLATFORMS_PLATFORM_ESP_LWIP_H_ |
Definition at line 363 of file mongoose6.h.
#define CS_COMMON_PLATFORMS_PLATFORM_MSP432_H_ |
Definition at line 536 of file mongoose6.h.
#define CS_COMMON_PLATFORMS_PLATFORM_UNIX_H_ |
Definition at line 266 of file mongoose6.h.
#define CS_COMMON_PLATFORMS_PLATFORM_WINDOWS_H_ |
Definition at line 124 of file mongoose6.h.
#define CS_COMMON_PLATFORMS_SIMPLELINK_CS_SIMPLELINK_H_ |
Definition at line 630 of file mongoose6.h.
#define CS_COMMON_SHA1_H_ |
Definition at line 889 of file mongoose6.h.
#define CS_COMMON_STR_UTIL_H_ |
Definition at line 1009 of file mongoose6.h.
#define CS_MONGOOSE_DEPS_FROZEN_FROZEN_H_ |
Definition at line 1052 of file mongoose6.h.
#define CS_MONGOOSE_SRC_COAP_H_ |
Definition at line 3501 of file mongoose6.h.
#define CS_MONGOOSE_SRC_DNS_H_ |
Definition at line 3156 of file mongoose6.h.
#define CS_MONGOOSE_SRC_DNS_SERVER_H_ |
Definition at line 3311 of file mongoose6.h.
#define CS_MONGOOSE_SRC_HTTP_H_ |
Definition at line 2023 of file mongoose6.h.
#define CS_MONGOOSE_SRC_JSON_RPC_H_ |
Definition at line 2723 of file mongoose6.h.
#define CS_MONGOOSE_SRC_MQTT_BROKER_H_ |
Definition at line 3068 of file mongoose6.h.
#define CS_MONGOOSE_SRC_MQTT_H_ |
Definition at line 2873 of file mongoose6.h.
#define CS_MONGOOSE_SRC_NET_H_ |
Definition at line 1160 of file mongoose6.h.
#define CS_MONGOOSE_SRC_NET_IF_H_ |
Definition at line 1659 of file mongoose6.h.
#define CS_MONGOOSE_SRC_RESOLV_H_ |
Definition at line 3402 of file mongoose6.h.
#define CS_MONGOOSE_SRC_URI_H_ |
Definition at line 1743 of file mongoose6.h.
#define CS_MONGOOSE_SRC_UTIL_H_ |
Definition at line 1794 of file mongoose6.h.
#define CS_P_CC3200 4 |
Definition at line 80 of file mongoose6.h.
#define CS_P_CUSTOM 0 |
Definition at line 76 of file mongoose6.h.
#define CS_P_ESP_LWIP 3 |
Definition at line 79 of file mongoose6.h.
#define CS_P_MSP432 5 |
Definition at line 81 of file mongoose6.h.
#define CS_P_UNIX 1 |
Definition at line 77 of file mongoose6.h.
#define CS_P_WINDOWS 2 |
Definition at line 78 of file mongoose6.h.
#define DBG | ( | x | ) |
Definition at line 773 of file mongoose6.h.
#define JSON_RPC_INTERNAL_ERROR (-32603) |
Definition at line 2810 of file mongoose6.h.
#define JSON_RPC_INVALID_PARAMS_ERROR (-32602) |
Definition at line 2809 of file mongoose6.h.
#define JSON_RPC_INVALID_REQUEST_ERROR (-32600) |
Definition at line 2807 of file mongoose6.h.
#define JSON_RPC_METHOD_NOT_FOUND_ERROR (-32601) |
Definition at line 2808 of file mongoose6.h.
#define JSON_RPC_PARSE_ERROR (-32700) |
Definition at line 2806 of file mongoose6.h.
#define JSON_RPC_SERVER_ERROR (-32000) |
Definition at line 2811 of file mongoose6.h.
#define JSON_STRING_INCOMPLETE -2 |
Definition at line 1080 of file mongoose6.h.
#define JSON_STRING_INVALID -1 |
Definition at line 1079 of file mongoose6.h.
#define JSON_TOKEN_ARRAY_TOO_SMALL -3 |
Definition at line 1081 of file mongoose6.h.
#define LOG | ( | l, | |
x | |||
) |
Definition at line 765 of file mongoose6.h.
#define MAX_PATH_SIZE 500 |
Definition at line 1804 of file mongoose6.h.
#define MBUF_SIZE_MULTIPLIER 1.5 |
Definition at line 829 of file mongoose6.h.
#define MG_CGI_ENVIRONMENT_SIZE 8192 |
Definition at line 2055 of file mongoose6.h.
#define MG_DNS_A_RECORD 0x01 /* Lookup IP address */ |
Definition at line 3163 of file mongoose6.h.
#define MG_DNS_AAAA_RECORD 0x1c /* Lookup IPv6 address */ |
Definition at line 3165 of file mongoose6.h.
#define MG_DNS_CNAME_RECORD 0x05 /* Lookup CNAME */ |
Definition at line 3164 of file mongoose6.h.
#define MG_DNS_MESSAGE 100 /* High-level DNS message event */ |
Definition at line 3171 of file mongoose6.h.
#define MG_DNS_MX_RECORD 0x0f /* Lookup mail server for domain */ |
Definition at line 3166 of file mongoose6.h.
#define MG_ENV_EXPORT_TO_CGI "MONGOOSE_CGI" |
Definition at line 2063 of file mongoose6.h.
#define MG_EV_ACCEPT 1 /* New connection accepted. union socket_address * */ |
Definition at line 1220 of file mongoose6.h.
#define MG_EV_CLOSE 5 /* Connection is closed. NULL */ |
Definition at line 1224 of file mongoose6.h.
#define MG_EV_CONNECT 2 /* connect() succeeded or failed. int * */ |
Definition at line 1221 of file mongoose6.h.
#define MG_EV_HTTP_CHUNK 102 /* struct http_message * */ |
Definition at line 2116 of file mongoose6.h.
#define MG_EV_HTTP_REPLY 101 /* struct http_message * */ |
Definition at line 2115 of file mongoose6.h.
#define MG_EV_HTTP_REQUEST 100 /* struct http_message * */ |
Definition at line 2114 of file mongoose6.h.
#define MG_EV_MQTT_CONNACK (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_CONNACK) |
Definition at line 2918 of file mongoose6.h.
#define MG_EV_MQTT_CONNACK_ACCEPTED 0 |
Definition at line 2950 of file mongoose6.h.
#define MG_EV_MQTT_CONNACK_BAD_AUTH 4 |
Definition at line 2954 of file mongoose6.h.
#define MG_EV_MQTT_CONNACK_IDENTIFIER_REJECTED 2 |
Definition at line 2952 of file mongoose6.h.
#define MG_EV_MQTT_CONNACK_NOT_AUTHORIZED 5 |
Definition at line 2955 of file mongoose6.h.
#define MG_EV_MQTT_CONNACK_SERVER_UNAVAILABLE 3 |
Definition at line 2953 of file mongoose6.h.
#define MG_EV_MQTT_CONNACK_UNACCEPTABLE_VERSION 1 |
Definition at line 2951 of file mongoose6.h.
#define MG_EV_MQTT_CONNECT (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_CONNECT) |
Definition at line 2917 of file mongoose6.h.
#define MG_EV_MQTT_DISCONNECT (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_DISCONNECT) |
Definition at line 2930 of file mongoose6.h.
#define MG_EV_MQTT_PINGREQ (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_PINGREQ) |
Definition at line 2928 of file mongoose6.h.
#define MG_EV_MQTT_PINGRESP (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_PINGRESP) |
Definition at line 2929 of file mongoose6.h.
#define MG_EV_MQTT_PUBACK (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_PUBACK) |
Definition at line 2920 of file mongoose6.h.
#define MG_EV_MQTT_PUBCOMP (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_PUBCOMP) |
Definition at line 2923 of file mongoose6.h.
#define MG_EV_MQTT_PUBLISH (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_PUBLISH) |
Definition at line 2919 of file mongoose6.h.
#define MG_EV_MQTT_PUBREC (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_PUBREC) |
Definition at line 2921 of file mongoose6.h.
#define MG_EV_MQTT_PUBREL (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_PUBREL) |
Definition at line 2922 of file mongoose6.h.
#define MG_EV_MQTT_SUBACK (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_SUBACK) |
Definition at line 2925 of file mongoose6.h.
#define MG_EV_MQTT_SUBSCRIBE (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_SUBSCRIBE) |
Definition at line 2924 of file mongoose6.h.
#define MG_EV_MQTT_UNSUBACK (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_UNSUBACK) |
Definition at line 2927 of file mongoose6.h.
#define MG_EV_MQTT_UNSUBSCRIBE (MG_MQTT_EVENT_BASE + MG_MQTT_CMD_UNSUBSCRIBE) |
Definition at line 2926 of file mongoose6.h.
#define MG_EV_POLL 0 /* Sent to each connection on each mg_mgr_poll() call */ |
Definition at line 1219 of file mongoose6.h.
#define MG_EV_RECV 3 /* Data has benn received. int *num_bytes */ |
Definition at line 1222 of file mongoose6.h.
#define MG_EV_SEND 4 /* Data has been written to a socket. int *num_bytes */ |
Definition at line 1223 of file mongoose6.h.
#define MG_EV_SSI_CALL 105 /* char * */ |
Definition at line 2117 of file mongoose6.h.
#define MG_EV_TIMER 6 /* now >= conn->ev_timer_time. double * */ |
Definition at line 1225 of file mongoose6.h.
#define MG_EV_WEBSOCKET_CONTROL_FRAME 114 /* struct websocket_message * */ |
Definition at line 2122 of file mongoose6.h.
#define MG_EV_WEBSOCKET_FRAME 113 /* struct websocket_message * */ |
Definition at line 2121 of file mongoose6.h.
#define MG_EV_WEBSOCKET_HANDSHAKE_DONE 112 /* NULL */ |
Definition at line 2120 of file mongoose6.h.
#define MG_EV_WEBSOCKET_HANDSHAKE_REQUEST 111 /* NULL */ |
Definition at line 2119 of file mongoose6.h.
#define MG_F_CLOSE_IMMEDIATELY (1 << 11) /* Disconnect */ |
Definition at line 1289 of file mongoose6.h.
#define MG_F_CONNECTING (1 << 3) /* connect() call in progress */ |
Definition at line 1281 of file mongoose6.h.
#define MG_F_DELETE_CHUNK (1 << 13) /* HTTP specific */ |
Definition at line 1291 of file mongoose6.h.
#define MG_F_IS_WEBSOCKET (1 << 7) /* Websocket specific */ |
Definition at line 1285 of file mongoose6.h.
#define MG_F_LISTENING (1 << 0) /* This connection is listening */ |
Definition at line 1278 of file mongoose6.h.
#define MG_F_RESOLVING (1 << 2) /* Waiting for async resolver */ |
Definition at line 1280 of file mongoose6.h.
Definition at line 1288 of file mongoose6.h.
#define MG_F_SSL_HANDSHAKE_DONE (1 << 4) /* SSL specific */ |
Definition at line 1282 of file mongoose6.h.
#define MG_F_UDP (1 << 1) /* This connection is UDP */ |
Definition at line 1279 of file mongoose6.h.
#define MG_F_USER_1 (1 << 20) /* Flags left for application */ |
Definition at line 1293 of file mongoose6.h.
#define MG_F_USER_2 (1 << 21) |
Definition at line 1294 of file mongoose6.h.
#define MG_F_USER_3 (1 << 22) |
Definition at line 1295 of file mongoose6.h.
#define MG_F_USER_4 (1 << 23) |
Definition at line 1296 of file mongoose6.h.
#define MG_F_USER_5 (1 << 24) |
Definition at line 1297 of file mongoose6.h.
#define MG_F_USER_6 (1 << 25) |
Definition at line 1298 of file mongoose6.h.
#define MG_F_WANT_READ (1 << 5) /* SSL specific */ |
Definition at line 1283 of file mongoose6.h.
#define MG_F_WANT_WRITE (1 << 6) /* SSL specific */ |
Definition at line 1284 of file mongoose6.h.
#define MG_F_WEBSOCKET_NO_DEFRAG (1 << 12) /* Websocket specific */ |
Definition at line 1290 of file mongoose6.h.
#define MG_MAX_CGI_ENVIR_VARS 64 |
Definition at line 2059 of file mongoose6.h.
#define MG_MAX_DNS_ANSWERS 32 |
Definition at line 3169 of file mongoose6.h.
#define MG_MAX_DNS_QUESTIONS 32 |
Definition at line 3168 of file mongoose6.h.
#define MG_MAX_HTTP_HEADERS 20 |
Definition at line 2031 of file mongoose6.h.
#define MG_MAX_HTTP_REQUEST_SIZE 1024 |
Definition at line 2035 of file mongoose6.h.
#define MG_MAX_HTTP_SEND_MBUF 1024 |
Definition at line 2047 of file mongoose6.h.
#define MG_MAX_PATH 256 |
Definition at line 2042 of file mongoose6.h.
#define MG_MK_STR | ( | str_literal | ) | { str_literal, sizeof(str_literal) - 1 } |
Definition at line 2006 of file mongoose6.h.
#define MG_MQTT_CLEAN_SESSION 0x02 |
Definition at line 2940 of file mongoose6.h.
#define MG_MQTT_CMD_CONNACK 2 |
Definition at line 2901 of file mongoose6.h.
#define MG_MQTT_CMD_CONNECT 1 |
Definition at line 2900 of file mongoose6.h.
#define MG_MQTT_CMD_DISCONNECT 14 |
Definition at line 2913 of file mongoose6.h.
#define MG_MQTT_CMD_PINGREQ 12 |
Definition at line 2911 of file mongoose6.h.
#define MG_MQTT_CMD_PINGRESP 13 |
Definition at line 2912 of file mongoose6.h.
#define MG_MQTT_CMD_PUBACK 4 |
Definition at line 2903 of file mongoose6.h.
#define MG_MQTT_CMD_PUBCOMP 7 |
Definition at line 2906 of file mongoose6.h.
#define MG_MQTT_CMD_PUBLISH 3 |
Definition at line 2902 of file mongoose6.h.
#define MG_MQTT_CMD_PUBREC 5 |
Definition at line 2904 of file mongoose6.h.
#define MG_MQTT_CMD_PUBREL 6 |
Definition at line 2905 of file mongoose6.h.
#define MG_MQTT_CMD_SUBACK 9 |
Definition at line 2908 of file mongoose6.h.
#define MG_MQTT_CMD_SUBSCRIBE 8 |
Definition at line 2907 of file mongoose6.h.
#define MG_MQTT_CMD_UNSUBACK 11 |
Definition at line 2910 of file mongoose6.h.
#define MG_MQTT_CMD_UNSUBSCRIBE 10 |
Definition at line 2909 of file mongoose6.h.
#define MG_MQTT_DUP 0x4 |
Definition at line 2934 of file mongoose6.h.
#define MG_MQTT_EVENT_BASE 200 |
Definition at line 2916 of file mongoose6.h.
#define MG_MQTT_GET_QOS | ( | flags | ) | (((flags) &0x6) >> 1) |
Definition at line 2936 of file mongoose6.h.
#define MG_MQTT_GET_WILL_QOS | ( | flags | ) | (((flags) &0x18) >> 3) |
Definition at line 2945 of file mongoose6.h.
#define MG_MQTT_HAS_PASSWORD 0x40 |
Definition at line 2943 of file mongoose6.h.
#define MG_MQTT_HAS_USER_NAME 0x80 |
Definition at line 2944 of file mongoose6.h.
#define MG_MQTT_HAS_WILL 0x04 |
Definition at line 2941 of file mongoose6.h.
#define MG_MQTT_QOS | ( | qos | ) | ((qos) << 1) |
Definition at line 2935 of file mongoose6.h.
#define MG_MQTT_RETAIN 0x1 |
Definition at line 2933 of file mongoose6.h.
#define MG_MQTT_SET_QOS | ( | flags, | |
qos | |||
) | (flags) = ((flags) & ~0x6) | ((qos) << 1) |
Definition at line 2937 of file mongoose6.h.
#define MG_MQTT_SET_WILL_QOS | ( | flags, | |
qos | |||
) | (flags) = ((flags) & ~0x18) | ((qos) << 3) |
Definition at line 2946 of file mongoose6.h.
#define MG_MQTT_WILL_RETAIN 0x20 |
Definition at line 2942 of file mongoose6.h.
#define MG_RECV_FUNC | ( | s, | |
b, | |||
l, | |||
f | |||
) | recv(s, b, l, f) |
Definition at line 1186 of file mongoose6.h.
#define MG_SEND_FUNC | ( | s, | |
b, | |||
l, | |||
f | |||
) | send(s, b, l, f) |
Definition at line 1187 of file mongoose6.h.
#define MG_SOCK_STRINGIFY_IP 1 |
Definition at line 1904 of file mongoose6.h.
#define MG_SOCK_STRINGIFY_PORT 2 |
Definition at line 1905 of file mongoose6.h.
#define MG_SOCK_STRINGIFY_REMOTE 4 |
Definition at line 1906 of file mongoose6.h.
#define MG_VERSION "6.4" |
Definition at line 26 of file mongoose6.h.
#define MG_VPRINTF_BUFFER_SIZE 100 |
Definition at line 1179 of file mongoose6.h.
#define MG_WEBSOCKET_PING_INTERVAL_SECONDS 5 |
Definition at line 2051 of file mongoose6.h.
#define NOINLINE |
Definition at line 114 of file mongoose6.h.
#define NORETURN |
Definition at line 112 of file mongoose6.h.
#define UNUSED |
Definition at line 113 of file mongoose6.h.
#define WARN_UNUSED_RESULT |
Definition at line 115 of file mongoose6.h.
#define WEBSOCKET_DONT_FIN 0x100 |
Definition at line 2365 of file mongoose6.h.
#define WEBSOCKET_OP_BINARY 2 |
Definition at line 2348 of file mongoose6.h.
#define WEBSOCKET_OP_CLOSE 8 |
Definition at line 2349 of file mongoose6.h.
#define WEBSOCKET_OP_CONTINUE 0 |
Definition at line 2346 of file mongoose6.h.
#define WEBSOCKET_OP_PING 9 |
Definition at line 2350 of file mongoose6.h.
#define WEBSOCKET_OP_PONG 10 |
Definition at line 2351 of file mongoose6.h.
#define WEBSOCKET_OP_TEXT 1 |
Definition at line 2347 of file mongoose6.h.
typedef void(* cs_base64_putc_t) (char, void *) |
Definition at line 977 of file mongoose6.h.
typedef struct MD5Context MD5_CTX |
typedef void(* mg_event_handler_t) (struct mg_connection *, int ev, void *) |
Definition at line 1216 of file mongoose6.h.
typedef void(* mg_resolve_callback_t) (struct mg_dns_message *dns_message, void *user_data, enum mg_resolve_err) |
Definition at line 3416 of file mongoose6.h.
typedef int(* mg_rpc_handler_t) (char *buf, int len, struct mg_rpc_request *req) |
Definition at line 2830 of file mongoose6.h.
typedef void* SSL |
Definition at line 1174 of file mongoose6.h.
typedef void* SSL_CTX |
Definition at line 1175 of file mongoose6.h.
enum cs_log_level |
Definition at line 741 of file mongoose6.h.
enum json_type |
Enumerator | |
---|---|
JSON_TYPE_EOF | |
JSON_TYPE_STRING | |
JSON_TYPE_NUMBER | |
JSON_TYPE_OBJECT | |
JSON_TYPE_TRUE | |
JSON_TYPE_FALSE | |
JSON_TYPE_NULL | |
JSON_TYPE_ARRAY |
Definition at line 1060 of file mongoose6.h.
Enumerator | |
---|---|
MG_DNS_INVALID_RECORD | |
MG_DNS_QUESTION | |
MG_DNS_ANSWER | |
MG_DNS_INVALID_RECORD | |
MG_DNS_QUESTION | |
MG_DNS_ANSWER | |
MG_DNS_INVALID_RECORD | |
MG_DNS_QUESTION | |
MG_DNS_ANSWER |
Definition at line 3173 of file mongoose6.h.
enum mg_resolve_err |
Definition at line 3409 of file mongoose6.h.
int c_snprintf | ( | char * | buf, |
size_t | buf_size, | ||
const char * | format, | ||
... | |||
) |
Definition at line 2061 of file mongoose614.cxx.
size_t c_strnlen | ( | const char * | s, |
size_t | maxlen | ||
) |
Definition at line 1860 of file mongoose614.cxx.
const char * c_strnstr | ( | const char * | s, |
const char * | find, | ||
size_t | slen | ||
) |
Definition at line 2102 of file mongoose614.cxx.
int c_vsnprintf | ( | char * | buf, |
size_t | buf_size, | ||
const char * | format, | ||
va_list | ap | ||
) |
Definition at line 1923 of file mongoose614.cxx.
int cs_base64_decode | ( | const unsigned char * | s, |
int | len, | ||
char * | dst | ||
) |
Definition at line 305 of file mongoose6.cxx.
void cs_base64_encode | ( | const unsigned char * | src, |
int | src_len, | ||
char * | dst | ||
) |
Definition at line 241 of file mongoose6.cxx.
void cs_base64_finish | ( | struct cs_base64_ctx * | ctx | ) |
Definition at line 195 of file mongoose6.cxx.
void cs_base64_init | ( | struct cs_base64_ctx * | ctx, |
cs_base64_putc_t | putc, | ||
void * | user_data | ||
) |
Definition at line 176 of file mongoose6.cxx.
void cs_base64_update | ( | struct cs_base64_ctx * | ctx, |
const char * | str, | ||
size_t | len | ||
) |
void cs_fprint_base64 | ( | FILE * | f, |
const unsigned char * | src, | ||
int | src_len | ||
) |
Definition at line 257 of file mongoose6.cxx.
void cs_hmac_sha1 | ( | const unsigned char * | key, |
size_t | key_len, | ||
const unsigned char * | text, | ||
size_t | text_len, | ||
unsigned char | out[20] | ||
) |
Definition at line 1714 of file mongoose6.cxx.
void cs_log_print_prefix | ( | const char * | func | ) |
void cs_log_printf | ( | const char * | fmt, |
... | |||
) |
Definition at line 367 of file mongoose6.cxx.
void cs_log_set_file | ( | FILE * | file | ) |
Definition at line 376 of file mongoose6.cxx.
void cs_log_set_level | ( | enum cs_log_level | level | ) |
char* cs_md5 | ( | char | buf[33], |
... | |||
) |
Definition at line 1377 of file mongoose6.cxx.
void cs_sha1_final | ( | unsigned char | digest[20], |
cs_sha1_ctx * | context | ||
) |
void cs_sha1_init | ( | cs_sha1_ctx * | context | ) |
void cs_sha1_update | ( | cs_sha1_ctx * | context, |
const unsigned char * | data, | ||
uint32_t | len | ||
) |
Definition at line 1670 of file mongoose6.cxx.
double cs_time | ( | void | ) |
void cs_to_hex | ( | char * | to, |
const unsigned char * | p, | ||
size_t | len | ||
) |
Definition at line 2132 of file mongoose614.cxx.
struct json_token* find_json_token | ( | struct json_token * | toks, |
const char * | path | ||
) |
Definition at line 958 of file mongoose6.cxx.
int json_emit | ( | char * | buf, |
int | buf_len, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 1142 of file mongoose6.cxx.
int json_emit_double | ( | char * | buf, |
int | buf_len, | ||
double | value | ||
) |
int json_emit_long | ( | char * | buf, |
int | buf_len, | ||
long | value | ||
) |
int json_emit_quoted_str | ( | char * | buf, |
int | buf_len, | ||
const char * | str, | ||
int | len | ||
) |
Definition at line 1009 of file mongoose6.cxx.
int json_emit_unquoted_str | ( | char * | buf, |
int | buf_len, | ||
const char * | str, | ||
int | len | ||
) |
int json_emit_va | ( | char * | buf, |
int | buf_len, | ||
const char * | fmt, | ||
va_list | ap | ||
) |
Definition at line 1074 of file mongoose6.cxx.
size_t mbuf_append | ( | struct mbuf * | a, |
const void * | data, | ||
size_t | data_size | ||
) |
Definition at line 1623 of file mongoose614.cxx.
void mbuf_free | ( | struct mbuf * | mbuf | ) |
Definition at line 1551 of file mongoose614.cxx.
void mbuf_init | ( | struct mbuf * | mbuf, |
size_t | initial_capacity | ||
) |
size_t mbuf_insert | ( | struct mbuf * | a, |
size_t | off, | ||
const void * | buf, | ||
size_t | len | ||
) |
Definition at line 1579 of file mongoose614.cxx.
void mbuf_remove | ( | struct mbuf * | mb, |
size_t | data_size | ||
) |
void mbuf_resize | ( | struct mbuf * | a, |
size_t | new_size | ||
) |
Definition at line 1559 of file mongoose614.cxx.
void mbuf_trim | ( | struct mbuf * | mbuf | ) |
void MD5_Final | ( | unsigned char * | md, |
MD5_CTX * | c | ||
) |
void MD5_Init | ( | MD5_CTX * | c | ) |
void MD5_Update | ( | MD5_CTX * | c, |
const unsigned char * | data, | ||
size_t | len | ||
) |
Definition at line 1296 of file mongoose6.cxx.
struct mg_connection* mg_add_sock | ( | struct mg_mgr * | s, |
sock_t | sock, | ||
mg_event_handler_t | callback | ||
) |
Definition at line 3062 of file mongoose6.cxx.
struct mg_connection* mg_add_sock_opt | ( | struct mg_mgr * | s, |
sock_t | sock, | ||
mg_event_handler_t | callback, | ||
struct mg_add_sock_opts | opts | ||
) |
Definition at line 3051 of file mongoose6.cxx.
int mg_avprintf | ( | char ** | buf, |
size_t | size, | ||
const char * | fmt, | ||
va_list | ap | ||
) |
Definition at line 2213 of file mongoose614.cxx.
int mg_base64_decode | ( | const unsigned char * | s, |
int | len, | ||
char * | dst | ||
) |
Definition at line 7878 of file mongoose6.cxx.
void mg_base64_encode | ( | const unsigned char * | src, |
int | src_len, | ||
char * | dst | ||
) |
Definition at line 7874 of file mongoose6.cxx.
struct mg_connection* mg_bind | ( | struct mg_mgr * | srv, |
const char * | address, | ||
mg_event_handler_t | event_handler | ||
) |
Definition at line 2898 of file mongoose6.cxx.
struct mg_connection* mg_bind_opt | ( | struct mg_mgr * | mgr, |
const char * | address, | ||
mg_event_handler_t | handler, | ||
struct mg_bind_opts | opts | ||
) |
Definition at line 2905 of file mongoose6.cxx.
void mg_broadcast | ( | struct mg_mgr * | mgr, |
mg_event_handler_t | func, | ||
void * | data, | ||
size_t | len | ||
) |
Definition at line 2960 of file mongoose6.cxx.
int mg_casecmp | ( | const char * | s1, |
const char * | s2 | ||
) |
Definition at line 2198 of file mongoose614.cxx.
int mg_check_ip_acl | ( | const char * | acl, |
uint32_t | remote_ip | ||
) |
Definition at line 3005 of file mongoose6.cxx.
void mg_close_conn | ( | struct mg_connection * | nc | ) |
Definition at line 2546 of file mongoose614.cxx.
void mg_conn_addr_to_str | ( | struct mg_connection * | nc, |
char * | buf, | ||
size_t | len, | ||
int | flags | ||
) |
Definition at line 7962 of file mongoose6.cxx.
struct mg_connection* mg_connect | ( | struct mg_mgr * | mgr, |
const char * | address, | ||
mg_event_handler_t | handler | ||
) |
Definition at line 2814 of file mongoose6.cxx.
struct mg_connection* mg_connect_http | ( | struct mg_mgr * | mgr, |
mg_event_handler_t | event_handler, | ||
const char * | url, | ||
const char * | extra_headers, | ||
const char * | post_data | ||
) |
Definition at line 7692 of file mongoose6.cxx.
struct mg_connection* mg_connect_http_opt | ( | struct mg_mgr * | mgr, |
mg_event_handler_t | ev_handler, | ||
struct mg_connect_opts | opts, | ||
const char * | url, | ||
const char * | extra_headers, | ||
const char * | post_data | ||
) |
Definition at line 7666 of file mongoose6.cxx.
struct mg_connection* mg_connect_opt | ( | struct mg_mgr * | mgr, |
const char * | address, | ||
mg_event_handler_t | handler, | ||
struct mg_connect_opts | opts | ||
) |
Definition at line 2821 of file mongoose6.cxx.
struct mg_connection* mg_connect_ws | ( | struct mg_mgr * | mgr, |
mg_event_handler_t | event_handler, | ||
const char * | url, | ||
const char * | protocol, | ||
const char * | extra_headers | ||
) |
Definition at line 7723 of file mongoose6.cxx.
struct mg_connection* mg_connect_ws_opt | ( | struct mg_mgr * | mgr, |
mg_event_handler_t | ev_handler, | ||
struct mg_connect_opts | opts, | ||
const char * | url, | ||
const char * | protocol, | ||
const char * | extra_headers | ||
) |
Definition at line 7703 of file mongoose6.cxx.
int mg_dns_copy_body | ( | struct mbuf * | io, |
struct mg_dns_message * | msg | ||
) |
Definition at line 8882 of file mongoose6.cxx.
int mg_dns_encode_record | ( | struct mbuf * | io, |
struct mg_dns_resource_record * | rr, | ||
const char * | name, | ||
size_t | nlen, | ||
const void * | rdata, | ||
size_t | rlen | ||
) |
Definition at line 8916 of file mongoose6.cxx.
int mg_dns_insert_header | ( | struct mbuf * | io, |
size_t | pos, | ||
struct mg_dns_message * | msg | ||
) |
struct mg_dns_resource_record* mg_dns_next_record | ( | struct mg_dns_message * | msg, |
int | query, | ||
struct mg_dns_resource_record * | prev | ||
) |
Definition at line 8826 of file mongoose6.cxx.
int mg_dns_parse_record_data | ( | struct mg_dns_message * | msg, |
struct mg_dns_resource_record * | rr, | ||
void * | data, | ||
size_t | data_len | ||
) |
Definition at line 8840 of file mongoose6.cxx.
size_t mg_dns_uncompress_name | ( | struct mg_dns_message * | msg, |
struct mg_str * | name, | ||
char * | dst, | ||
int | dst_len | ||
) |
Definition at line 9084 of file mongoose6.cxx.
void mg_enable_multithreading | ( | struct mg_connection * | nc | ) |
static FILE * mg_fopen | ( | const char * | path, |
const char * | mode | ||
) |
Definition at line 2331 of file mongoose4.cxx.
struct mg_str* mg_get_http_header | ( | struct http_message * | hm, |
const char * | name | ||
) |
Definition at line 4466 of file mongoose6.cxx.
int mg_get_http_var | ( | const struct mg_str * | buf, |
const char * | name, | ||
char * | dst, | ||
size_t | dst_len | ||
) |
Definition at line 5990 of file mongoose6.cxx.
int mg_hexdump | ( | const void * | buf, |
int | len, | ||
char * | dst, | ||
int | dst_len | ||
) |
void mg_hexdump_connection | ( | struct mg_connection * | nc, |
const char * | path, | ||
const void * | buf, | ||
int | num_bytes, | ||
int | ev | ||
) |
Definition at line 8031 of file mongoose6.cxx.
int mg_http_create_digest_auth_header | ( | char * | buf, |
size_t | buf_len, | ||
const char * | method, | ||
const char * | uri, | ||
const char * | auth_domain, | ||
const char * | user, | ||
const char * | passwd | ||
) |
Definition at line 6156 of file mongoose6.cxx.
int mg_http_parse_header | ( | struct mg_str * | hdr, |
const char * | var_name, | ||
char * | buf, | ||
size_t | buf_size | ||
) |
Definition at line 6084 of file mongoose6.cxx.
struct mg_connection* mg_if_accept_new_conn | ( | struct mg_connection * | lc | ) |
void mg_if_accept_tcp_cb | ( | struct mg_connection * | nc, |
union socket_address * | sa, | ||
size_t | sa_len | ||
) |
Definition at line 2635 of file mongoose6.cxx.
void mg_if_connect_cb | ( | struct mg_connection * | nc, |
int | err | ||
) |
void mg_if_connect_tcp | ( | struct mg_connection * | nc, |
const union socket_address * | sa | ||
) |
Definition at line 3125 of file mongoose6.cxx.
void mg_if_connect_udp | ( | struct mg_connection * | nc | ) |
int mg_if_create_conn | ( | struct mg_connection * | nc | ) |
void mg_if_destroy_conn | ( | struct mg_connection * | nc | ) |
void mg_if_get_conn_addr | ( | struct mg_connection * | nc, |
int | remote, | ||
union socket_address * | sa | ||
) |
Definition at line 3773 of file mongoose6.cxx.
int mg_if_listen_tcp | ( | struct mg_connection * | nc, |
union socket_address * | sa | ||
) |
Definition at line 3152 of file mongoose6.cxx.
int mg_if_listen_udp | ( | struct mg_connection * | nc, |
union socket_address * | sa | ||
) |
Definition at line 3161 of file mongoose6.cxx.
void mg_if_poll | ( | struct mg_connection * | nc, |
time_t | now | ||
) |
Definition at line 2150 of file mongoose6.cxx.
void mg_if_recv_tcp_cb | ( | struct mg_connection * | nc, |
void * | buf, | ||
int | len | ||
) |
Definition at line 2687 of file mongoose6.cxx.
void mg_if_recv_udp_cb | ( | struct mg_connection * | nc, |
void * | buf, | ||
int | len, | ||
union socket_address * | sa, | ||
size_t | sa_len | ||
) |
Definition at line 2691 of file mongoose6.cxx.
void mg_if_recved | ( | struct mg_connection * | nc, |
size_t | len | ||
) |
void mg_if_sent_cb | ( | struct mg_connection * | nc, |
int | num_sent | ||
) |
Definition at line 2656 of file mongoose6.cxx.
void mg_if_tcp_send | ( | struct mg_connection * | nc, |
const void * | buf, | ||
size_t | len | ||
) |
Definition at line 3168 of file mongoose6.cxx.
void mg_if_timer | ( | struct mg_connection * | c, |
double | now | ||
) |
Definition at line 2136 of file mongoose6.cxx.
void mg_if_udp_send | ( | struct mg_connection * | nc, |
const void * | buf, | ||
size_t | len | ||
) |
Definition at line 3172 of file mongoose6.cxx.
int mg_is_big_endian | ( | void | ) |
Definition at line 8072 of file mongoose6.cxx.
size_t mg_match_prefix | ( | const char * | pattern, |
int | pattern_len, | ||
const char * | str | ||
) |
Definition at line 2354 of file mongoose614.cxx.
void mg_mgr_free | ( | struct mg_mgr * | m | ) |
void mg_mgr_init | ( | struct mg_mgr * | mgr, |
void * | user_data | ||
) |
time_t mg_mgr_poll | ( | struct mg_mgr * | mgr, |
int | milli | ||
) |
Definition at line 3594 of file mongoose6.cxx.
struct mg_str mg_mk_str | ( | const char * | s | ) |
void mg_mqtt_connack | ( | struct mg_connection * | nc, |
uint8_t | return_code | ||
) |
Definition at line 8566 of file mongoose6.cxx.
void mg_mqtt_disconnect | ( | struct mg_connection * | nc | ) |
int mg_mqtt_next_subscribe_topic | ( | struct mg_mqtt_message * | msg, |
struct mg_str * | topic, | ||
uint8_t * | qos, | ||
int | pos | ||
) |
Definition at line 8535 of file mongoose6.cxx.
void mg_mqtt_ping | ( | struct mg_connection * | nc | ) |
void mg_mqtt_pong | ( | struct mg_connection * | nc | ) |
void mg_mqtt_puback | ( | struct mg_connection * | nc, |
uint16_t | message_id | ||
) |
Definition at line 8585 of file mongoose6.cxx.
void mg_mqtt_pubcomp | ( | struct mg_connection * | nc, |
uint16_t | message_id | ||
) |
void mg_mqtt_publish | ( | struct mg_connection * | nc, |
const char * | topic, | ||
uint16_t | message_id, | ||
int | flags, | ||
const void * | data, | ||
size_t | len | ||
) |
void mg_mqtt_pubrec | ( | struct mg_connection * | nc, |
uint16_t | message_id | ||
) |
void mg_mqtt_pubrel | ( | struct mg_connection * | nc, |
uint16_t | message_id | ||
) |
void mg_mqtt_suback | ( | struct mg_connection * | nc, |
uint8_t * | qoss, | ||
size_t | qoss_len, | ||
uint16_t | message_id | ||
) |
void mg_mqtt_subscribe | ( | struct mg_connection * | nc, |
const struct mg_mqtt_topic_expression * | topics, | ||
size_t | topics_len, | ||
uint16_t | message_id | ||
) |
void mg_mqtt_unsuback | ( | struct mg_connection * | nc, |
uint16_t | message_id | ||
) |
void mg_mqtt_unsubscribe | ( | struct mg_connection * | nc, |
char ** | topics, | ||
size_t | topics_len, | ||
uint16_t | message_id | ||
) |
int mg_ncasecmp | ( | const char * | s1, |
const char * | s2, | ||
size_t | len | ||
) |
struct mg_connection* mg_next | ( | struct mg_mgr * | s, |
struct mg_connection * | conn | ||
) |
Definition at line 2955 of file mongoose6.cxx.
const char * mg_next_comma_list_entry | ( | const char * | list, |
struct mg_str * | val, | ||
struct mg_str * | eq_val | ||
) |
Definition at line 2263 of file mongoose614.cxx.
Definition at line 4042 of file mongoose6.cxx.
int mg_open | ( | const char * | path, |
int | flag, | ||
int | mode | ||
) |
Definition at line 7863 of file mongoose6.cxx.
int mg_parse_dns | ( | const char * | buf, |
int | len, | ||
struct mg_dns_message * | msg | ||
) |
Definition at line 9048 of file mongoose6.cxx.
int mg_parse_http | ( | const char * | s, |
int | n, | ||
struct http_message * | hm, | ||
int | is_req | ||
) |
Definition at line 4402 of file mongoose6.cxx.
size_t mg_parse_multipart | ( | const char * | buf, |
size_t | buf_len, | ||
char * | var_name, | ||
size_t | var_name_len, | ||
char * | file_name, | ||
size_t | file_name_len, | ||
const char ** | chunk, | ||
size_t * | chunk_len | ||
) |
Definition at line 7732 of file mongoose6.cxx.
int mg_parse_uri | ( | struct mg_str | uri, |
struct mg_str * | scheme, | ||
struct mg_str * | user_info, | ||
struct mg_str * | host, | ||
unsigned int * | port, | ||
struct mg_str * | path, | ||
struct mg_str * | query, | ||
struct mg_str * | fragment | ||
) |
Definition at line 3926 of file mongoose6.cxx.
int mg_printf | ( | struct mg_connection * | conn, |
const char * | fmt, | ||
... | |||
) |
Definition at line 1922 of file mongoose4.cxx.
void mg_printf_html_escape | ( | struct mg_connection * | nc, |
const char * | fmt, | ||
... | |||
) |
Definition at line 6057 of file mongoose6.cxx.
void mg_printf_http_chunk | ( | struct mg_connection * | nc, |
const char * | fmt, | ||
... | |||
) |
Definition at line 6037 of file mongoose6.cxx.
void mg_printf_websocket_frame | ( | struct mg_connection * | nc, |
int | op_and_flags, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 4697 of file mongoose6.cxx.
void mg_register_http_endpoint | ( | struct mg_connection * | nc, |
const char * | uri_path, | ||
mg_event_handler_t | handler | ||
) |
Definition at line 7770 of file mongoose6.cxx.
int mg_resolve | ( | const char * | domain_name, |
char * | ip_addr_buf, | ||
size_t | buf_len | ||
) |
Definition at line 2315 of file mongoose6.cxx.
int mg_resolve_async | ( | struct mg_mgr * | mgr, |
const char * | name, | ||
int | query, | ||
mg_resolve_callback_t | cb, | ||
void * | data | ||
) |
int mg_resolve_async_opt | ( | struct mg_mgr * | mgr, |
const char * | name, | ||
int | query, | ||
mg_resolve_callback_t | cb, | ||
void * | data, | ||
struct mg_resolve_async_opts | opts | ||
) |
Definition at line 9454 of file mongoose6.cxx.
int mg_resolve_from_hosts_file | ( | const char * | host, |
union socket_address * | usa | ||
) |
Definition at line 9352 of file mongoose6.cxx.
int mg_rpc_create_error | ( | char * | buf, |
int | len, | ||
struct mg_rpc_request * | req, | ||
int | code, | ||
const char * | message, | ||
const char * | fmt, | ||
... | |||
) |
Definition at line 8219 of file mongoose6.cxx.
int mg_rpc_create_reply | ( | char * | buf, |
int | len, | ||
const struct mg_rpc_request * | req, | ||
const char * | result_fmt, | ||
... | |||
) |
Definition at line 8179 of file mongoose6.cxx.
int mg_rpc_create_request | ( | char * | buf, |
int | len, | ||
const char * | method, | ||
const char * | id, | ||
const char * | params_fmt, | ||
... | |||
) |
int mg_rpc_create_std_error | ( | char * | buf, |
int | len, | ||
struct mg_rpc_request * | req, | ||
int | code | ||
) |
Definition at line 8237 of file mongoose6.cxx.
int mg_rpc_dispatch | ( | const char * | buf, |
int | len, | ||
char * | dst, | ||
int | dst_len, | ||
const char ** | methods, | ||
mg_rpc_handler_t * | handlers | ||
) |
Definition at line 8265 of file mongoose6.cxx.
int mg_rpc_parse_reply | ( | const char * | buf, |
int | len, | ||
struct json_token * | toks, | ||
int | max_toks, | ||
struct mg_rpc_reply * | rep, | ||
struct mg_rpc_error * | er | ||
) |
void mg_send | ( | struct mg_connection * | nc, |
const void * | buf, | ||
int | len | ||
) |
Definition at line 2642 of file mongoose6.cxx.
void mg_send_dns_query | ( | struct mg_connection * | nc, |
const char * | name, | ||
int | query_type | ||
) |
Definition at line 8961 of file mongoose6.cxx.
void mg_send_head | ( | struct mg_connection * | n, |
int | status_code, | ||
int64_t | content_length, | ||
const char * | extra_headers | ||
) |
Definition at line 5626 of file mongoose6.cxx.
void mg_send_http_chunk | ( | struct mg_connection * | nc, |
const char * | buf, | ||
size_t | len | ||
) |
void mg_send_mqtt_handshake | ( | struct mg_connection * | nc, |
const char * | client_id | ||
) |
Definition at line 8438 of file mongoose6.cxx.
void mg_send_mqtt_handshake_opt | ( | struct mg_connection * | nc, |
const char * | client_id, | ||
struct mg_send_mqtt_handshake_opts | opts | ||
) |
void mg_send_response_line | ( | struct mg_connection * | c, |
int | status_code, | ||
const char * | extra_headers | ||
) |
void mg_send_websocket_frame | ( | struct mg_connection * | nc, |
int | op_and_flags, | ||
const void * | data, | ||
size_t | data_len | ||
) |
Definition at line 4661 of file mongoose6.cxx.
void mg_send_websocket_framev | ( | struct mg_connection * | nc, |
int | op_and_flags, | ||
const struct mg_str * | strings, | ||
int | num_strings | ||
) |
void mg_send_websocket_handshake | ( | struct mg_connection * | nc, |
const char * | uri, | ||
const char * | extra_headers | ||
) |
void mg_send_websocket_handshake2 | ( | struct mg_connection * | nc, |
const char * | path, | ||
const char * | host, | ||
const char * | protocol, | ||
const char * | extra_headers | ||
) |
Definition at line 5551 of file mongoose6.cxx.
void mg_serve_http | ( | struct mg_connection * | nc, |
struct http_message * | hm, | ||
struct mg_serve_http_opts | opts | ||
) |
Definition at line 7512 of file mongoose6.cxx.
void mg_set_close_on_exec | ( | sock_t | sock | ) |
Definition at line 7906 of file mongoose6.cxx.
void mg_set_protocol_dns | ( | struct mg_connection * | nc | ) |
Definition at line 9164 of file mongoose6.cxx.
void mg_set_protocol_http_websocket | ( | struct mg_connection * | nc | ) |
Definition at line 5545 of file mongoose6.cxx.
void mg_set_protocol_mqtt | ( | struct mg_connection * | nc | ) |
Definition at line 8434 of file mongoose6.cxx.
const char* mg_set_ssl | ( | struct mg_connection * | nc, |
const char * | cert, | ||
const char * | ca_cert | ||
) |
double mg_set_timer | ( | struct mg_connection * | c, |
double | timestamp | ||
) |
Definition at line 3035 of file mongoose6.cxx.
const char* mg_skip | ( | const char * | s, |
const char * | end_string, | ||
const char * | delimiters, | ||
struct mg_str * | v | ||
) |
void mg_sock_addr_to_str | ( | const union socket_address * | sa, |
char * | buf, | ||
size_t | len, | ||
int | flags | ||
) |
Definition at line 7916 of file mongoose6.cxx.
void mg_sock_set | ( | struct mg_connection * | nc, |
sock_t | sock | ||
) |
Definition at line 3556 of file mongoose6.cxx.
void mg_sock_to_str | ( | sock_t | sock, |
char * | buf, | ||
size_t | len, | ||
int | flags | ||
) |
int mg_socketpair | ( | sock_t | sp[2], |
int | sock_type | ||
) |
Definition at line 3711 of file mongoose6.cxx.
int mg_stat | ( | const char * | path, |
cs_stat_t * | st | ||
) |
double mg_time | ( | void | ) |
int mg_url_decode | ( | const char * | src, |
int | src_len, | ||
char * | dst, | ||
int | dst_len, | ||
int | is_form_url_encoded | ||
) |
Definition at line 2606 of file mongoose4.cxx.
int mg_vcasecmp | ( | const struct mg_str * | str2, |
const char * | str1 | ||
) |
Definition at line 1717 of file mongoose614.cxx.
int mg_vcmp | ( | const struct mg_str * | str2, |
const char * | str1 | ||
) |
Definition at line 1707 of file mongoose614.cxx.
int mg_vprintf | ( | struct mg_connection * | conn, |
const char * | fmt, | ||
va_list | ap | ||
) |
Definition at line 1908 of file mongoose4.cxx.
int parse_json | ( | const char * | json_string, |
int | json_string_length, | ||
struct json_token * | tokens_array, | ||
int | size_of_tokens_array | ||
) |
Definition at line 923 of file mongoose6.cxx.
struct json_token* parse_json2 | ( | const char * | json_string, |
int | string_length | ||
) |
int mg_resolve_async_opts::accept_literal |
Definition at line 3424 of file mongoose6.h.
struct mg_connection * mg_mgr::active_connections |
Definition at line 1231 of file mongoose6.h.
struct mg_dns_resource_record mg_dns_message::answers |
Definition at line 3195 of file mongoose6.h.
const char* mg_serve_http_opts::auth_domain |
Definition at line 2539 of file mongoose6.h.
cs_base64_putc_t cs_base64_ctx::b64_putc |
Definition at line 981 of file mongoose6.h.
uint32_t MD5Context::bits |
Definition at line 932 of file mongoose6.h.
struct mg_str http_message::body |
Definition at line 2076 of file mongoose6.h.
char * mbuf::buf |
Definition at line 834 of file mongoose6.h.
uint32_t MD5Context::buf |
Definition at line 931 of file mongoose6.h.
unsigned char cs_sha1_ctx::buffer |
Definition at line 901 of file mongoose6.h.
const char* mg_serve_http_opts::cgi_file_pattern |
Definition at line 2597 of file mongoose6.h.
const char* mg_serve_http_opts::cgi_interpreter |
Definition at line 2600 of file mongoose6.h.
unsigned char cs_base64_ctx::chunk |
Definition at line 982 of file mongoose6.h.
int cs_base64_ctx::chunk_size |
Definition at line 983 of file mongoose6.h.
int mg_mqtt_message::cmd |
Definition at line 2877 of file mongoose6.h.
uint8_t mg_mqtt_message::connack_ret_code |
Definition at line 2880 of file mongoose6.h.
uint32_t cs_sha1_ctx::count |
Definition at line 900 of file mongoose6.h.
|
extern |
Definition at line 305 of file mongoose6.cxx.
sock_t mg_mgr::ctl[2] |
Definition at line 1234 of file mongoose6.h.
const char* mg_serve_http_opts::custom_mime_types |
Definition at line 2606 of file mongoose6.h.
unsigned char * websocket_message::data |
Definition at line 2099 of file mongoose6.h.
struct mg_str mg_http_multipart_part::data |
Definition at line 2107 of file mongoose6.h.
const char* mg_serve_http_opts::dav_auth_file |
Definition at line 2591 of file mongoose6.h.
const char* mg_serve_http_opts::dav_document_root |
Definition at line 2585 of file mongoose6.h.
struct mg_connection ** mg_resolve_async_opts::dns_conn |
Definition at line 3426 of file mongoose6.h.
const char* mg_serve_http_opts::document_root |
Definition at line 2522 of file mongoose6.h.
const char* mg_serve_http_opts::enable_directory_listing |
Definition at line 2552 of file mongoose6.h.
int mg_connection::err |
Definition at line 1252 of file mongoose6.h.
struct json_token* mg_rpc_error::error_code |
Definition at line 2748 of file mongoose6.h.
struct json_token* mg_rpc_error::error_data |
Definition at line 2750 of file mongoose6.h.
struct json_token* mg_rpc_error::error_message |
Definition at line 2749 of file mongoose6.h.
const char ** mg_add_sock_opts::error_string |
Definition at line 1368 of file mongoose6.h.
const char ** mg_bind_opts::error_string |
Definition at line 1398 of file mongoose6.h.
const char ** mg_connect_opts::error_string |
Definition at line 1438 of file mongoose6.h.
double mg_connection::ev_timer_time |
Definition at line 1260 of file mongoose6.h.
const char* mg_serve_http_opts::extra_headers |
Definition at line 2612 of file mongoose6.h.
mg_event_handler_t mg_connection::f |
Definition at line 1272 of file mongoose6.h.
mg_event_handler_t { ... } ::f |
Definition at line 1272 of file mongoose6.h.
const char * mg_http_multipart_part::file_name |
Definition at line 2106 of file mongoose6.h.
unsigned long mg_connection::flags |
Definition at line 1276 of file mongoose6.h.
unsigned int mg_add_sock_opts::flags |
Definition at line 1367 of file mongoose6.h.
unsigned int mg_bind_opts::flags |
Definition at line 1397 of file mongoose6.h.
unsigned int mg_connect_opts::flags |
Definition at line 1437 of file mongoose6.h.
unsigned char websocket_message::flags |
Definition at line 2101 of file mongoose6.h.
unsigned char mg_send_mqtt_handshake_opts::flags |
Definition at line 2891 of file mongoose6.h.
uint16_t mg_dns_message::flags |
Definition at line 3192 of file mongoose6.h.
const char* mg_serve_http_opts::global_auth_file |
Definition at line 2549 of file mongoose6.h.
mg_event_handler_t mg_connection::handler |
Definition at line 1264 of file mongoose6.h.
struct mg_str http_message::header_names |
Definition at line 2076 of file mongoose6.h.
struct mg_str http_message::header_values |
Definition at line 2076 of file mongoose6.h.
const char* mg_mgr::hexdump_file |
Definition at line 1232 of file mongoose6.h.
const char* mg_serve_http_opts::hidden_file_pattern |
Definition at line 2594 of file mongoose6.h.
struct json_token* mg_rpc_request::id |
Definition at line 2732 of file mongoose6.h.
struct json_token* mg_rpc_reply::id |
Definition at line 2740 of file mongoose6.h.
struct json_token* mg_rpc_error::id |
Definition at line 2747 of file mongoose6.h.
unsigned char MD5Context::in |
Definition at line 933 of file mongoose6.h.
const char* mg_serve_http_opts::index_files |
Definition at line 2525 of file mongoose6.h.
const char* mg_serve_http_opts::ip_acl |
Definition at line 2558 of file mongoose6.h.
uint16_t mg_send_mqtt_handshake_opts::keep_alive |
Definition at line 2892 of file mongoose6.h.
enum mg_dns_resource_record_kind mg_dns_resource_record::kind |
Definition at line 3184 of file mongoose6.h.
time_t mg_connection::last_io_time |
Definition at line 1259 of file mongoose6.h.
size_t mbuf::len |
Definition at line 835 of file mongoose6.h.
int json_token::len |
Definition at line 1073 of file mongoose6.h.
size_t mg_str::len |
Definition at line 1207 of file mongoose6.h.
struct mg_connection * mg_connection::listener |
Definition at line 1248 of file mongoose6.h.
int mg_resolve_async_opts::max_retries |
Definition at line 3422 of file mongoose6.h.
struct mg_str http_message::message |
Definition at line 1438 of file mongoose6.h.
struct json_token* mg_rpc_request::message |
Definition at line 2731 of file mongoose6.h.
struct json_token* mg_rpc_reply::message |
Definition at line 2739 of file mongoose6.h.
struct json_token* mg_rpc_error::message |
Definition at line 2746 of file mongoose6.h.
uint16_t mg_mqtt_message::message_id |
Definition at line 2881 of file mongoose6.h.
struct mg_str http_message::method |
Definition at line 1438 of file mongoose6.h.
struct json_token* mg_rpc_request::method |
Definition at line 2733 of file mongoose6.h.
struct mg_mgr * mg_connection::mgr |
Definition at line 1249 of file mongoose6.h.
void* mg_mgr::mgr_data |
Definition at line 1237 of file mongoose6.h.
void * mg_connection::mgr_data |
Definition at line 1275 of file mongoose6.h.
struct mg_str mg_dns_resource_record::name |
Definition at line 2896 of file mongoose6.h.
const char* mg_resolve_async_opts::nameserver_url |
Definition at line 3421 of file mongoose6.h.
struct mg_connection * mg_connection::next |
Definition at line 1247 of file mongoose6.h.
int mg_dns_message::num_answers |
Definition at line 3195 of file mongoose6.h.
int json_token::num_desc |
Definition at line 1074 of file mongoose6.h.
int mg_dns_message::num_questions |
Definition at line 3194 of file mongoose6.h.
int mg_resolve_async_opts::only_literal |
Definition at line 3425 of file mongoose6.h.
const char * mg_str::p |
Definition at line 1206 of file mongoose6.h.
struct json_token* mg_rpc_request::params |
Definition at line 2734 of file mongoose6.h.
const char * mg_send_mqtt_handshake_opts::password |
Definition at line 2896 of file mongoose6.h.
struct mg_str mg_mqtt_message::payload |
Definition at line 2877 of file mongoose6.h.
const char* mg_serve_http_opts::per_directory_auth_file |
Definition at line 2536 of file mongoose6.h.
struct mg_str mg_dns_message::pkt |
Definition at line 3184 of file mongoose6.h.
struct mg_connection * mg_connection::prev |
Definition at line 1247 of file mongoose6.h.
union { ... } mg_connection::priv_1 |
void * mg_connection::priv_2 |
Definition at line 1274 of file mongoose6.h.
struct mg_str http_message::proto |
Definition at line 1438 of file mongoose6.h.
void * mg_connection::proto_data |
Definition at line 1262 of file mongoose6.h.
void(* mg_connection::proto_data_destructor)(void *proto_data) |
Definition at line 1263 of file mongoose6.h.
mg_event_handler_t mg_connection::proto_handler |
Definition at line 1261 of file mongoose6.h.
const char* json_token::ptr |
Definition at line 1072 of file mongoose6.h.
int mg_mqtt_message::qos |
Definition at line 2879 of file mongoose6.h.
uint8_t mg_mqtt_topic_expression::qos |
Definition at line 2887 of file mongoose6.h.
struct mg_str http_message::query_string |
Definition at line 2076 of file mongoose6.h.
struct mg_dns_resource_record mg_dns_message::questions |
Definition at line 3195 of file mongoose6.h.
int mg_dns_resource_record::rclass |
Definition at line 3183 of file mongoose6.h.
struct mg_str mg_dns_resource_record::rdata |
Definition at line 3184 of file mongoose6.h.
struct mbuf mg_connection::recv_mbuf |
Definition at line 1254 of file mongoose6.h.
size_t mg_connection::recv_mbuf_limit |
Definition at line 1254 of file mongoose6.h.
int http_message::resp_code |
Definition at line 2076 of file mongoose6.h.
struct mg_str http_message::resp_status_msg |
Definition at line 2076 of file mongoose6.h.
struct json_token* mg_rpc_reply::result |
Definition at line 2741 of file mongoose6.h.
int mg_dns_resource_record::rtype |
Definition at line 3182 of file mongoose6.h.
struct sockaddr socket_address::sa |
Definition at line 1074 of file mongoose6.h.
union socket_address mg_connection::sa |
Definition at line 1252 of file mongoose6.h.
struct mbuf mg_connection::send_mbuf |
Definition at line 1254 of file mongoose6.h.
struct sockaddr_in socket_address::sin |
Definition at line 1074 of file mongoose6.h.
struct sockaddr socket_address::sin6 |
Definition at line 1074 of file mongoose6.h.
size_t mbuf::size |
Definition at line 836 of file mongoose6.h.
size_t websocket_message::size |
Definition at line 2100 of file mongoose6.h.
sock_t mg_connection::sock |
Definition at line 1251 of file mongoose6.h.
const char* mg_serve_http_opts::ssi_pattern |
Definition at line 2555 of file mongoose6.h.
SSL * mg_connection::ssl |
Definition at line 1257 of file mongoose6.h.
SSL_CTX* mg_connection::ssl_ctx |
Definition at line 1258 of file mongoose6.h.
uint32_t cs_sha1_ctx::state |
Definition at line 899 of file mongoose6.h.
int mg_http_multipart_part::status |
Definition at line 2109 of file mongoose6.h.
int mg_resolve_async_opts::timeout |
Definition at line 3423 of file mongoose6.h.
struct mg_str mg_mqtt_message::topic |
Definition at line 2882 of file mongoose6.h.
const char * mg_mqtt_topic_expression::topic |
Definition at line 2886 of file mongoose6.h.
uint16_t mg_dns_message::transaction_id |
Definition at line 3193 of file mongoose6.h.
int mg_dns_resource_record::ttl |
Definition at line 3184 of file mongoose6.h.
enum json_type json_token::type |
Definition at line 1074 of file mongoose6.h.
struct mg_str http_message::uri |
Definition at line 1438 of file mongoose6.h.
const char* mg_serve_http_opts::url_rewrites |
Definition at line 2582 of file mongoose6.h.
void * cs_base64_ctx::user_data |
Definition at line 984 of file mongoose6.h.
void * mg_mgr::user_data |
Definition at line 1236 of file mongoose6.h.
void * mg_connection::user_data |
Definition at line 1265 of file mongoose6.h.
void * mg_add_sock_opts::user_data |
Definition at line 1366 of file mongoose6.h.
void * mg_bind_opts::user_data |
Definition at line 1396 of file mongoose6.h.
void * mg_connect_opts::user_data |
Definition at line 1436 of file mongoose6.h.
void * mg_http_multipart_part::user_data |
Definition at line 2110 of file mongoose6.h.
const char * mg_send_mqtt_handshake_opts::user_name |
Definition at line 2895 of file mongoose6.h.
void* { ... } ::v |
Definition at line 1267 of file mongoose6.h.
void* mg_connection::v |
Definition at line 1267 of file mongoose6.h.
const char * mg_http_multipart_part::var_name |
Definition at line 2107 of file mongoose6.h.
const char * mg_send_mqtt_handshake_opts::will_message |
Definition at line 2894 of file mongoose6.h.
const char * mg_send_mqtt_handshake_opts::will_topic |
Definition at line 2893 of file mongoose6.h.