/*
- * $Id: directory.h,v 1.22 2008-09-01 15:18:37 didg Exp $
+ * $Id: directory.h,v 1.25 2009-06-19 13:38:33 franklahm Exp $
*
* Copyright (c) 1990,1991 Regents of The University of Michigan.
* All Rights Reserved.
char *d_m_name; /* mac name */
char *d_u_name; /* unix name */
+ ucs2_t *d_m_name_ucs2; /* mac name as UCS2 */
};
struct path {
};
#ifndef ATACC
-static __inline__ int path_isadir(struct path *o_path)
+static inline int path_isadir(struct path *o_path)
{
return o_path->d_dir != NULL;
#if 0
#define DIRPBIT_PDINFO 13 /* ProDOS Info */
#define DIRPBIT_UNIXPR 15
-/* directory attribute bits (see file.h for other bits) */
-#define ATTRBIT_EXPFOLDER (1 << 1) /* shared point */
-#define ATTRBIT_MOUNTED (1 << 3) /* mounted share point by non-admin */
-#define ATTRBIT_INEXPFOLDER (1 << 4) /* folder in a shared area */
-
#define FILDIRBIT_ISDIR (1 << 7) /* is a directory */
#define FILDIRBIT_ISFILE (0) /* is a file */
extern int netatalk_rmdir __P((const char *name));
extern int netatalk_unlink __P((const char *name));
+extern int caseenumerate __P((const struct vol *, struct path *, struct dir *));
+
extern hash_t *dirhash __P((void));
/* from enumerate.c */
extern char *check_dirent __P((const struct vol *, char *));