2021-11-19 03:13:07 +00:00
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2024-02-03 21:50:23 +00:00
|
|
|
int64_t init_sdk(int64_t port, char *data);
|
2021-11-19 03:13:07 +00:00
|
|
|
|
2021-12-04 02:27:08 +00:00
|
|
|
void async_event(int64_t port, const uint8_t *input, uintptr_t len);
|
2021-11-19 03:13:07 +00:00
|
|
|
|
2021-12-04 02:27:08 +00:00
|
|
|
const uint8_t *sync_event(const uint8_t *input, uintptr_t len);
|
2021-11-19 03:13:07 +00:00
|
|
|
|
|
|
|
int32_t set_stream_port(int64_t port);
|
|
|
|
|
2024-04-07 13:36:55 +00:00
|
|
|
int32_t set_log_stream_port(int64_t port);
|
|
|
|
|
2023-02-07 14:09:43 +00:00
|
|
|
void link_me_please(void);
|
|
|
|
|
2024-02-26 07:27:12 +00:00
|
|
|
void rust_log(int64_t level, const char *data);
|
2023-05-23 15:55:21 +00:00
|
|
|
|
|
|
|
void set_env(const char *data);
|