#ifndef __GETGEN_H__ #define __GETGEN_H__ #include #include #define GGIOC ('g' << 8) #define GG_IOC_GET_GENERATION (GGIOC | 1) #pragma pack(1) typedef struct gg_ioc_get_generation { /* input */ uint64_t inode; uint32_t fd; /* open fd to any object on the same fs */ /* noput */ uint32_t padding; /* output */ uint64_t generation; uint64_t crtime; uint64_t guid; char dataset[MAXPATHLEN]; } gg_ioctl_get_generation_t; #pragma pack() #endif