00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 #ifndef _H5Oprivate_H
00029 #define _H5Oprivate_H
00030 
00031 
00032 #include "H5Opublic.h"          
00033 
00034 
00035 #include "H5Dpublic.h"          
00036 #include "H5Lpublic.h"          
00037 #include "H5Spublic.h"          
00038 
00039 
00040 #include "H5Fprivate.h"         
00041 #include "H5SLprivate.h"        
00042 #include "H5Tprivate.h"         
00043 #include "H5Zprivate.h"         
00044 
00045 
00046 typedef struct H5O_msg_class_t H5O_msg_class_t;
00047 typedef struct H5O_mesg_t H5O_mesg_t;
00048 typedef struct H5O_t H5O_t;
00049 
00050 
00051 
00052 
00053 
00054 
00055 
00056 #define H5O_FHEAP_MAN_WIDTH                     4
00057 #define H5O_FHEAP_MAN_START_BLOCK_SIZE          1024
00058 #define H5O_FHEAP_MAN_MAX_DIRECT_SIZE           (64 * 1024)
00059 #define H5O_FHEAP_MAN_MAX_INDEX                 40
00060 #define H5O_FHEAP_MAN_START_ROOT_ROWS           1
00061 #define H5O_FHEAP_CHECKSUM_DBLOCKS              TRUE
00062 #define H5O_FHEAP_MAX_MAN_SIZE                  (4 * 1024)
00063 #define H5O_FHEAP_ID_LEN                        8
00064 
00065 
00066 #define H5O_MESG_MAX_SIZE       65536   
00067 #define H5O_ALL         (-1)            
00068 #define H5O_FIRST       (-2)            
00069 
00070 
00071 #define H5O_MSG_FLAG_CONSTANT   0x01u
00072 #define H5O_MSG_FLAG_SHARED     0x02u
00073 #define H5O_MSG_FLAG_DONTSHARE  0x04u
00074 #define H5O_MSG_FLAG_FAIL_IF_UNKNOWN 0x08u
00075 #define H5O_MSG_FLAG_MARK_IF_UNKNOWN 0x10u
00076 #define H5O_MSG_FLAG_WAS_UNKNOWN 0x20u
00077 #define H5O_MSG_FLAG_SHAREABLE  0x40u
00078 #define H5O_MSG_FLAG_BITS       (H5O_MSG_FLAG_CONSTANT|H5O_MSG_FLAG_SHARED|H5O_MSG_FLAG_DONTSHARE|H5O_MSG_FLAG_FAIL_IF_UNKNOWN|H5O_MSG_FLAG_MARK_IF_UNKNOWN|H5O_MSG_FLAG_WAS_UNKNOWN|H5O_MSG_FLAG_SHAREABLE)
00079 
00080 
00081 #define H5O_UPDATE_TIME         0x01u
00082 #define H5O_UPDATE_FORCE        0x02u   
00083 
00084 
00085 #define H5O_HASH_SIZE 32
00086 
00087 
00088 #define H5O_CRT_ATTR_MAX_COMPACT_NAME   "max compact attr"      
00089 #define H5O_CRT_ATTR_MIN_DENSE_NAME     "min dense attr"        
00090 #define H5O_CRT_OHDR_FLAGS_NAME         "object header flags"   
00091 #ifdef H5O_ENABLE_BOGUS
00092 #define H5O_BOGUS_MSG_FLAGS_NAME        "bogus msg flags"       
00093 #define H5O_BOGUS_MSG_FLAGS_SIZE        sizeof(uint8_t)
00094 #endif 
00095 #ifdef H5O_ENABLE_BAD_MESG_COUNT
00096 #define H5O_BAD_MESG_COUNT_NAME         "bad message count"       
00097 #define H5O_BAD_MESG_COUNT_SIZE         sizeof(hbool_t)
00098 #endif 
00099 
00100 
00101 #define H5O_CPY_OPTION_NAME             "copy object"           
00102 
00103 
00104 #ifdef H5O_PACKAGE
00105 #define H5O_OH_GET_ADDR(O)    ((O)->chunk[0].addr)
00106 #else 
00107 #define H5O_OH_GET_ADDR(O)    (H5O_get_oh_addr(O))
00108 #endif 
00109 
00110 
00111 #define H5O_UPDATE_SHARED(SH_MESG, SH_TYPE, F, MSG_TYPE, CRT_IDX, OH_ADDR)    \
00112     (SH_MESG)->type = (SH_TYPE);                                              \
00113     (SH_MESG)->file = (F);                                                    \
00114     (SH_MESG)->msg_type_id = (MSG_TYPE);                                      \
00115     (SH_MESG)->u.loc.index = (CRT_IDX);                                       \
00116     (SH_MESG)->u.loc.oh_addr = (OH_ADDR);
00117 
00118 
00119 
00120 typedef uint64_t H5O_fheap_id_t;
00121 
00122 
00123 typedef struct H5O_loc_t {
00124     H5F_t       *file;          
00125     haddr_t     addr;           
00126     hbool_t     holding_file;   
00127 
00128 } H5O_loc_t;
00129 
00130 
00131 typedef struct H5O_copy_t {
00132     hbool_t copy_shallow;               
00133     hbool_t expand_soft_link;           
00134     hbool_t expand_ext_link;            
00135     hbool_t expand_ref;                 
00136     hbool_t copy_without_attr;          
00137     hbool_t preserve_null;              
00138     int     curr_depth;                 
00139     int     max_depth;                  
00140     H5SL_t  *map_list;                  
00141     H5O_t   *oh_dst;                    
00142 } H5O_copy_t;
00143 
00144 
00145 #define H5O_NULL_ID     0x0000          
00146 #define H5O_SDSPACE_ID  0x0001          
00147 #define H5O_LINFO_ID    0x0002          
00148 #define H5O_DTYPE_ID    0x0003          
00149 #define H5O_FILL_ID     0x0004          
00150 #define H5O_FILL_NEW_ID 0x0005          
00151 #define H5O_LINK_ID     0x0006          
00152 #define H5O_EFL_ID      0x0007          
00153 #define H5O_LAYOUT_ID   0x0008          
00154 #define H5O_BOGUS_ID    0x0009          
00155 #define H5O_GINFO_ID    0x000a          
00156 #define H5O_PLINE_ID    0x000b          
00157 #define H5O_ATTR_ID     0x000c          
00158 #define H5O_NAME_ID     0x000d          
00159 #define H5O_MTIME_ID    0x000e          
00160 #define H5O_SHMESG_ID   0x000f          
00161 #define H5O_CONT_ID     0x0010          
00162 #define H5O_STAB_ID     0x0011          
00163 #define H5O_MTIME_NEW_ID 0x0012         
00164 #define H5O_BTREEK_ID   0x0013          
00165 #define H5O_DRVINFO_ID  0x0014          
00166 #define H5O_AINFO_ID    0x0015          
00167 #define H5O_REFCOUNT_ID 0x0016          
00168 #define H5O_UNKNOWN_ID  0x0017          
00169                                         
00170 
00171 
00172 
00173 
00174 
00175 
00176 
00177 #define H5O_SHARE_TYPE_UNSHARED     0           
00178 #define H5O_SHARE_TYPE_SOHM         1           
00179 #define H5O_SHARE_TYPE_COMMITTED    2           
00180 #define H5O_SHARE_TYPE_HERE         3           
00181 
00182 
00183 #define H5O_IS_STORED_SHARED(T) ((((T) == H5O_SHARE_TYPE_SOHM) || ((T) == H5O_SHARE_TYPE_COMMITTED)) ? TRUE : FALSE)
00184 
00185 
00186 #define H5O_IS_TRACKED_SHARED(T) ((T) > 0)
00187 
00188 
00189 
00190 
00191 
00192 typedef struct H5O_mesg_loc_t {
00193     H5O_msg_crt_idx_t index;            
00194     haddr_t oh_addr;                    
00195 } H5O_mesg_loc_t;
00196 
00197 
00198 
00199 
00200 
00201 
00202 
00203 
00204 typedef struct H5O_shared_t {
00205     unsigned type;                      
00206     H5F_t *file;                        
00207     unsigned msg_type_id;               
00208     union {
00209         H5O_mesg_loc_t  loc;            
00210         H5O_fheap_id_t  heap_id;        
00211     } u;
00212 } H5O_shared_t;
00213 
00214 
00215 
00216 
00217 
00218 
00219 
00220 
00221 
00222 
00223 
00224 
00225 
00226 
00227 typedef struct H5O_linfo_t {
00228     
00229     hbool_t     track_corder;           
00230     hbool_t     index_corder;           
00231     int64_t     max_corder;             
00232     haddr_t     corder_bt2_addr;        
00233 
00234     
00235     hsize_t     nlinks;                 
00236     haddr_t     fheap_addr;             
00237     haddr_t     name_bt2_addr;          
00238 } H5O_linfo_t;
00239 
00240 
00241 
00242 #define H5O_FILL_VERSION_1      1
00243 
00244 #define H5O_FILL_VERSION_2      2
00245 
00246 #define H5O_FILL_VERSION_3      3
00247 
00248 
00249 
00250 #define H5O_FILL_VERSION_LATEST H5O_FILL_VERSION_3
00251 
00252 
00253 
00254 
00255 
00256 
00257 
00258 
00259 
00260 
00261 typedef struct H5O_fill_t {
00262     H5O_shared_t        sh_loc;         
00263 
00264     unsigned            version;        
00265     H5T_t               *type;          
00266     ssize_t             size;           
00267     void                *buf;           
00268     H5D_alloc_time_t    alloc_time;     
00269     H5D_fill_time_t     fill_time;      
00270     hbool_t             fill_defined;   
00271 } H5O_fill_t;
00272 
00273 
00274 
00275 
00276 
00277 typedef struct H5O_link_hard_t {
00278     haddr_t     addr;                   
00279 } H5O_link_hard_t;
00280 
00281 typedef struct H5O_link_soft_t {
00282     char        *name;                  
00283 } H5O_link_soft_t;
00284 
00285 typedef struct H5O_link_ud_t {
00286     void        *udata;                 
00287     size_t       size;                  
00288 } H5O_link_ud_t;
00289 
00290 typedef struct H5O_link_t {
00291     H5L_type_t  type;                   
00292     hbool_t     corder_valid;           
00293     int64_t     corder;                 
00294     H5T_cset_t  cset;                   
00295     char        *name;                  
00296     union {
00297         H5O_link_hard_t hard;           
00298         H5O_link_soft_t soft;           
00299         H5O_link_ud_t ud;               
00300     } u;
00301 } H5O_link_t;
00302 
00303 
00304 
00305 
00306 
00307 #define H5O_EFL_ALLOC           16      
00308 #define H5O_EFL_UNLIMITED       H5F_UNLIMITED 
00309 
00310 typedef struct H5O_efl_entry_t {
00311     size_t      name_offset;            
00312     char        *name;                  
00313     off_t       offset;                 
00314     hsize_t     size;                   
00315 } H5O_efl_entry_t;
00316 
00317 typedef struct H5O_efl_t {
00318     haddr_t     heap_addr;              
00319     size_t      nalloc;                 
00320     size_t      nused;                  
00321     H5O_efl_entry_t *slot;              
00322 } H5O_efl_t;
00323 
00324 
00325 
00326 
00327 
00328 #define H5O_LAYOUT_NDIMS        (H5S_MAX_RANK+1)
00329 
00330 
00331 #define H5O_LAYOUT_VERSION_1    1
00332 
00333 
00334 #define H5O_LAYOUT_VERSION_2    2
00335 
00336 
00337 
00338 
00339 
00340 
00341 #define H5O_LAYOUT_VERSION_3    3
00342 
00343 
00344 
00345 struct H5D_layout_ops_t;                
00346 struct H5D_chunk_ops_t;                 
00347 
00348 typedef struct H5O_layout_contig_t {
00349     haddr_t     addr;                   
00350     hsize_t     size;                   
00351 } H5O_layout_contig_t;
00352 
00353 typedef struct H5O_layout_chunk_btree_t {
00354     haddr_t     addr;                   
00355     H5RC_t     *shared;                 
00356 } H5O_layout_chunk_btree_t;
00357 
00358 typedef struct H5O_layout_chunk_t {
00359     H5D_chunk_index_t idx_type;         
00360     unsigned    ndims;                  
00361     uint32_t    dim[H5O_LAYOUT_NDIMS];  
00362     uint32_t    size;                   
00363     const struct H5D_chunk_ops_t *ops;  
00364     union {
00365         H5O_layout_chunk_btree_t btree; 
00366     } u;
00367 } H5O_layout_chunk_t;
00368 
00369 typedef struct H5O_layout_compact_t {
00370     hbool_t     dirty;                  
00371     size_t      size;                   
00372     void        *buf;                   
00373 } H5O_layout_compact_t;
00374 
00375 typedef struct H5O_layout_t {
00376     H5D_layout_t type;                  
00377     unsigned version;                   
00378     const struct H5D_layout_ops_t *ops; 
00379     union {
00380         H5O_layout_contig_t contig;     
00381         H5O_layout_chunk_t chunk;       
00382         H5O_layout_compact_t compact;   
00383     } u;
00384 } H5O_layout_t;
00385 
00386 
00387 
00388 
00389 #ifdef H5O_ENABLE_BOGUS
00390 
00391 
00392 
00393 
00394 #define H5O_BOGUS_VALUE         0xdeadbeef
00395 typedef struct H5O_bogus_t {
00396     unsigned u;                         
00397 } H5O_bogus_t;
00398 #endif 
00399 
00400 
00401 
00402 
00403 
00404 
00405 
00406 
00407 typedef struct H5O_ginfo_t {
00408     
00409     uint32_t    lheap_size_hint;        
00410 
00411     
00412 
00413     
00414     hbool_t     store_link_phase_change;
00415     uint16_t    max_compact;            
00416     uint16_t    min_dense;              
00417 
00418     
00419     hbool_t     store_est_entry_info;   
00420     uint16_t    est_num_entries;        
00421     uint16_t    est_name_len;           
00422 } H5O_ginfo_t;
00423 
00424 
00425 
00426 
00427 
00428 typedef struct H5O_pline_t {
00429     H5O_shared_t        sh_loc;         
00430 
00431     unsigned    version;                
00432     size_t      nalloc;                 
00433     size_t      nused;                  
00434     H5Z_filter_info_t *filter;          
00435 } H5O_pline_t;
00436 
00437 
00438 
00439 
00440 
00441 
00442 typedef struct H5O_name_t {
00443     char        *s;                     
00444 } H5O_name_t;
00445 
00446 
00447 
00448 
00449 
00450 
00451 
00452 typedef struct H5O_shmesg_table_t {
00453     haddr_t             addr;           
00454     unsigned            version;        
00455     unsigned            nindexes;       
00456 } H5O_shmesg_table_t;
00457 
00458 
00459 
00460 
00461 
00462 
00463 typedef struct H5O_cont_t {
00464     haddr_t     addr;                   
00465     size_t      size;                   
00466 
00467     
00468     unsigned    chunkno;                
00469 } H5O_cont_t;
00470 
00471 
00472 
00473 
00474 
00475 typedef struct H5O_stab_t {
00476     haddr_t     btree_addr;             
00477     haddr_t     heap_addr;              
00478 } H5O_stab_t;
00479 
00480 
00481 
00482 
00483 
00484 
00485 
00486 typedef struct H5O_btreek_t {
00487     unsigned        btree_k[H5B_NUM_BTREE_ID];  
00488     unsigned        sym_leaf_k;                 
00489 } H5O_btreek_t;
00490 
00491 
00492 
00493 
00494 
00495 
00496 typedef struct H5O_drvinfo_t {
00497     char                name[9];                
00498     size_t              len;                    
00499     uint8_t            *buf;                    
00500 } H5O_drvinfo_t;
00501 
00502 
00503 
00504 
00505 
00506 
00507 typedef struct H5O_ainfo_t {
00508     
00509     hbool_t     track_corder;           
00510     hbool_t     index_corder;           
00511     H5O_msg_crt_idx_t max_crt_idx;      
00512     haddr_t     corder_bt2_addr;        
00513 
00514     
00515     hsize_t     nattrs;                 
00516     haddr_t     fheap_addr;             
00517     haddr_t     name_bt2_addr;          
00518 } H5O_ainfo_t;
00519 
00520 
00521 
00522 
00523 
00524 typedef uint32_t H5O_refcount_t;        
00525 
00526 
00527 
00528 
00529 
00530 typedef unsigned H5O_unknown_t;         
00531 
00532 
00533 
00534 typedef herr_t (*H5O_operator_t)(const void *mesg, unsigned idx,
00535     void *operator_data);
00536 
00537 
00538 typedef herr_t (*H5O_lib_operator_t)(H5O_t *oh, H5O_mesg_t *mesg,
00539     unsigned sequence, hbool_t *oh_modified, void *operator_data);
00540 
00541 
00542 typedef struct {
00543     enum {
00544         H5O_MESG_OP_APP,            
00545         H5O_MESG_OP_LIB             
00546     } op_type;
00547     union {
00548         H5O_operator_t app_op;      
00549         H5O_lib_operator_t lib_op;  
00550     } u;
00551 } H5O_mesg_operator_t;
00552 
00553 
00554 
00555 typedef struct {
00556     H5O_type_t obj_type;        
00557     void *crt_info;             
00558     void *new_obj;              
00559 } H5O_obj_create_t;
00560 
00561 
00562 struct H5P_genplist_t;
00563 
00564 
00565 H5_DLL herr_t H5O_init(void);
00566 H5_DLL herr_t H5O_create(H5F_t *f, hid_t dxpl_id, size_t size_hint,
00567     hid_t ocpl_id, H5O_loc_t *loc);
00568 H5_DLL herr_t H5O_open(H5O_loc_t *loc);
00569 H5_DLL herr_t H5O_close(H5O_loc_t *loc);
00570 H5_DLL int H5O_link(const H5O_loc_t *loc, int adjust, hid_t dxpl_id);
00571 H5_DLL int H5O_link_oh(H5F_t *f, int adjust, hid_t dxpl_id, H5O_t *oh, unsigned *oh_flags);
00572 H5_DLL H5O_t *H5O_protect(H5O_loc_t *loc, hid_t dxpl_id);
00573 H5_DLL herr_t H5O_unprotect(H5O_loc_t *loc, H5O_t *oh);
00574 H5_DLL herr_t H5O_touch(H5O_loc_t *loc, hbool_t force, hid_t dxpl_id);
00575 H5_DLL herr_t H5O_touch_oh(H5F_t *f, hid_t dxpl_id, H5O_t *oh,
00576     hbool_t force);
00577 #ifdef H5O_ENABLE_BOGUS
00578 H5_DLL herr_t H5O_bogus_oh(H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned mesg_flags);
00579 #endif 
00580 H5_DLL herr_t H5O_delete(H5F_t *f, hid_t dxpl_id, haddr_t addr);
00581 H5_DLL herr_t H5O_get_info(H5O_loc_t *oloc, hid_t dxpl_id, hbool_t want_ih_info,
00582     H5O_info_t *oinfo);
00583 H5_DLL herr_t H5O_obj_type(const H5O_loc_t *loc, H5O_type_t *obj_type, hid_t dxpl_id);
00584 H5_DLL herr_t H5O_get_create_plist(const H5O_loc_t *loc, hid_t dxpl_id, struct H5P_genplist_t *oc_plist);
00585 H5_DLL hid_t H5O_open_name(H5G_loc_t *loc, const char *name, hid_t lapl_id, hbool_t app_ref);
00586 H5_DLL herr_t H5O_get_nlinks(const H5O_loc_t *loc, hid_t dxpl_id, hsize_t *nlinks);
00587 H5_DLL void *H5O_obj_create(H5F_t *f, H5O_type_t obj_type, void *crt_info, H5G_loc_t *obj_loc, hid_t dxpl_id);
00588 H5_DLL haddr_t H5O_get_oh_addr(const H5O_t *oh);
00589 H5_DLL herr_t H5O_get_rc_and_type(const H5O_loc_t *oloc, hid_t dxpl_id, unsigned *rc, H5O_type_t *otype);
00590 
00591 
00592 H5_DLL herr_t H5O_msg_create(const H5O_loc_t *loc, unsigned type_id, unsigned mesg_flags,
00593     unsigned update_flags, void *mesg, hid_t dxpl_id);
00594 H5_DLL herr_t H5O_msg_append_oh(H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned type_id,
00595     unsigned mesg_flags, unsigned update_flags, void *mesg);
00596 H5_DLL herr_t H5O_msg_write(const H5O_loc_t *loc, unsigned type_id,
00597     unsigned mesg_flags, unsigned update_flags, void *mesg, hid_t dxpl_id);
00598 H5_DLL herr_t H5O_msg_write_oh(H5F_t *f, hid_t dxpl_id, H5O_t *oh,
00599     unsigned type_id, unsigned mesg_flags, unsigned update_flags, void *mesg);
00600 H5_DLL void *H5O_msg_read(const H5O_loc_t *loc, unsigned type_id, void *mesg,
00601     hid_t dxpl_id);
00602 H5_DLL void *H5O_msg_read_oh(H5F_t *f, hid_t dxpl_id, H5O_t *oh, unsigned type_id,
00603     void *mesg);
00604 H5_DLL herr_t H5O_msg_reset(unsigned type_id, void *native);
00605 H5_DLL void *H5O_msg_free(unsigned type_id, void *mesg);
00606 H5_DLL void *H5O_msg_copy(unsigned type_id, const void *mesg, void *dst);
00607 H5_DLL int H5O_msg_count(const H5O_loc_t *loc, unsigned type_id, hid_t dxpl_id);
00608 H5_DLL htri_t H5O_msg_exists(const H5O_loc_t *loc, unsigned type_id, hid_t dxpl_id);
00609 H5_DLL htri_t H5O_msg_exists_oh(const H5O_t *oh, unsigned type_id);
00610 H5_DLL herr_t H5O_msg_remove(const H5O_loc_t *loc, unsigned type_id, int sequence,
00611     hbool_t adj_link, hid_t dxpl_id);
00612 H5_DLL herr_t H5O_msg_remove_op(const H5O_loc_t *loc, unsigned type_id, int sequence,
00613     H5O_operator_t op, void *op_data, hbool_t adj_link, hid_t dxpl_id);
00614 H5_DLL herr_t H5O_msg_iterate(const H5O_loc_t *loc, unsigned type_id,
00615     const H5O_mesg_operator_t *op, void *op_data, hid_t dxpl_id);
00616 H5_DLL size_t H5O_msg_raw_size(const H5F_t *f, unsigned type_id,
00617     hbool_t disable_shared, const void *mesg);
00618 H5_DLL size_t H5O_msg_size_f(const H5F_t *f, hid_t ocpl_id, unsigned type_id,
00619     const void *mesg, size_t extra_raw);
00620 H5_DLL size_t H5O_msg_size_oh(const H5F_t *f, const H5O_t *oh, unsigned type_id,
00621     const void *mesg, size_t extra_raw);
00622 H5_DLL htri_t H5O_msg_is_shared(unsigned type_id, const void *mesg);
00623 H5_DLL htri_t H5O_msg_can_share(unsigned type_id, const void *mesg);
00624 H5_DLL htri_t H5O_msg_can_share_in_ohdr(unsigned type_id);
00625 H5_DLL herr_t H5O_msg_set_share(unsigned type_id, const H5O_shared_t *share,
00626     void *mesg);
00627 H5_DLL herr_t H5O_msg_reset_share(unsigned type_id, void *mesg);
00628 H5_DLL herr_t H5O_msg_get_crt_index(unsigned type_id, const void *mesg,
00629     H5O_msg_crt_idx_t *crt_idx);
00630 H5_DLL herr_t H5O_msg_encode(H5F_t *f, unsigned type_id, hbool_t disable_shared,
00631     unsigned char *buf, const void *obj);
00632 H5_DLL void* H5O_msg_decode(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh,
00633     unsigned type_id, const unsigned char *buf);
00634 H5_DLL herr_t H5O_msg_delete(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh,
00635     unsigned type_id, void *mesg);
00636 
00637 
00638 H5_DLL herr_t H5O_copy_header_map(const H5O_loc_t *oloc_src, H5O_loc_t *oloc_dst ,
00639     hid_t dxpl_id, H5O_copy_t *cpy_info, hbool_t inc_depth);
00640 H5_DLL herr_t H5O_copy_expand_ref(H5F_t *file_src, void *_src_ref, hid_t dxpl_id,
00641     H5F_t *file_dst, void *_dst_ref, size_t ref_count, H5R_type_t ref_type,
00642     H5O_copy_t *cpy_info);
00643 
00644 
00645 H5_DLL herr_t H5O_debug_id(unsigned type_id, H5F_t *f, hid_t dxpl_id, const void *mesg, FILE *stream, int indent, int fwidth);
00646 H5_DLL herr_t H5O_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE * stream, int indent,
00647                          int fwidth);
00648 
00649 
00650 H5_DLL herr_t H5O_loc_reset(H5O_loc_t *loc);
00651 H5_DLL herr_t H5O_loc_copy(H5O_loc_t *dst, const H5O_loc_t *src, H5_copy_depth_t depth);
00652 H5_DLL herr_t H5O_loc_hold_file(H5O_loc_t *loc);
00653 H5_DLL herr_t H5O_loc_free(H5O_loc_t *loc);
00654 
00655 
00656 H5_DLL size_t H5O_layout_meta_size(const H5F_t *f, const void *_mesg);
00657 
00658 
00659 H5_DLL hsize_t H5O_efl_total_size(H5O_efl_t *efl);
00660 
00661 
00662 H5_DLL herr_t H5O_fill_reset_dyn(H5O_fill_t *fill);
00663 H5_DLL herr_t H5O_fill_convert(H5O_fill_t *fill, H5T_t *type, hbool_t *fill_changed, hid_t dxpl_id);
00664 H5_DLL herr_t H5O_fill_set_latest_version(H5O_fill_t *fill);
00665 
00666 
00667 H5_DLL herr_t H5O_link_delete(H5F_t *f, hid_t dxpl_id, H5O_t *open_oh,
00668     void *_mesg);
00669 
00670 
00671 H5_DLL herr_t H5O_set_shared(H5O_shared_t *dst, const H5O_shared_t *src);
00672 
00673 #endif 
00674