/* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. */ /* NAME usacfslib.h - DESCRIPTION RELATED DOCUMENTS EXPORT FUNCTION(S) isACFSFileSystem - Determines if a file system is ACFS. INTERNAL FUNCTION(S) EXAMPLES NOTES MODIFIED (MM/DD/YY) mcarrell 05/06/11 - XbranchMerge mcarrell_libusm_include from main mcarrell 05/05/11 - Remove ofstypes.h. mcarrell 04/26/11 - Backport mcarrell_bug-11061034 from main mcarrell 02/25/11 - Rewrite. mcarrell 01/22/11 - Creation */ #ifndef USACFSLIB_ORACLE #define USACFSLIB_ORACLE #ifndef S_ORACLE #include #endif /*--------------------------------------------------------------------------- EXPORT FUNCTIONS ---------------------------------------------------------------------------*/ /* * isACFSFileSystem - Determines if a file system is ACFS. * * Arguments: * * path - a real path * FLAGS - Not currently used. * * Returns: * * true or false. Always return false for unsupported platforms. * */ ub4 isACFSFileSystem (oratext *path, ub4 FLAGS); typedef ub4 (*isACFSFileSystem_t)(oratext *path, ub4 FLAGS); /* * API Vector - Used for dynamic loading of library symbols. */ #define USACFSLIB_FUNCTION_TABLE_SIZE 1 struct usacfslibvec { isACFSFileSystem_t isACFSFileSystem_usacfslibvec; }; typedef struct usacfslibvec usacfslibvec; /* * Name of exported library functions. This must be in the same order as the * above API vector. */ static const oratext *usmacfslib_fnvec[USACFSLIB_FUNCTION_TABLE_SIZE] = { (oratext *)"isACFSFileSystem" }; #endif /* USACFSLIB_ORACLE */