From 6952703d69efc2a4cd96d68f705f93c3e53b81fe Mon Sep 17 00:00:00 2001 From: uz Date: Tue, 29 May 2012 21:39:40 +0000 Subject: [PATCH] Added a header file for the internal representation of DIR. git-svn-id: svn://svn.cc65.org/cc65/trunk@5665 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/cbm/dir.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 libsrc/cbm/dir.h diff --git a/libsrc/cbm/dir.h b/libsrc/cbm/dir.h new file mode 100644 index 000000000..a1137acfe --- /dev/null +++ b/libsrc/cbm/dir.h @@ -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 + + +