physfs_internal.h
changeset 363 79f155a51527
parent 344 015662f3761d
child 399 02dd53688315
--- a/physfs_internal.h	Tue Jul 23 07:46:36 2002 +0000
+++ b/physfs_internal.h	Tue Jul 23 07:48:08 2002 +0000
@@ -166,6 +166,8 @@
         /*
          * Returns non-zero if filename is really a directory.
          *  This filename is in platform-independent notation.
+         *  Symlinks should be followed; if what the symlink points
+         *  to is missing, or isn't a directory, then the retval is zero.
          */
     int (*isDirectory)(DirHandle *r, const char *name);
 
@@ -317,6 +319,17 @@
 int __PHYSFS_verifySecurity(DirHandle *h, const char *fname);
 
 
+/*
+ * Use this to build the list that your enumerate function should return.
+ *  See zip.c for an example of proper use.
+ */
+LinkedStringList *__PHYSFS_addToLinkedStringList(LinkedStringList *retval,
+                                                 LinkedStringList **prev,
+                                                 const char *str,
+                                                 PHYSFS_sint32 len);
+
+
+
 /* These get used all over for lessening code clutter. */
 #define BAIL_MACRO(e, r) { __PHYSFS_setError(e); return r; }
 #define BAIL_IF_MACRO(c, e, r) if (c) { __PHYSFS_setError(e); return r; }