You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by gs...@locus.apache.org on 2000/10/18 04:44:54 UTC
cvs commit: apache-2.0/src/lib/apr/include apr_file_io.h
gstein 00/10/17 19:44:51
Modified: src/lib/apr/include apr_file_io.h
Log:
document the file types
Revision Changes Path
1.67 +10 -2 apache-2.0/src/lib/apr/include/apr_file_io.h
Index: apr_file_io.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/lib/apr/include/apr_file_io.h,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- apr_file_io.h 2000/10/16 06:04:42 1.66
+++ apr_file_io.h 2000/10/18 02:44:50 1.67
@@ -70,8 +70,16 @@
* @package APR File handling
*/
-typedef enum {APR_NOFILE, APR_REG, APR_DIR, APR_CHR, APR_BLK, APR_PIPE, APR_LNK,
- APR_SOCK} apr_filetype_e;
+typedef enum {
+ APR_NOFILE, /* the file exists, but APR doesn't know its type */
+ APR_REG, /* a regular file */
+ APR_DIR, /* a directory */
+ APR_CHR, /* a character device */
+ APR_BLK, /* a block device */
+ APR_PIPE, /* a FIFO / pipe */
+ APR_LNK, /* a symbolic link */
+ APR_SOCK /* a [unix domain] socket */
+} apr_filetype_e;
/* Flags for apr_open */
#define APR_READ 1 /* Open the file for reading */