| 
									
										
										
										
											2023-07-21 14:53:57 +07:00
										 |  |  | #include <stdarg.h>
 | 
					
						
							|  |  |  | #include <stdbool.h>
 | 
					
						
							|  |  |  | #include <stdint.h>
 | 
					
						
							|  |  |  | #include <stdlib.h>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-05 21:54:42 +08:00
										 |  |  | int64_t init_sdk(int64_t port, char *data); | 
					
						
							| 
									
										
										
										
											2023-07-21 14:53:57 +07:00
										 |  |  | 
 | 
					
						
							|  |  |  | void async_event(int64_t port, const uint8_t *input, uintptr_t len); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | const uint8_t *sync_event(const uint8_t *input, uintptr_t len); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | int32_t set_stream_port(int64_t port); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-04-11 16:33:28 +08:00
										 |  |  | int32_t set_log_stream_port(int64_t port); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-07-21 14:53:57 +07:00
										 |  |  | void link_me_please(void); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-26 15:27:12 +08:00
										 |  |  | void rust_log(int64_t level, const char *data); | 
					
						
							| 
									
										
										
										
											2023-07-21 14:53:57 +07:00
										 |  |  | 
 | 
					
						
							|  |  |  | void set_env(const char *data); |