mergerfs/libfuse/include/linux_dirent64.h

17 lines
268 B
C
Raw Normal View History

#pragma once
#include <stdint.h>
2023-10-22 07:03:05 +08:00
#include <string.h>
2023-10-22 07:03:05 +08:00
#define DIRENT_NAMELEN(X) (strlen((X)->name))
2023-09-25 06:55:09 +08:00
typedef struct linux_dirent64_t linux_dirent64_t;
struct linux_dirent64_t
{
uint64_t ino;
int64_t off;
uint16_t reclen;
uint8_t type;
char name[];
};