mirror of
https://github.com/vivier/EMILE.git
synced 2024-11-14 22:04:43 +00:00
15 lines
276 B
C
15 lines
276 B
C
/*
|
|
*
|
|
* (c) 2005 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
*
|
|
*/
|
|
|
|
#include "libiso9660.h"
|
|
|
|
int iso9660_is_directory(struct iso_directory_record * idr)
|
|
{
|
|
return ((idr->flags[0] & 2) != 0 &&
|
|
(idr->name_len[0] != 1 ||
|
|
(idr->name[0] != 0 && idr->name[0] != 1)));
|
|
}
|