You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@hyperreal.org on 1999/02/22 17:31:03 UTC
cvs commit: apache-apr/include apr_file_io.h
rbb 99/02/22 08:31:02
Modified: include apr_file_io.h
Log:
Fix some compile errors. With these changes, the first APR function is
implemented. When I implement more, I will begin to write a test suite for the
apr funcs.
Revision Changes Path
1.2 +3 -2 apache-apr/include/apr_file_io.h
Index: apr_file_io.h
===================================================================
RCS file: /home/cvs/apache-apr/include/apr_file_io.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- apr_file_io.h 1999/02/22 15:51:48 1.1
+++ apr_file_io.h 1999/02/22 16:31:02 1.2
@@ -61,6 +61,7 @@
#include <fcntl.h>
#include <time.h>
#include "apr_general.h"
+#include "apr_errno.h"
/* Flags for apr_open */
#define APR_READ 1 /* Open the file for reading */
@@ -74,7 +75,7 @@
exists. */
#define APR_NONBLOCK 256 /* Don't block when reading or writing */
-struct APRFile {
+typedef struct APRFile {
int filedes;
char * fname;
int buffered;
@@ -85,7 +86,7 @@
time_t atime;
time_t mtime;
time_t ctime;
-}
+} APRFile;
/* Function definitions */
APRFile *apr_open(char *fname, int flag, mode_t mode);