mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 18:15:09 +00:00 
			
		
		
		
	 056e2d49d0
			
		
	
	
		056e2d49d0
		
			
		
	
	
	
	
		
			
			* chore: env config * chore: get user workspace * feat: enable postgres storage * chore: add new env * chore: add set env ffi * chore: pass env before backend init * chore: update * fix: ci tests * chore: commit the generate env file * chore: remove unused import
		
			
				
	
	
		
			20 lines
		
	
	
		
			405 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			405 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include <stdarg.h>
 | |
| #include <stdbool.h>
 | |
| #include <stdint.h>
 | |
| #include <stdlib.h>
 | |
| 
 | |
| 
 | |
| int64_t init_sdk(char *path);
 | |
| 
 | |
| void async_command(int64_t port, const uint8_t *input, uintptr_t len);
 | |
| 
 | |
| const uint8_t *sync_command(const uint8_t *input, uintptr_t len);
 | |
| 
 | |
| int32_t set_stream_port(int64_t port);
 | |
| 
 | |
| void link_me_please(void);
 | |
| 
 | |
| void backend_log(int64_t level, const char *data);
 | |
| 
 | |
| void set_env(const char *data);
 |