"Fossies" - the Fresh Open Source Software Archive

Member "netcdf-cxx4-4.3.1/plugins/h5misc.h" (11 Sep 2019, 941 Bytes) of package /linux/misc/netcdf-cxx4-4.3.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "h5misc.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef H5MISC_H
    2 #define H5MISC_H
    3 
    4 #ifdef _MSC_VER
    5   #ifdef DLL_EXPORT /* define when building the library */
    6     #define DECLSPEC __declspec(dllexport)
    7   #else
    8     #define DECLSPEC __declspec(dllimport)
    9   #endif
   10 #else
   11   #define DECLSPEC extern
   12 #endif
   13 
   14 /* use an integer greater than 256 to be id of the registered filter. */
   15 #define H5Z_FILTER_TEST 32768
   16 
   17 /* Define the test cases */
   18 
   19 typedef enum H5testcase {
   20 TC_NONE = 0,
   21 TC_ENDIAN = 1,
   22 TC_ODDSIZE = 2,
   23 } H5testcase;
   24 
   25 /* declare the hdf5 interface */
   26 DECLSPEC H5PL_type_t H5PLget_plugin_type(void);
   27 DECLSPEC const void* H5PLget_plugin_info(void);
   28 DECLSPEC const H5Z_class2_t H5Z_TEST[1]; 
   29 
   30 /* Declare filter specific functions */
   31 DECLSPEC htri_t H5Z_test_can_apply(hid_t dcpl_id, hid_t type_id, hid_t space_id);
   32 DECLSPEC size_t H5Z_filter_test(unsigned flags,size_t cd_nelmts,const unsigned cd_values[],
   33                     size_t nbytes,size_t *buf_size,void**buf);
   34 
   35 #endif /*H5MISC_H*/