Logo Search packages:      
Sourcecode: cbmconvert version File versions  Download package

static bool isGeosDirEnt ( const struct DirEnt *  dirent  )  [static]

Determine whether a directory entry represents a GEOS file

Parameters:
dirent the directory entry
Returns:
true if it is a GEOS directory entry

Definition at line 1363 of file image.c.

References DEL, and REL.

Referenced by deleteDirEnt(), ReadImage(), and WriteImage().

{
  enum Filetype type = dirent->type & 0x8F;

  return type >= DEL && type < REL && dirent->geos.type != 0 &&
    (dirent->isVLIR == 0 || dirent->isVLIR == 1);
}


Generated by  Doxygen 1.6.0   Back to index