MeterLogger
Macros | Typedefs
platform.h File Reference
This graph shows which files directly or indirectly include this file:

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 espconnConnTypePtr
 

Macro Definition Documentation

◆ free

#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().

◆ httpd_printf

#define httpd_printf (   format,
  ... 
)    os_printf(format, ##__VA_ARGS__)

Definition at line 28 of file platform.h.

◆ malloc

#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().

◆ memcmp

#define memcmp (   a,
  b,
 
)    os_memcmp(a, b, c)

Definition at line 26 of file platform.h.

Referenced by decrypt_aes_hmac_combined().

◆ memcpy

#define memcpy (   x,
  a,
 
)    os_memcpy(x, a, b)

◆ memset

#define memset (   x,
  a,
 
)    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().

◆ printf

#define printf (   ...)    os_printf(__VA_ARGS__)

◆ sprintf

#define sprintf (   str,
  ... 
)    os_sprintf(str, __VA_ARGS__)

Definition at line 14 of file platform.h.

◆ strcat

#define strcat (   a,
 
)    os_strcat(a, b)

◆ strcmp

#define strcmp (   a,
 
)    os_strcmp(a, b)

Definition at line 17 of file platform.h.

Referenced by handle_open(), and main().

◆ strcpy

#define strcpy (   a,
 
)    os_strcpy(a, b)

◆ strlen

#define strlen (   a)    os_strlen(a)

◆ strncmp

#define strncmp (   a,
  b,
 
)    os_strncmp(a, b, c)

◆ strncpy

#define strncpy (   a,
  b,
 
)    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().

◆ strstr

#define strstr (   a,
 
)    os_strstr(a, b)

Definition at line 24 of file platform.h.

Referenced by cleanup_decimal_str(), and parse_en61107_frame().

Typedef Documentation

◆ ConnTypePtr

typedef struct espconn* ConnTypePtr

Definition at line 27 of file platform.h.