/usr/include/hdf/dfan.h is in libhdf4-dev 4.2.10-3.
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 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 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: dfan.h 4932 2007-09-07 17:17:23Z bmribler $ */
/*------------------------------------------------------------------------------
* File: dfan.h
* Purpose: header file for the Annotations set
* Invokes: df.h
* Contents:
* Structure definitions: DFANdirentry, DFANdirhead
* Constant definitions: DFAN_LABEL, DFAN_DESC
* Remarks: none
*----------------------------------------------------------------------------*/
#ifndef DFAN_H /* avoid re-inclusion */
#define DFAN_H
#include "hdf.h"
#define DFAN_LABEL 0
#define DFAN_DESC 1
#define DFAN_LAB_BLKSIZE 64 /* default blksize to use for labels */
#define DFAN_DESC_BLKSIZE 512 /* default blksize to use for descriptions */
#define DFAN_DEFENTRIES 16 /* no of dir entries to add at a time */
/*
* This structure stores an entry in the label/desc directory
* for a label/desc in the file, it gives the ref of the label/desc,
* and the tag/ref of the data item to which the label/desc relates
*/
typedef struct
{
uint16 annref; /* ref of annotation */
uint16 datatag; /* tag of data */
uint16 dataref; /* ref of data */
}
DFANdirentry;
/*
* This structure is a head node for the directory, which is organized as
* as a linked list of arrays. DFANdirentry is the structure of an
* array element, while DFANdirhead is the list element
*/
typedef struct DFANdirhead
{
struct DFANdirhead *next; /* list element */
int32 nentries; /* Numer of entries */
DFANdirentry *entries; /* actually an arbitrary size array */
}
DFANdirhead;
#endif /* DFAN_H */
|