1 #ifndef DEF_FILES 2 #define DEF_FILES 3 4 /* ---------------------------------------------------------------------------- 5 @COPYRIGHT : 6 Copyright 1993,1994,1995 David MacDonald, 7 McConnell Brain Imaging Centre, 8 Montreal Neurological Institute, McGill University. 9 Permission to use, copy, modify, and distribute this 10 software and its documentation for any purpose and without 11 fee is hereby granted, provided that the above copyright 12 notice appear in all copies. The author and McGill University 13 make no representations about the suitability of this 14 software for any purpose. It is provided "as is" without 15 express or implied warranty. 16 @VERSION : $Header: /private-cvsroot/minc/volume_io/Include/volume_io/files.h,v 1.10 2005-05-19 21:19:27 bert Exp $ 17 ---------------------------------------------------------------------------- */ 18 19 /* ----------------------------- MNI Header ----------------------------------- 20 @NAME : files.h 21 @INPUT : 22 @OUTPUT : 23 @RETURNS : 24 @DESCRIPTION: Types for use with the general file io routines of the library. 25 @METHOD : 26 @GLOBALS : 27 @CALLS : 28 @CREATED : 1993 David MacDonald 29 @MODIFIED : 30 ---------------------------------------------------------------------------- */ 31 32 #include <stdio.h> 33 #include <volume_io/basic.h> 34 35 typedef enum { ASCII_FORMAT, BINARY_FORMAT } VIO_File_formats; 36 37 typedef enum { READ_FILE, WRITE_FILE, APPEND_FILE } VIO_IO_types; 38 39 #if !VIO_PREFIX_NAMES 40 typedef VIO_File_formats File_formats; 41 typedef VIO_IO_types IO_types; 42 #endif /* !VIO_PREFIX_NAMES */ 43 44 #endif /* DEF_FILES */ 45