mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-06 16:40:32 +00:00
feat: move native communication to FFI (#1457)
This commit is contained in:
86 files changed
+4558
-886
No files matched your search
@@ -82,6 +82,13 @@ struct Start_return {
|
||||
};
|
||||
extern struct Start_return Start(char* cfg);
|
||||
extern void Stop();
|
||||
extern char* GetAPIServerState();
|
||||
extern char* StartAPIServer();
|
||||
extern char* StopAPIServer();
|
||||
extern char* RestartAPIServer();
|
||||
extern char* Invoke(char* method, char* path, char* query, char* body);
|
||||
extern void SubscribeTaskEvents(GoUint64 mask, GoUintptr callback);
|
||||
extern void FreeCString(char* value);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user