]> git.sur5r.net Git - cc65/commitdiff
Added a header file for the internal representation of DIR.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 29 May 2012 21:39:40 +0000 (21:39 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 29 May 2012 21:39:40 +0000 (21:39 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5665 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/cbm/dir.h [new file with mode: 0644]

diff --git a/libsrc/cbm/dir.h b/libsrc/cbm/dir.h
new file mode 100644 (file)
index 0000000..a1137ac
--- /dev/null
@@ -0,0 +1,31 @@
+/* 
+ * Internal include file, do not use directly.
+ * Written by Ullrich von Bassewitz. Based on code by Groepaz.
+ */
+
+
+
+#ifndef _DIR_H
+#define _DIR_H
+
+
+
+/*****************************************************************************/
+/*                                  Data                                    */
+/*****************************************************************************/
+
+
+
+struct DIR {
+    int                fd;             /* File descriptor for directory */
+    unsigned    offs;           /* Current byte offset in directory */
+    char        name[16+1];     /* Name passed to opendir */
+};
+
+
+
+/* End of dir.h */
+#endif
+
+
+