| 77 | } |
| 78 | |
| 79 | void 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 | |
| 90 | void fdb_file_handle_close_all(fdb_file_handle *fhandle) |
| 91 | { |
no outgoing calls
no test coverage detected