mergerfs/libfuse/include/linux_dirent64.h

17 lines
268 B
C
Raw Normal View History

#pragma once
#include <stdint.h>
2023-10-21 18:03:05 -05:00
#include <string.h>
2023-10-21 18:03:05 -05:00
#define DIRENT_NAMELEN(X) (strlen((X)->name))
2023-09-24 17:55:09 -05: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[];
};