/usr/include/hdf/hdatainfo.h is in libhdf4-dev 4.2r10-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF. The full HDF copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at *
* http://hdfgroup.org/products/hdf4/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* $Id: hproto.h 5400 2010-04-22 03:45:32Z bmribler $ */
#ifndef _HDATAINFO_H
#define _HDATAINFO_H
#include "H4api_adpt.h"
#if defined c_plusplus || defined __cplusplus
extern "C"
{
#endif /* c_plusplus || __cplusplus */
/* Structure that holds a data descriptor. First added for GRgetpalinfo. */
typedef struct hdf_ddinfo_t
{
uint16 tag;
uint16 ref;
int32 offset;
int32 length;
} hdf_ddinfo_t;
/* Public functions for getting raw data information */
HDFLIBAPI intn ANgetdatainfo
(int32 ann_id, int32 *offset, int32 *length);
HDFLIBAPI intn HDgetdatainfo
(int32 file_id, uint16 data_tag, uint16 data_ref,
int32 *chk_coord, uintn start_block, uintn info_count,
int32 *offsetarray, int32 *lengtharray);
HDFLIBAPI intn VSgetdatainfo
(int32 vsid, uintn start_block, uintn info_count,
int32 *offsetarray, int32 *lengtharray);
HDFLIBAPI intn VSgetattdatainfo
(int32 vsid, int32 findex, intn attrindex, int32 *offset, int32 *length);
HDFLIBAPI intn Vgetattdatainfo
(int32 vgid, intn attrindex, int32 *offset, int32 *length);
HDFLIBAPI intn GRgetdatainfo
(int32 riid, uintn start_block, uintn info_count,
int32 *offsetarray, int32 *lengtharray);
HDFLIBAPI intn GRgetattdatainfo
(int32 id, int32 attrindex, int32 *offset, int32 *length);
HDFLIBAPI intn GRgetpalinfo(int32 gr_id, uintn pal_count, hdf_ddinfo_t *palinfo_array);
#if defined c_plusplus || defined __cplusplus
}
#endif /* c_plusplus || __cplusplus */
#endif /* _HDATAINFO */
|