mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
781f0ab88b
* feat: draft commit for getting guidance on send log to backend issue * feat: modify according to guidance * feat: add tracing dependencies * feat: continue implement for sending log to backend * fix: compile errors * feat: remove un-necessary code --------- Co-authored-by: nathan <nathan@appflowy.io>
17 lines
367 B
C
17 lines
367 B
C
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
|
|
int64_t init_sdk(char *path);
|
|
|
|
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);
|
|
|
|
void link_me_please(void);
|
|
|
|
void backend_log(int64_t level, const char *data);
|