#ifndef DK4UFIT_H_INCLUDED /** Protection against multiple inclusion. */ #define DK4UFIT_H_INCLUDED 1 /** @file dk4ufit.h Data type for unique file identifiers. */ #ifndef DK4CONF_H_INCLUDED #include "dk4conf.h" #endif #ifndef DK4TYPES_H_INCLUDED #include "dk4types.h" #endif #if !DK4_ON_WINDOWS #ifndef DK4STATT_H_INCLUDED #include "dk4statt.h" #endif #endif /** Unique file identification. */ typedef struct { #if DK4_ON_WINDOWS unsigned long ser; /**< Volume serial number (originally DWORD). */ unsigned long inh; /**< Higher index part (originally DWORD). */ unsigned long inl; /**< Lower index part (originally DWORD). */ #else dk4_um_t dev; /**< Device number (originally dev_t). */ dk4_um_t ino; /**< Inode number (originally ino_t). */ #endif } dk4_ufi_t; #endif