commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r790940 - in /commons/sandbox/runtime/trunk/src/main/native: include/arch/unix/ include/arch/windows/ os/darwin/ os/hpux/ os/linux/ os/solaris/ os/unix/ os/win32/
Date Fri, 03 Jul 2009 15:10:12 GMT
Author: mturk
Date: Fri Jul  3 15:10:11 2009
New Revision: 790940

URL: http://svn.apache.org/viewvc?rev=790940&view=rev
Log:
Make ios API arch public

Modified:
    commons/sandbox/runtime/trunk/src/main/native/include/arch/unix/acr_arch.h
    commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
    commons/sandbox/runtime/trunk/src/main/native/os/darwin/platform.c
    commons/sandbox/runtime/trunk/src/main/native/os/hpux/platform.c
    commons/sandbox/runtime/trunk/src/main/native/os/linux/platform.c
    commons/sandbox/runtime/trunk/src/main/native/os/solaris/platform.c
    commons/sandbox/runtime/trunk/src/main/native/os/unix/ios.c
    commons/sandbox/runtime/trunk/src/main/native/os/win32/ios.c
    commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c

Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/unix/acr_arch.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/unix/acr_arch.h?rev=790940&r1=790939&r2=790940&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/arch/unix/acr_arch.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/arch/unix/acr_arch.h Fri Jul  3
15:10:11 2009
@@ -45,6 +45,10 @@
 
 extern acr_ioh *acr_ioh_tab;
 extern int      acr_ioh_mask;
+extern int      acr_ioh_init(int);
+extern int      acr_ioh_alloc(void *, int, unsigned int);
+extern int      acr_ioh_free(int);
+extern void     acr_ioh_cleanup(void);
 
 /** Default number of IO slots
  */

Modified: commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h?rev=790940&r1=790939&r2=790940&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h (original)
+++ commons/sandbox/runtime/trunk/src/main/native/include/arch/windows/acr_arch.h Fri Jul
 3 15:10:11 2009
@@ -56,7 +56,7 @@
  * Copied from <ntifs.h>
  * ---------------------------------------------------------------------
  */
- 
+
 #if _MSC_VER >= 1200
 #pragma warning(push)
 #endif
@@ -97,7 +97,7 @@
 #endif
 
 #ifndef IO_REPARSE_TAG_MOUNT_POINT
-#define IO_REPARSE_TAG_MOUNT_POINT              (0xA0000003L)       
+#define IO_REPARSE_TAG_MOUNT_POINT              (0xA0000003L)
 #endif
 #ifndef IO_REPARSE_TAG_SYMLINK
 #define IO_REPARSE_TAG_SYMLINK                  (0xA000000CL)
@@ -282,6 +282,10 @@
 
 extern acr_ioh *acr_ioh_tab;
 extern int      acr_ioh_mask;
+extern int      acr_ioh_init(int);
+extern int      acr_ioh_alloc(void *, int, unsigned int);
+extern int      acr_ioh_free(int);
+extern void     acr_ioh_cleanup(void);
 
 /** Default number of IO slots
  */
@@ -525,3 +529,4 @@
 #endif
 
 #endif /* ACR_ARCH_H */
+

Modified: commons/sandbox/runtime/trunk/src/main/native/os/darwin/platform.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/darwin/platform.c?rev=790940&r1=790939&r2=790940&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/darwin/platform.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/darwin/platform.c Fri Jul  3 15:10:11
2009
@@ -24,7 +24,6 @@
 #include <langinfo.h>
 
 static const char unknown[] = "unknown";
-extern int acr_ioh_init(int);
 acr_size_t acr_page_size;
 int        acr_native_codepage = ACR_CP_DEFAULT;
 

Modified: commons/sandbox/runtime/trunk/src/main/native/os/hpux/platform.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/hpux/platform.c?rev=790940&r1=790939&r2=790940&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/hpux/platform.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/hpux/platform.c Fri Jul  3 15:10:11 2009
@@ -24,7 +24,6 @@
 #include <langinfo.h>
 
 static const char unknown[] = "unknown";
-extern int acr_ioh_init(int);
 acr_size_t acr_page_size;
 int        acr_native_codepage = ACR_CP_DEFAULT;
 

Modified: commons/sandbox/runtime/trunk/src/main/native/os/linux/platform.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/linux/platform.c?rev=790940&r1=790939&r2=790940&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/linux/platform.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/linux/platform.c Fri Jul  3 15:10:11
2009
@@ -24,7 +24,6 @@
 #include <langinfo.h>
 
 static const char unknown[] = "unknown";
-extern int acr_ioh_init(int);
 acr_size_t acr_page_size;
 int        acr_native_codepage = ACR_CP_DEFAULT;
 

Modified: commons/sandbox/runtime/trunk/src/main/native/os/solaris/platform.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/solaris/platform.c?rev=790940&r1=790939&r2=790940&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/solaris/platform.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/solaris/platform.c Fri Jul  3 15:10:11
2009
@@ -24,7 +24,6 @@
 #include <langinfo.h>
 
 static const char unknown[] = "unknown";
-extern int acr_ioh_init(int);
 acr_size_t acr_page_size;
 int        acr_native_codepage = ACR_CP_DEFAULT;
 

Modified: commons/sandbox/runtime/trunk/src/main/native/os/unix/ios.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/unix/ios.c?rev=790940&r1=790939&r2=790940&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/unix/ios.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/unix/ios.c Fri Jul  3 15:10:11 2009
@@ -43,7 +43,7 @@
     0x7F, 0xBF, 0xDF, 0xEF, 0xF7, 0xFB, 0xFD, 0xFE
 };
 
-static unsigned char  __sbit_mask[] = {
+static unsigned int   __sbit_mask[] = {
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/ios.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/ios.c?rev=790940&r1=790939&r2=790940&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/ios.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/ios.c Fri Jul  3 15:10:11 2009
@@ -42,7 +42,7 @@
     0x7F, 0xBF, 0xDF, 0xEF, 0xF7, 0xFB, 0xFD, 0xFE
 };
 
-static unsigned char  __sbit_mask[] = {
+static unsigned int   __sbit_mask[] = {
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
     0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c?rev=790940&r1=790939&r2=790940&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c Fri Jul  3 15:10:11
2009
@@ -24,7 +24,6 @@
 static const char unknown[] = "unknown";
 extern PSID acr_everyone_sid;
 extern PSID acr_adminsgr_sid;
-extern int  acr_ioh_init(int);
 extern LPSYSTEM_INFO acr_osinf;
 acr_size_t  acr_page_size;
 int         acr_native_codepage = ACR_CP_DEFAULT;



Mime
View raw message