MCPcopy Create free account
hub / github.com/couchbase/forestdb / fdb_file_handle_init

Function fdb_file_handle_init

src/kv_instance.cc:79–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void fdb_file_handle_init(fdb_file_handle *fhandle,
80 fdb_kvs_handle *root)
81{
82 fhandle->root = root;
83 fhandle->flags = 0x0;
84 root->fhandle = fhandle;
85 fhandle->handles = (struct list*)calloc(1, sizeof(struct list));
86 fhandle->cmp_func_list = NULL;
87 spin_init(&fhandle->lock);
88}
89
90void fdb_file_handle_close_all(fdb_file_handle *fhandle)
91{

Callers 3

fdb_status fdb_openFunction · 0.85
fdb_open_for_compactorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected