MCPcopy Create free account
hub / github.com/MemNixFS/MemNixFS / lmpfs_plugin_init

Function lmpfs_plugin_init

tests/c_api/sample_plugin.cpp:57–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55extern "C"
56#endif
57int lmpfs_plugin_init(lmpfs_handle_t eng) {
58 int r1 = lmpfs_plugin_add_file(eng, "hello.txt", hello_producer);
59 int r2 = lmpfs_plugin_add_file(eng, "pid_count.txt", pid_count_producer);
60 return (r1 == 0 && r2 == 0) ? 0 : -1;
61}

Callers

nothing calls this directly

Calls 1

lmpfs_plugin_add_fileFunction · 0.85

Tested by

no test coverage detected