Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 15922 invoked from network); 3 Aug 2010 09:35:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Aug 2010 09:35:59 -0000 Received: (qmail 65324 invoked by uid 500); 3 Aug 2010 09:35:59 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 65225 invoked by uid 500); 3 Aug 2010 09:35:57 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 65218 invoked by uid 99); 3 Aug 2010 09:35:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 09:35:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 09:35:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BB9BE23888D7; Tue, 3 Aug 2010 09:34:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r981790 - /apr/apr/trunk/include/arch/netware/apr_arch_file_io.h Date: Tue, 03 Aug 2010 09:34:39 -0000 To: commits@apr.apache.org From: fuankg@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100803093439.BB9BE23888D7@eris.apache.org> 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);