summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-01-21 16:18:23 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>1999-01-21 16:18:23 (GMT)
commit67657f93fffce4511447461207a5d431580503cc (patch)
treec10c42d0b521bbce3470a5192fb7ec299158f47f /src
parent747bb3f9fd714e2fd9bc334b9620b8fbbcdff50b (diff)
downloadhdf5-67657f93fffce4511447461207a5d431580503cc.zip
hdf5-67657f93fffce4511447461207a5d431580503cc.tar.gz
hdf5-67657f93fffce4511447461207a5d431580503cc.tar.bz2
[svn-r1030] added necessary info to export functions to dll
Diffstat (limited to 'src')
-rw-r--r--src/H5ACprivate.h2
-rw-r--r--src/H5Apublic.h24
-rw-r--r--src/H5Dprivate.h4
-rw-r--r--src/H5Dpublic.h18
-rw-r--r--src/H5Epublic.h16
-rw-r--r--src/H5Fprivate.h20
-rw-r--r--src/H5Fpublic.h20
-rw-r--r--src/H5Gprivate.h8
-rw-r--r--src/H5HGprivate.h8
-rw-r--r--src/H5HLprivate.h8
-rw-r--r--src/H5Iprivate.h2
11 files changed, 65 insertions, 65 deletions
diff --git a/src/H5ACprivate.h b/src/H5ACprivate.h
index ec17bd4e..91cc2ca 100644
--- a/src/H5ACprivate.h
+++ b/src/H5ACprivate.h
@@ -113,7 +113,7 @@ void *H5AC_protect (H5F_t *f, const H5AC_class_t *type, const haddr_t *addr,
const void *udata1, void *udata2);
herr_t H5AC_unprotect (H5F_t *f, const H5AC_class_t *type,
const haddr_t *addr, void *thing);
-herr_t H5AC_flush (H5F_t *f, const H5AC_class_t *type, const haddr_t *addr,
+HDF5API herr_t H5AC_flush (H5F_t *f, const H5AC_class_t *type, const haddr_t *addr,
hbool_t destroy);
herr_t H5AC_create (H5F_t *f, intn size_hint);
herr_t H5AC_rename (H5F_t *f, const H5AC_class_t *type,
diff --git a/src/H5Apublic.h b/src/H5Apublic.h
index 43542a3..aa40778 100644
--- a/src/H5Apublic.h
+++ b/src/H5Apublic.h
@@ -27,20 +27,20 @@ typedef int (*H5A_operator_t)(hid_t location_id/*in*/,
const char *attr_name/*in*/, void *operator_data/*in,out*/);
/* Public function prototypes */
-hid_t H5Acreate(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id,
+HDF5API hid_t H5Acreate(hid_t loc_id, const char *name, hid_t type_id, hid_t space_id,
hid_t plist_id);
-hid_t H5Aopen_name(hid_t loc_id, const char *name);
-hid_t H5Aopen_idx(hid_t loc_id, unsigned idx);
-herr_t H5Awrite(hid_t attr_id, hid_t type_id, void *buf);
-herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf);
-herr_t H5Aclose(hid_t attr_id);
-hid_t H5Aget_space(hid_t attr_id);
-hid_t H5Aget_type(hid_t attr_id);
-hssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf);
-int H5Aget_num_attrs(hid_t loc_id);
-int H5Aiterate(hid_t loc_id, unsigned *attr_num, H5A_operator_t op,
+HDF5API hid_t H5Aopen_name(hid_t loc_id, const char *name);
+HDF5API hid_t H5Aopen_idx(hid_t loc_id, unsigned idx);
+HDF5API herr_t H5Awrite(hid_t attr_id, hid_t type_id, void *buf);
+HDF5API herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf);
+HDF5API herr_t H5Aclose(hid_t attr_id);
+HDF5API hid_t H5Aget_space(hid_t attr_id);
+HDF5API hid_t H5Aget_type(hid_t attr_id);
+HDF5API hssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf);
+HDF5API int H5Aget_num_attrs(hid_t loc_id);
+HDF5API int H5Aiterate(hid_t loc_id, unsigned *attr_num, H5A_operator_t op,
void *op_data);
-herr_t H5Adelete(hid_t loc_id, const char *name);
+HDF5API herr_t H5Adelete(hid_t loc_id, const char *name);
#ifdef __cplusplus
}
diff --git a/src/H5Dprivate.h b/src/H5Dprivate.h
index 3a30731..534ddf4 100644
--- a/src/H5Dprivate.h
+++ b/src/H5Dprivate.h
@@ -17,7 +17,7 @@
#define _H5Dprivate_H
#include <H5Dpublic.h>
-
+#include <H5api_adpt.h>
/* Private headers needed by this file */
#include <H5private.h>
#include <H5Fprivate.h> /*for the H5F_t type */
@@ -64,7 +64,7 @@ typedef struct H5D_xfer_t {
typedef struct H5D_t H5D_t;
extern const H5D_create_t H5D_create_dflt;
-extern const H5D_xfer_t H5D_xfer_dflt;
+HDF5GLOBAL const H5D_xfer_t H5D_xfer_dflt;
/* Functions defined in H5D.c */
H5D_t *H5D_create (H5G_entry_t *loc, const char *name, const H5T_t *type,
diff --git a/src/H5Dpublic.h b/src/H5Dpublic.h
index 94f8d9b..26937ae 100644
--- a/src/H5Dpublic.h
+++ b/src/H5Dpublic.h
@@ -43,18 +43,18 @@ typedef enum H5D_transfer_t {
extern "C" {
#endif
-hid_t H5Dcreate (hid_t file_id, const char *name, hid_t type_id,
+HDF5API hid_t H5Dcreate (hid_t file_id, const char *name, hid_t type_id,
hid_t space_id, hid_t plist_id);
-hid_t H5Dopen (hid_t file_id, const char *name);
-herr_t H5Dclose (hid_t dset_id);
-hid_t H5Dget_space (hid_t dset_id);
-hid_t H5Dget_type (hid_t dset_id);
-hid_t H5Dget_create_plist (hid_t dset_id);
-herr_t H5Dread (hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id,
+HDF5API hid_t H5Dopen (hid_t file_id, const char *name);
+HDF5API herr_t H5Dclose (hid_t dset_id);
+HDF5API hid_t H5Dget_space (hid_t dset_id);
+HDF5API hid_t H5Dget_type (hid_t dset_id);
+HDF5API hid_t H5Dget_create_plist (hid_t dset_id);
+HDF5API herr_t H5Dread (hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id,
hid_t file_space_id, hid_t plist_id, void *buf/*out*/);
-herr_t H5Dwrite (hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id,
+HDF5API herr_t H5Dwrite (hid_t dset_id, hid_t mem_type_id, hid_t mem_space_id,
hid_t file_space_id, hid_t plist_id, const void *buf);
-herr_t H5Dextend (hid_t dset_id, const hsize_t *size);
+HDF5API herr_t H5Dextend (hid_t dset_id, const hsize_t *size);
#ifdef __cplusplus
}
diff --git a/src/H5Epublic.h b/src/H5Epublic.h
index 06a087c..77fcca5 100644
--- a/src/H5Epublic.h
+++ b/src/H5Epublic.h
@@ -175,14 +175,14 @@ typedef herr_t (*H5E_auto_t)(void *client_data);
extern "C" {
#endif
-herr_t H5Eset_auto (H5E_auto_t func, void *client_data);
-herr_t H5Eget_auto (H5E_auto_t *func, void **client_data);
-herr_t H5Eclear (void);
-herr_t H5Eprint (FILE *stream);
-herr_t H5Ewalk (H5E_direction_t direction, H5E_walk_t func, void *client_data);
-herr_t H5Ewalk_cb (int n, H5E_error_t *err_desc, void *client_data);
-const char *H5Eget_major (H5E_major_t major_number);
-const char *H5Eget_minor (H5E_minor_t minor_number);
+HDF5API herr_t H5Eset_auto (H5E_auto_t func, void *client_data);
+HDF5API herr_t H5Eget_auto (H5E_auto_t *func, void **client_data);
+HDF5API herr_t H5Eclear (void);
+HDF5API herr_t H5Eprint (FILE *stream);
+HDF5API herr_t H5Ewalk (H5E_direction_t direction, H5E_walk_t func, void *client_data);
+HDF5API herr_t H5Ewalk_cb (int n, H5E_error_t *err_desc, void *client_data);
+HDF5API const char *H5Eget_major (H5E_major_t major_number);
+HDF5API const char *H5Eget_minor (H5E_minor_t minor_number);
#ifdef __cplusplus
}
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h
index 06b7e60..637df69 100644
--- a/src/H5Fprivate.h
+++ b/src/H5Fprivate.h
@@ -550,22 +550,22 @@ H5F_t *H5F_open(const char *name, uintn flags,
const H5F_create_t *create_parms,
const H5F_access_t *access_parms);
herr_t H5F_close(H5F_t *f);
-herr_t H5F_debug(H5F_t *f, const haddr_t *addr, FILE * stream, intn indent,
+HDF5API herr_t H5F_debug(H5F_t *f, const haddr_t *addr, FILE * stream, intn indent,
intn fwidth);
-herr_t H5F_istore_debug(H5F_t *f, const haddr_t *addr, FILE * stream,
+HDF5API herr_t H5F_istore_debug(H5F_t *f, const haddr_t *addr, FILE * stream,
intn indent, intn fwidth, int ndims);
herr_t H5F_mountpoint(struct H5G_entry_t *find/*in,out*/);
/* Functions that operate on array storage */
-herr_t H5F_arr_create(H5F_t *f, struct H5O_layout_t *layout /*in,out*/);
-herr_t H5F_arr_read (H5F_t *f, const struct H5D_xfer_t *xfer,
+HDF5API herr_t H5F_arr_create(H5F_t *f, struct H5O_layout_t *layout /*in,out*/);
+HDF5API herr_t H5F_arr_read (H5F_t *f, const struct H5D_xfer_t *xfer,
const struct H5O_layout_t *layout,
const struct H5O_pline_t *pline,
const struct H5O_fill_t *fill,
const struct H5O_efl_t *efl, const hsize_t _hslab_size[],
const hsize_t mem_size[], const hssize_t mem_offset[],
const hssize_t file_offset[], void *_buf/*out*/);
-herr_t H5F_arr_write (H5F_t *f, const struct H5D_xfer_t *xfer,
+HDF5API herr_t H5F_arr_write (H5F_t *f, const struct H5D_xfer_t *xfer,
const struct H5O_layout_t *layout,
const struct H5O_pline_t *pline,
const struct H5O_fill_t *fill,
@@ -599,7 +599,7 @@ herr_t H5F_istore_allocate (H5F_t *f,
const struct H5O_fill_t *fill);
/* Functions that operate on contiguous storage wrt boot block */
-herr_t H5F_block_read(H5F_t *f, const haddr_t *addr, hsize_t size,
+HDF5API herr_t H5F_block_read(H5F_t *f, const haddr_t *addr, hsize_t size,
const H5D_transfer_t xfer_mode, void *buf);
herr_t H5F_block_write(H5F_t *f, const haddr_t *addr, hsize_t size,
const H5D_transfer_t xfer_mode, const void *buf);
@@ -608,7 +608,7 @@ herr_t H5F_block_write(H5F_t *f, const haddr_t *addr, hsize_t size,
const H5F_low_class_t *H5F_low_class (H5F_driver_t driver);
herr_t H5F_low_extend(H5F_low_t *lf, const H5F_access_t *access_parms,
intn op, hsize_t size, haddr_t *addr/*out*/);
-herr_t H5F_low_seteof(H5F_low_t *lf, const haddr_t *addr);
+HDF5API herr_t H5F_low_seteof(H5F_low_t *lf, const haddr_t *addr);
intn H5F_low_alloc (H5F_low_t *lf, intn op, hsize_t alignment,
hsize_t threshold, hsize_t size, H5MF_free_t *blk,
haddr_t *addr/*out*/);
@@ -636,14 +636,14 @@ herr_t H5F_low_flush(H5F_low_t *lf, const H5F_access_t *access_parms);
#define H5F_addr_gt(A1,A2) (H5F_addr_cmp(A1,A2)>0)
#define H5F_addr_ge(A1,A2) (H5F_addr_cmp(A1,A2)>=0)
-intn H5F_addr_cmp(const haddr_t *, const haddr_t *);
+HDF5API intn H5F_addr_cmp(const haddr_t *, const haddr_t *);
htri_t H5F_addr_defined(const haddr_t *);
void H5F_addr_undef(haddr_t *);
-void H5F_addr_reset(haddr_t *);
+HDF5API void H5F_addr_reset(haddr_t *);
htri_t H5F_addr_zerop(const haddr_t *);
void H5F_addr_encode(H5F_t *, uint8_t **, const haddr_t *);
void H5F_addr_decode(H5F_t *, const uint8_t **, haddr_t *);
-void H5F_addr_print(FILE *, const haddr_t *);
+HDF5API void H5F_addr_print(FILE *, const haddr_t *);
void H5F_addr_pow2(uintn, haddr_t *);
void H5F_addr_inc(haddr_t *addr/*in,out*/, hsize_t inc);
void H5F_addr_adj(haddr_t *addr/*in,out*/, hssize_t adj);
diff --git a/src/H5Fpublic.h b/src/H5Fpublic.h
index 42717ca..1244f6b 100644
--- a/src/H5Fpublic.h
+++ b/src/H5Fpublic.h
@@ -83,17 +83,17 @@ extern "C" {
#endif
/* Functions in H5F.c */
-htri_t H5Fis_hdf5 (const char *filename);
-hid_t H5Fcreate (const char *filename, unsigned flags, hid_t create_plist,
+HDF5API htri_t H5Fis_hdf5 (const char *filename);
+HDF5API hid_t H5Fcreate (const char *filename, unsigned flags, hid_t create_plist,
hid_t access_plist);
-hid_t H5Fopen (const char *filename, unsigned flags, hid_t access_plist);
-hid_t H5Freopen(hid_t file_id);
-herr_t H5Fflush(hid_t object_id, H5F_scope_t scope);
-herr_t H5Fclose (hid_t file_id);
-hid_t H5Fget_create_plist (hid_t file_id);
-hid_t H5Fget_access_plist (hid_t file_id);
-herr_t H5Fmount(hid_t loc, const char *name, hid_t child, hid_t plist);
-herr_t H5Funmount(hid_t loc, const char *name);
+HDF5API hid_t H5Fopen (const char *filename, unsigned flags, hid_t access_plist);
+HDF5API hid_t H5Freopen(hid_t file_id);
+HDF5API herr_t H5Fflush(hid_t object_id, H5F_scope_t scope);
+HDF5API herr_t H5Fclose (hid_t file_id);
+HDF5API hid_t H5Fget_create_plist (hid_t file_id);
+HDF5API hid_t H5Fget_access_plist (hid_t file_id);
+HDF5API herr_t H5Fmount(hid_t loc, const char *name, hid_t child, hid_t plist);
+HDF5API herr_t H5Funmount(hid_t loc, const char *name);
#ifdef __cplusplus
}
diff --git a/src/H5Gprivate.h b/src/H5Gprivate.h
index 598aa33..7783b8e 100644
--- a/src/H5Gprivate.h
+++ b/src/H5Gprivate.h
@@ -114,13 +114,13 @@ herr_t H5G_register_type(intn type, htri_t(*isa)(H5G_entry_t*),
const char *desc);
H5G_entry_t *H5G_loc (hid_t loc_id);
herr_t H5G_mkroot (H5F_t *f, H5G_entry_t *root_entry);
-H5G_entry_t *H5G_entof (H5G_t *grp);
+HDF5API H5G_entry_t *H5G_entof (H5G_t *grp);
H5F_t *H5G_fileof (H5G_t *grp);
H5G_t *H5G_create (H5G_entry_t *loc, const char *name, size_t size_hint);
H5G_t *H5G_open (H5G_entry_t *loc, const char *name);
H5G_t *H5G_reopen (H5G_t *grp);
herr_t H5G_close (H5G_t *grp);
-H5G_t *H5G_rootof(H5F_t *f);
+HDF5API H5G_t *H5G_rootof(H5F_t *f);
htri_t H5G_isa(H5G_entry_t *ent);
herr_t H5G_link (H5G_entry_t *loc, H5G_link_t type, const char *cur_name,
const char *new_name, uintn namei_flags);
@@ -132,7 +132,7 @@ herr_t H5G_linkval (H5G_entry_t *loc, const char *name, size_t size,
herr_t H5G_set_comment(H5G_entry_t *loc, const char *name, const char *buf);
intn H5G_get_comment(H5G_entry_t *loc, const char *name, size_t bufsize,
char *buf);
-herr_t H5G_insert (H5G_entry_t *loc, const char *name, H5G_entry_t *ent);
+HDF5API herr_t H5G_insert (H5G_entry_t *loc, const char *name, H5G_entry_t *ent);
herr_t H5G_move(H5G_entry_t *loc, const char *src_name, const char *dst_name);
herr_t H5G_unlink(H5G_entry_t *loc, const char *name);
herr_t H5G_find (H5G_entry_t *loc, const char *name,
@@ -147,7 +147,7 @@ herr_t H5G_ent_decode (H5F_t *f, const uint8_t **pp, H5G_entry_t *ent/*out*/);
/*
* These functions operate on symbol table nodes.
*/
-herr_t H5G_node_debug (H5F_t *f, const haddr_t *addr, FILE * stream,
+HDF5API herr_t H5G_node_debug (H5F_t *f, const haddr_t *addr, FILE * stream,
intn indent, intn fwidth, const haddr_t *heap);
/*
diff --git a/src/H5HGprivate.h b/src/H5HGprivate.h
index 8f66ef7..8ac9e7b 100644
--- a/src/H5HGprivate.h
+++ b/src/H5HGprivate.h
@@ -93,12 +93,12 @@ typedef struct H5HG_t {
typedef struct H5HG_heap_t H5HG_heap_t;
H5HG_heap_t *H5HG_create (H5F_t *f, size_t size);
-herr_t H5HG_insert (H5F_t *f, size_t size, void *obj, H5HG_t *hobj/*out*/);
+HDF5API herr_t H5HG_insert (H5F_t *f, size_t size, void *obj, H5HG_t *hobj/*out*/);
void *H5HG_peek (H5F_t *f, H5HG_t *hobj);
-void *H5HG_read (H5F_t *f, H5HG_t *hobj, void *object);
+HDF5API void *H5HG_read (H5F_t *f, H5HG_t *hobj, void *object);
intn H5HG_link (H5F_t *f, H5HG_t *hobj, intn adjust);
-herr_t H5HG_remove (H5F_t *f, H5HG_t *hobj);
-herr_t H5HG_debug(H5F_t *f, const haddr_t *addr, FILE *stream, intn indent,
+HDF5API herr_t H5HG_remove (H5F_t *f, H5HG_t *hobj);
+HDF5API herr_t H5HG_debug(H5F_t *f, const haddr_t *addr, FILE *stream, intn indent,
intn fwidth);
#endif
diff --git a/src/H5HLprivate.h b/src/H5HLprivate.h
index da8c257..dad47f3 100644
--- a/src/H5HLprivate.h
+++ b/src/H5HLprivate.h
@@ -50,15 +50,15 @@
/*
* Library prototypes...
*/
-herr_t H5HL_create (H5F_t *f, size_t size_hint, haddr_t *addr/*out*/);
+HDF5API herr_t H5HL_create (H5F_t *f, size_t size_hint, haddr_t *addr/*out*/);
void *H5HL_read (H5F_t *f, const haddr_t *addr, size_t offset, size_t size,
void *buf);
-const void *H5HL_peek (H5F_t *f, const haddr_t *addr, size_t offset);
-size_t H5HL_insert (H5F_t *f, const haddr_t *addr, size_t size,
+HDF5API const void *H5HL_peek (H5F_t *f, const haddr_t *addr, size_t offset);
+HDF5API size_t H5HL_insert (H5F_t *f, const haddr_t *addr, size_t size,
const void *buf);
herr_t H5HL_write (H5F_t *f, const haddr_t *addr, size_t offset, size_t size,
const void *buf);
herr_t H5HL_remove (H5F_t *f, const haddr_t *addr, size_t offset, size_t size);
-herr_t H5HL_debug (H5F_t *f, const haddr_t *addr, FILE * stream, intn indent,
+HDF5API herr_t H5HL_debug (H5F_t *f, const haddr_t *addr, FILE * stream, intn indent,
intn fwidth);
#endif
diff --git a/src/H5Iprivate.h b/src/H5Iprivate.h
index f2c179a..8895378 100644
--- a/src/H5Iprivate.h
+++ b/src/H5Iprivate.h
@@ -66,7 +66,7 @@ intn H5I_init_group (H5I_type_t grp, size_t hash_size, uintn reserved,
herr_t (*free_func)(void *));
herr_t H5I_destroy_group (H5I_type_t grp);
hid_t H5I_register (H5I_type_t grp, void *object);
-void *H5I_object (hid_t id);
+HDF5API void *H5I_object (hid_t id);
H5I_type_t H5I_get_type (hid_t id);
void *H5I_remove (hid_t id);
void *H5I_search (H5I_type_t grp, H5I_search_func_t func, const void *key);