libstorage C API
Excerpt of the C API as of node v0.4.0 (in the real site this page is a
mirror of library/README.md at the pinned revision).
// Create a new node instance from a JSON config string.
const char* storage_new(const char* config_json);
// Start the node. Returns NULL on success, an error string otherwise.
const char* storage_start(void* ctx);
// Stop the node.
const char* storage_stop(void* ctx);
Functions available in this release: storage_new, storage_start,
storage_stop.