MeterLogger
|
Go to the source code of this file.
Macros | |
#define | printf(...) os_printf(__VA_ARGS__) |
#define | sprintf(str, ...) os_sprintf(str, __VA_ARGS__) |
#define | strcpy(a, b) os_strcpy(a, b) |
#define | strncpy(a, b, c) os_strncpy(a, b, c) |
#define | strcmp(a, b) os_strcmp(a, b) |
#define | strncmp(a, b, c) os_strncmp(a, b, c) |
#define | malloc(x) os_malloc(x) |
#define | free(x) os_free(x) |
#define | memset(x, a, b) os_memset(x, a, b) |
#define | memcpy(x, a, b) os_memcpy(x, a, b) |
#define | strcat(a, b) os_strcat(a, b) |
#define | strstr(a, b) os_strstr(a, b) |
#define | strlen(a) os_strlen(a) |
#define | memcmp(a, b, c) os_memcmp(a, b, c) |
#define | httpd_printf(format, ...) os_printf(format, ##__VA_ARGS__) |
Typedefs | |
typedef struct espconn * | ConnTypePtr |
#define free | ( | x | ) | os_free(x) |
Definition at line 20 of file platform.h.
Referenced by close_and_report(), compress_and_expand_and_check(), handle_open(), and httpdStop().
#define httpd_printf | ( | format, | |
... | |||
) | os_printf(format, ##__VA_ARGS__) |
Definition at line 28 of file platform.h.
#define malloc | ( | x | ) | os_malloc(x) |
Definition at line 19 of file platform.h.
Referenced by compress_and_expand_and_check(), handle_open(), and httpdInit().
#define memcmp | ( | a, | |
b, | |||
c | |||
) | os_memcmp(a, b, c) |
Definition at line 26 of file platform.h.
Referenced by decrypt_aes_hmac_combined().
#define memcpy | ( | x, | |
a, | |||
b | |||
) | os_memcpy(x, a, b) |
Definition at line 22 of file platform.h.
Referenced by append_string(), captdnsRecv(), cfg_load(), cleanup_decimal_str(), en61107_response_set_unit(), en61107_response_set_value(), handle_sink(), heatshrink_decoder_sink(), heatshrink_encoder_sink(), hmac_sha256_init(), init_aes_hmac_combined(), ip_router(), kmp_byte_stuff(), kmp_byte_unstuff(), mqtt_msg_connect(), mqtt_msg_publish(), parse_en61107_frame(), parse_mc66cde_standard_data_2_frame(), sha256_final(), sha256_init(), and sha256_update().
#define memset | ( | x, | |
a, | |||
b | |||
) | os_memset(x, a, b) |
Definition at line 21 of file platform.h.
Referenced by add_cron_job_from_query(), BlockCopy(), captdnsRecv(), cfg_load(), clear_cron_jobs(), compress_and_expand_and_check(), decoder_finish_should_note_when_done(), decoder_poll_should_expand_short_literal_and_backref(), decoder_poll_should_expand_short_literal_and_backref_when_fed_input_byte_by_byte(), decoder_poll_should_suspend_if_out_of_space_in_output_buffer_during_backref_expansion(), decoder_should_not_get_stuck_with_finish_yielding_MORE_but_0_bytes_output_from_poll(), decoder_sink_read(), do_indexing(), en61107_received_task(), en61107_request_init(), en61107_request_send(), en61107_response_set_unit(), en61107_response_set_value(), encoder_poll_should_detect_repeated_substring(), encoder_poll_should_detect_repeated_substring_and_preserve_trailing_literal(), encoder_should_emit_data_without_repetitions_as_literal_sequence(), encoder_should_emit_series_of_same_byte_as_literal_then_backref(), encoder_sink_read(), encoder_sink_should_accept_input_when_it_will_fit(), encoder_sink_should_accept_partial_input_when_some_will_fit(), encrypt_aes_hmac_combined(), gen(), handle_open(), heatshrink_decoder_reset(), heatshrink_encoder_reset(), hmac_sha256_final(), hmac_sha256_init(), init_aes_hmac_combined(), init_watchdog(), kmp_byte_stuff(), kmp_decode_frame(), kmp_get_register(), kmp_get_serial(), kmp_get_type(), kmp_received_task(), kmp_request_send(), main(), mqtt_msg_init(), parse_en61107_frame(), parse_mc66cde_standard_data_2_frame(), sha256_end(), sha256_final(), sha256_init(), and wifi_softap_config().
#define printf | ( | ... | ) | os_printf(__VA_ARGS__) |
Definition at line 13 of file platform.h.
Referenced by compress_and_expand_and_check(), decode(), dump_buf(), encode(), gen(), handle_read(), init_aes_hmac_combined(), main(), memp_free(), pseudorandom_data_should_match(), and SUITE().
#define sprintf | ( | str, | |
... | |||
) | os_sprintf(str, __VA_ARGS__) |
Definition at line 14 of file platform.h.
#define strcat | ( | a, | |
b | |||
) | os_strcat(a, b) |
Definition at line 23 of file platform.h.
Referenced by cleanup_decimal_str(), en61107_received_task(), kmp_received_task(), and kmp_value_to_string().
#define strcmp | ( | a, | |
b | |||
) | os_strcmp(a, b) |
Definition at line 17 of file platform.h.
Referenced by handle_open(), and main().
#define strcpy | ( | a, | |
b | |||
) | os_strcpy(a, b) |
Definition at line 15 of file platform.h.
Referenced by en61107_uart_send_en61107(), en61107_uart_send_en61107_ident(), en61107_uart_send_inst_values(), en61107_uart_send_standard_data_1(), en61107_uart_send_standard_data_2(), kmp_unit_to_string(), and kmp_value_to_string().
#define strlen | ( | a | ) | os_strlen(a) |
Definition at line 25 of file platform.h.
Referenced by authBasic(), cgiWiFiScan(), decrypt_aes_hmac_combined(), en61107_received_task(), en61107_request_send(), en61107_uart_send_en61107(), en61107_uart_send_en61107_ident(), en61107_uart_send_inst_values(), en61107_uart_send_standard_data_1(), en61107_uart_send_standard_data_2(), httpdFindArg(), httpdGetHeader(), httpdGetMimetype(), httpdHeader(), httpdRedirect(), httpdSend(), httpdStartResponse(), kmp_received_task(), kmp_request_send(), kw_to_w_str(), mqtt_msg_connect(), mqtt_msg_publish(), mqtt_msg_subscribe(), mqtt_msg_unsubscribe(), parse_en61107_frame(), and parse_mc66cde_standard_data_1_frame().
#define strncmp | ( | a, | |
b, | |||
c | |||
) | os_strncmp(a, b, c) |
Definition at line 18 of file platform.h.
Referenced by add_cron_job_from_query(), authBasic(), en61107_get_received_energy_kwh(), en61107_response_set_unit(), en61107_response_set_value(), kmp_get_received_energy_kwh(), minute_timer_func(), and parse_en61107_frame().
#define strncpy | ( | a, | |
b, | |||
c | |||
) | os_strncpy(a, b, c) |
Definition at line 16 of file platform.h.
Referenced by add_cron_job_from_query(), cleanup_decimal_str(), and wifiScanDoneCb().
#define strstr | ( | a, | |
b | |||
) | os_strstr(a, b) |
Definition at line 24 of file platform.h.
Referenced by cleanup_decimal_str(), and parse_en61107_frame().
typedef struct espconn* ConnTypePtr |
Definition at line 27 of file platform.h.