mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-19 16:16:48 +00:00
25 lines
344 B
C++
25 lines
344 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
struct node_t
|
|
{
|
|
node_t *name_next;
|
|
node_t *id_next;
|
|
char *name;
|
|
node_t *parent;
|
|
|
|
uint64_t nodeid;
|
|
uint64_t nlookup;
|
|
|
|
uint32_t refctr;
|
|
uint32_t open_count;
|
|
uint32_t stat_crc32b;
|
|
int32_t treelock;
|
|
};
|
|
|
|
node_t *node_alloc();
|
|
void node_free(node_t*);
|
|
void node_gc();
|
|
void node_clear();
|