/usr/include/hdf/cnone.h is in libhdf4-dev 4.2r4-12build1.
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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 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: cnone.h 4932 2007-09-07 17:17:23Z bmribler $ */
/*-----------------------------------------------------------------------------
* File: cnone.h
* Purpose: Header file for "none" encoding information.
* Dependencies: should only be included from hcompi.h
* Invokes: none
* Contents: Structures & definitions for "none" encoding. This header
* should only be included in hcomp.c and cnone.c.
* Structure definitions:
* Constant definitions:
*---------------------------------------------------------------------------*/
/* avoid re-inclusion */
#ifndef __CNONE_H
#define __CNONE_H
#if defined c_plusplus || defined __cplusplus
extern "C"
{
#endif /* c_plusplus || __cplusplus */
/*
** from cnone.c
*/
extern int32 HCPcnone_stread
(accrec_t * rec);
extern int32 HCPcnone_stwrite
(accrec_t * rec);
extern int32 HCPcnone_seek
(accrec_t * access_rec, int32 offset, int origin);
extern int32 HCPcnone_inquire
(accrec_t * access_rec, int32 *pfile_id, uint16 *ptag, uint16 *pref,
int32 *plength, int32 *poffset, int32 *pposn, int16 *paccess,
int16 *pspecial);
extern int32 HCPcnone_read
(accrec_t * access_rec, int32 length, void * data);
extern int32 HCPcnone_write
(accrec_t * access_rec, int32 length, const void * data);
extern intn HCPcnone_endaccess
(accrec_t * access_rec);
#if defined c_plusplus || defined __cplusplus
}
#endif /* c_plusplus || __cplusplus */
/* "none" [en|de]coding information */
typedef struct
{
intn space_holder; /* merely a space holder so compilers don't barf */
}
comp_coder_none_info_t;
#ifndef CNONE_MASTER
extern funclist_t cnone_funcs; /* functions to perform run-length encoding */
#else
funclist_t cnone_funcs =
{ /* functions to perform run-length encoding */
HCPcnone_stread,
HCPcnone_stwrite,
HCPcnone_seek,
HCPcnone_inquire,
HCPcnone_read,
HCPcnone_write,
HCPcnone_endaccess
};
#endif
#endif /* __CNONE_H */
|