Documentation ¶
Overview ¶
Package librclone exports shims for C library use
This directory contains code to build rclone as a C library and the shims for accessing rclone from C.
The shims are a thin wrapper over the rclone RPC.
Build a shared library like this:
go build --buildmode=c-shared -o librclone.so github.com/artpar/rclone/librclone
Build a static library like this:
go build --buildmode=c-archive -o librclone.a github.com/artpar/rclone/librclone
Both the above commands will also generate `librclone.h` which should be `#include`d in `C` programs wishing to use the library.
The library will depend on `libdl` and `libpthread`.
Directories ¶
Path | Synopsis |
---|---|
Package gomobile exports shims for gomobile use
|
Package gomobile exports shims for gomobile use |
Package librclone exports shims for library use This is the internal implementation which is used for C and Gomobile libaries which need slightly different export styles.
|
Package librclone exports shims for library use This is the internal implementation which is used for C and Gomobile libaries which need slightly different export styles. |
Click to show internal directories.
Click to hide internal directories.