MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / cdb2_snapshot_file

Function cdb2_snapshot_file

cdb2api/cdb2api.c:5172–5184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5170}
5171
5172int cdb2_snapshot_file(cdb2_hndl_tp *hndl, int *snapshot_file,
5173 int *snapshot_offset)
5174{
5175 if (hndl == NULL) {
5176 (*snapshot_file) = -1;
5177 (*snapshot_offset) = -1;
5178 return -1;
5179 }
5180
5181 (*snapshot_file) = hndl->snapshot_file;
5182 (*snapshot_offset) = hndl->snapshot_offset;
5183 return 0;
5184}
5185
5186void cdb2_getinfo(cdb2_hndl_tp *hndl, int *intrans, int *hasql)
5187{

Callers 1

tdprintfFunction · 0.85

Calls

no outgoing calls

Tested by 1

tdprintfFunction · 0.68