moab
file-handle.h
Go to the documentation of this file.
00001 
00016 #ifndef MHDF_FILE_HANDLE_H
00017 #define MHDF_FILE_HANDLE_H
00018 
00019 #ifdef _MSC_VER /* windows */
00020 #  include <BaseTsd.h>
00021 typedef ULONG32 uint32_t;
00022 #endif
00023 #include "mhdf.h"
00024 
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028 
00029 typedef struct struct_FileHandle {
00030   uint32_t magic;
00031   hid_t hdf_handle;
00032   int open_handle_count;
00033   hid_t id_type;    /* data type to use when creating tables of IDs */
00034   long max_id;
00035 } FileHandle;
00036 
00037 FileHandle* mhdf_alloc_FileHandle( hid_t hdf_handle, hid_t id_type, mhdf_Status* status );
00038 
00039 int mhdf_check_valid_file( FileHandle* handle, mhdf_Status* status );
00040 
00041 #ifdef __cplusplus
00042 } /* extern "C" */
00043 #endif
00044 
00045 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines