mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
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
19 lines
400 B
C
19 lines
400 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);
|
|
|
|
void set_env(const char *data);
|