-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy pathbridge.h
More file actions
47 lines (36 loc) · 1.54 KB
/
Copy pathbridge.h
File metadata and controls
47 lines (36 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// Bridge accessor declarations for the Go-exported callback symbols.
// Implementation lives in bridge.c; consumers include this header in their
// cgo preamble to call C.cbXxx() from Go.
#ifndef BOXLITE_GO_BRIDGE_H
#define BOXLITE_GO_BRIDGE_H
#include "boxlite.h"
extern CBoxStdoutCb cbStdout(void);
extern CBoxStderrCb cbStderr(void);
extern CBoxExitCb cbExit(void);
extern CBoxCreateBoxCb cbCreateBox(void);
extern CBoxExportCb cbBoxExport(void);
extern CRuntimeImportCb cbRuntimeImport(void);
extern CBoxGetOrCreateBoxCb cbGetOrCreateBox(void);
extern CBoxGetBoxCb cbGetBox(void);
extern CBoxStartBoxCb cbStartBox(void);
extern CBoxStopBoxCb cbStopBox(void);
extern CBoxRemoveBoxCb cbRemoveBox(void);
extern CBoxCopyCb cbCopy(void);
extern CBoxImagePullCb cbImagePull(void);
extern CBoxImageListCb cbImageList(void);
extern CBoxVolumeCreateCb cbVolumeCreate(void);
extern CBoxVolumeListCb cbVolumeList(void);
extern CBoxVolumeGetCb cbVolumeGet(void);
extern CBoxVolumeRemoveCb cbVolumeRemove(void);
extern CBoxInfoCb cbInfo(void);
extern CBoxInfoListCb cbInfoList(void);
extern CBoxMetricsCb cbBoxMetrics(void);
extern CRuntimeMetricsCb cbRuntimeMetrics(void);
extern CRuntimeShutdownCb cbRuntimeShutdown(void);
extern CExecutionWaitCb cbExecutionWait(void);
extern CExecutionKillCb cbExecutionKill(void);
extern CExecutionSignalCb cbExecutionSignal(void);
extern CExecutionResizeCb cbExecutionResize(void);
extern CTunnelForwarderWaitCb cbTunnelForwarderWait(void);
extern CTunnelForwarderCloseCb cbTunnelForwarderClose(void);
#endif // BOXLITE_GO_BRIDGE_H