00001 /* 00002 //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00003 // 00004 // This file is a part of E-CELL Simulation Environment package 00005 // 00006 // Copyright (C) 1996-2001 Keio university 00007 // Copyright (C) 1998-2001 Japan Science and Technology Corporation (JST) 00008 // 00009 //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00010 // 00011 // 00012 // E-CELL is free software; you can redistribute it and/or 00013 // modify it under the terms of the GNU General Public 00014 // License as published by the Free Software Foundation; either 00015 // version 2 of the License, or (at your option) any later version. 00016 // 00017 // E-CELL is distributed in the hope that it will be useful, 00018 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00020 // See the GNU General Public License for more details. 00021 // 00022 // You should have received a copy of the GNU General Public 00023 // License along with E-CELL -- see the file COPYING. 00024 // If not, write to the Free Software Foundation, Inc., 00025 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00026 // 00027 //END_HEADER 00028 //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00029 // This file is a part of E-CELL2. 00030 // Original codes of E-CELL1 core were written by Koichi TAKAHASHI 00031 // <shafi@e-cell.org>. 00032 // Some codes of E-CELL2 core are minor changed from E-CELL1 00033 // by Naota ISHIKAWA <naota@mag.keio.ac.jp>. 00034 // Other codes of E-CELL2 core and all of E-CELL2 UIMAN are newly 00035 // written by Naota ISHIKAWA. 00036 // All codes of E-CELL2 GUI are written by 00037 // Mitsui Knowledge Industry Co., Ltd. <http://bio.mki.co.jp/> 00038 // 00039 // Latest version is availabe on <http://bioinformatics.org/> 00040 // and/or <http://www.e-cell.org/>. 00041 //END_V2_HEADER 00042 //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00043 */ 00044 /* 00045 *:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00046 * $Id: osif.h 2528 2005-11-19 09:23:59Z shafi $ 00047 : $Log$ 00048 : Revision 1.2 2005/11/19 09:23:59 shafi 00049 : Kouichi -> Koichi 00050 : 00051 : Revision 1.1 2002/04/30 11:21:53 shafi 00052 : gabor's vvector logger patch + modifications by shafi 00053 : 00054 : Revision 1.5 2002/01/15 14:53:43 ishikawa 00055 : osif_add_path() 00056 : 00057 : Revision 1.4 2001/10/21 15:27:12 ishikawa 00058 : osif_is_dir() 00059 : 00060 : Revision 1.3 2001/03/23 18:51:17 naota 00061 : comment for credit 00062 : 00063 : Revision 1.2 2001/01/13 01:31:47 naota 00064 : Can be compiled by VC, but does not run. 00065 : 00066 : Revision 1.1 2000/12/30 15:09:46 naota 00067 : Initial revision 00068 : 00069 //END_RCS_HEADER 00070 *:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 00071 */ 00072 /* 00073 * OS dependent module 00074 * Written by ISHIKAWA Naota. (C) 2000 Keio university 00075 */ 00076 #ifdef __cplusplus 00077 extern "C" { 00078 #endif 00079 #ifndef __OSIF_H__ 00080 #define __OSIF_H__ 1 00081 00082 00083 long osif_get_pid(); 00084 long osif_disk_free(const char *__path); /* by K Bytes */ 00085 int osif_mkdir(const char *__name); 00086 int osif_is_dir(const char *__name); 00087 int osif_load_dll(const char *__name); 00088 int osif_add_path(const char *__path, int to_first); 00089 00090 00091 #ifdef __cplusplus 00092 } /* end of extern "C" */ 00093 #endif /* __cplusplus */ 00094 #endif /* __OSIF_H__ */