MeterLogger
Macros | Functions
osapi.h File Reference
#include <string.h>
#include "user_config.h"
Include dependency graph for osapi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define os_bzero   ets_bzero
 
#define os_delay_us   ets_delay_us
 
#define os_install_putc1   ets_install_putc1
 
#define os_memcmp   ets_memcmp
 
#define os_memcpy   ets_memcpy
 
#define os_memmove   ets_memmove
 
#define os_memset   ets_memset
 
#define os_strcat   strcat
 
#define os_strchr   strchr
 
#define os_strcmp   ets_strcmp
 
#define os_strcpy   ets_strcpy
 
#define os_strlen   ets_strlen
 
#define os_strncmp   ets_strncmp
 
#define os_strncpy   ets_strncpy
 
#define os_strstr   ets_strstr
 
#define os_timer_arm(a, b, c)   ets_timer_arm_new(a, b, c, 1)
 
#define os_timer_disarm   ets_timer_disarm
 
#define os_timer_setfn   ets_timer_setfn
 
#define os_sprintf   ets_sprintf
 
#define os_printf   os_printf_plus
 

Functions

unsigned long os_random (void)
 
int os_get_random (unsigned char *buf, size_t len)
 

Macro Definition Documentation

◆ os_bzero

#define os_bzero   ets_bzero

◆ os_delay_us

#define os_delay_us   ets_delay_us

Definition at line 32 of file osapi.h.

◆ os_install_putc1

#define os_install_putc1   ets_install_putc1

Definition at line 33 of file osapi.h.

Referenced by uart_init().

◆ os_memcmp

#define os_memcmp   ets_memcmp

Definition at line 35 of file osapi.h.

Referenced by parse_msg(), and parse_options().

◆ os_memcpy

#define os_memcpy   ets_memcpy

◆ os_memmove

#define os_memmove   ets_memmove

Definition at line 37 of file osapi.h.

◆ os_memset

#define os_memset   ets_memset

◆ os_printf

#define os_printf   os_printf_plus

◆ os_sprintf

#define os_sprintf   ets_sprintf

Definition at line 54 of file osapi.h.

Referenced by en61107_request_send(), and wifi_handle_event_cb().

◆ os_strcat

#define os_strcat   strcat

Definition at line 39 of file osapi.h.

◆ os_strchr

#define os_strchr   strchr

Definition at line 40 of file osapi.h.

◆ os_strcmp

#define os_strcmp   ets_strcmp

Definition at line 41 of file osapi.h.

Referenced by authBasic(), espFsOpen(), httpdGetMimetype(), httpdSendResp(), and tplSetup().

◆ os_strcpy

#define os_strcpy   ets_strcpy

Definition at line 42 of file osapi.h.

Referenced by MQTT_InitClient(), MQTT_InitConnection(), MQTT_InitLWT(), myPassFn(), and tplSetup().

◆ os_strlen

#define os_strlen   ets_strlen

◆ os_strncmp

#define os_strncmp   ets_strncmp

◆ os_strncpy

#define os_strncpy   ets_strncpy

Definition at line 45 of file osapi.h.

Referenced by cgiSetup(), en61107_received_task(), en61107_request_send(), and kmp_received_task().

◆ os_strstr

#define os_strstr   ets_strstr

Definition at line 46 of file osapi.h.

Referenced by httpdFindArg(), httpdParseHeader(), and httpdRecvCb().

◆ os_timer_arm

#define os_timer_arm (   a,
  b,
 
)    ets_timer_arm_new(a, b, c, 1)

◆ os_timer_disarm

#define os_timer_disarm   ets_timer_disarm

◆ os_timer_setfn

#define os_timer_setfn   ets_timer_setfn

Function Documentation

◆ os_get_random()

int os_get_random ( unsigned char *  buf,
size_t  len 
)

Referenced by encrypt_aes_hmac_combined().

Here is the caller graph for this function:

◆ os_random()

unsigned long os_random ( void  )

Referenced by espconn_port(), and ip_router().

Here is the caller graph for this function: