apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r981790 - /apr/apr/trunk/include/arch/netware/apr_arch_file_io.h
Date Tue, 03 Aug 2010 09:34:39 GMT
Author: fuankg
Date: Tue Aug  3 09:34:39 2010
New Revision: 981790

URL: http://svn.apache.org/viewvc?rev=981790&view=rev
Log:
Sync'd NetWare header with unix one.

Modified:
    apr/apr/trunk/include/arch/netware/apr_arch_file_io.h

Modified: apr/apr/trunk/include/arch/netware/apr_arch_file_io.h
URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/arch/netware/apr_arch_file_io.h?rev=981790&r1=981789&r2=981790&view=diff
==============================================================================
--- apr/apr/trunk/include/arch/netware/apr_arch_file_io.h (original)
+++ apr/apr/trunk/include/arch/netware/apr_arch_file_io.h Tue Aug  3 09:34:39 2010
@@ -26,6 +26,7 @@
 #include "apr_errno.h"
 #include "apr_lib.h"
 #include "apr_poll.h"
+#include "apr_time.h"
 
 /* System headers the file I/O library needs */
 #if APR_HAVE_FCNTL_H
@@ -94,6 +95,15 @@
 
 typedef struct stat struct_stat;
 
+typedef struct apr_rotating_info_t {
+    apr_finfo_t finfo;
+    apr_interval_time_t timeout;
+    apr_time_t lastcheck;
+    int oflags;
+    int manual;
+    apr_fileperms_t perm;
+} apr_rotating_info_t;
+
 struct apr_file_t {
     apr_pool_t *pool;
     int filedes;
@@ -119,6 +129,7 @@ struct apr_file_t {
 #if APR_HAS_THREADS
     struct apr_thread_mutex_t *thlock;
 #endif
+    apr_rotating_info_t *rotating;
 };
 
 struct apr_dir_t {
@@ -165,6 +176,9 @@ apr_status_t filepath_compare_drive(cons
 apr_status_t apr_unix_file_cleanup(void *);
 apr_status_t apr_unix_child_file_cleanup(void *);
 
+mode_t apr_unix_perms2mode(apr_fileperms_t perms);
+apr_fileperms_t apr_unix_mode2perms(mode_t mode);
+
 apr_status_t apr_file_flush_locked(apr_file_t *thefile);
 apr_status_t apr_file_info_get_locked(apr_finfo_t *finfo, apr_int32_t wanted,
                                       apr_file_t *thefile);



Mime
View raw message