}
/* returns TRUE if the file type ftp is in the set set */
-static bool in_ftpset(int ftp, int nset, const int set[])
+static gmx_bool in_ftpset(int ftp, int nset, const int set[])
{
int i;
- bool bResult;
+ gmx_bool bResult;
bResult = FALSE;
for (i = 0; (i < nset); i++)
/* remove a t_fileio into the list. We assume the fio is locked, and we leave
it locked. */
-static void gmx_fio_remove(t_fileio *fio, bool global_lock)
+static void gmx_fio_remove(t_fileio *fio, gmx_bool global_lock)
{
t_fileio *prev;
t_fileio *fio = NULL;
int i;
char newmode[5];
- bool bRead, bReadWrite;
+ gmx_bool bRead, bReadWrite;
int xdrid;
if (fn2ftp(fn) == efTPA)
}
-void gmx_fio_setprecision(t_fileio *fio, bool bDouble)
+void gmx_fio_setprecision(t_fileio *fio, gmx_bool bDouble)
{
gmx_fio_lock(fio);
fio->bDouble = bDouble;
gmx_fio_unlock(fio);
}
-bool gmx_fio_getdebug(t_fileio *fio)
+gmx_bool gmx_fio_getdebug(t_fileio *fio)
{
- bool ret;
+ gmx_bool ret;
gmx_fio_lock(fio);
ret = fio->bDebug;
return ret;
}
-void gmx_fio_setdebug(t_fileio *fio, bool bDebug)
+void gmx_fio_setdebug(t_fileio *fio, gmx_bool bDebug)
{
gmx_fio_lock(fio);
fio->bDebug = bDebug;
return ret;
}
-bool gmx_fio_getread(t_fileio* fio)
+gmx_bool gmx_fio_getread(t_fileio* fio)
{
- bool ret;
+ gmx_bool ret;
gmx_fio_lock(fio);
ret = fio->bRead;