00001 /***************************************************************************
00002 *cr
00003 *cr (C) Copyright 1995-2019 The Board of Trustees of the
00004 *cr University of Illinois
00005 *cr All Rights Reserved
00006 *cr
00007 ***************************************************************************/
00008
00009 /***************************************************************************
00010 * RCS INFORMATION:
00011 *
00012 * $RCSfile: vmdfsinfo.h,v $
00013 * $Author: johns $ $Locker: $ $State: Exp $
00014 * $Revision: 1.2 $ $Date: 2019/05/01 20:17:21 $
00015 *
00016 ***************************************************************************
00017 * DESCRIPTION:
00018 * Thin multi-platform wrapper around file and
00019 * filesystem local/remote determination queries for use by
00020 * OS kernel-bypass I/O implementations in VMD and the molfile plugins.
00021 *
00022 * LICENSE:
00023 * UIUC Open Source License
00024 * http://www.ks.uiuc.edu/Research/vmd/plugins/pluginlicense.html
00025 *
00026 ***************************************************************************/
00027
00028
00029 #ifndef VMD_FSINFO_H
00030 #define VMD_FSINFO_H
00031
00032 #ifdef __cplusplus
00033 extern "C" {
00034 #endif
00035
00036 #define VMD_FS_ERROR -1
00037 #define VMD_FS_IS_LOCAL 1
00038 #define VMD_FS_IS_REMOTE 2
00039 #define VMD_FS_IS_UNKNOWN 4
00046 int vmd_fstype_locality(const char *pathname);
00047
00048 #ifdef __cplusplus
00049 }
00050 #endif
00051
00052 #endif
00053
1.2.14 written by Dimitri van Heesch,
© 1997-2002