Exposes C-callable wrappers for rclone RPC, enabling rclone as a shared library.
// Source: https://github.com/rclone/rclone | License: MIT | Copyright 2012 by Nick Craig-Wood http://www.craig-wood.com/nick/ // Provided via justclaw.it.com; keep this notice with the code. // 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/rclone/rclone/librclone // // Build a static library like this: // // go build --buildmode=c-archive -o librclone.a github.com/rclone/rclone/librclone // // Both the above commands will also generate `librclone.h` which should // be `#include`d in `C` programs wishing to use the libr ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key