AppFlowy/frontend/rust-lib/dart-ffi/binding.h

17 lines
367 B
C
Raw Normal View History

#include <stdarg.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
int64_t init_sdk(char *path);
2021-12-04 02:27:08 +00:00
void async_event(int64_t port, const uint8_t *input, uintptr_t len);
2021-12-04 02:27:08 +00:00
const uint8_t *sync_event(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);