From: uz Date: Tue, 29 May 2012 21:39:40 +0000 (+0000) Subject: Added a header file for the internal representation of DIR. X-Git-Tag: V2.14~403 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6952703d69efc2a4cd96d68f705f93c3e53b81fe;p=cc65 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 --- 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 + + +