SolarEnergy/esp32_device/main/unsecure_api.h

31 lines
502 B
C
Raw Permalink Normal View History

2024-08-17 11:49:55 +00:00
/**
* Unsecure API functions
*/
#pragma once
#ifdef __cplusplus
extern "C"
{
#endif
/**
* Get secure origin
*
* @returns The URL to the secure origin or NULL in case of failure. Value must be
* released by caller.
*/
char *unsecure_api_get_secure_origin();
2024-08-18 17:42:40 +00:00
/**
* Get root CA
*
* @returns The root CA or NULL in case of failure. Value must be
* released by caller.
*/
char *unsecure_api_get_root_ca();
2024-08-17 11:49:55 +00:00
#ifdef __cplusplus
}
#endif