Start to work on networking
This commit is contained in:
		
							
								
								
									
										22
									
								
								esp32_device/main/unsecure_api.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								esp32_device/main/unsecure_api.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
/**
 | 
			
		||||
 * 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();
 | 
			
		||||
 | 
			
		||||
#ifdef __cplusplus
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
		Reference in New Issue
	
	Block a user