This file is indexed.

/usr/include/astrotcl/ux_press.h is in skycat 3.1.2+starlink1~b-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
66
67
68
69
70
/*+
************************************************************************
****  C A N A D I A N   A S T R O N O M Y   D A T A   C E N T R E  *****
*
*   Include File Name:	press/h/ux_press.h
*
*   Purpose:
*	Private header for the unix compress routines.
*
*   Date		: Feb 23, 1993
*
*   SCCS data		: @(#)
*	Module Name	: ux_press.h
*	Version Number	: 1.1
*	Release Number	: 1
*	Last Updated	: 03/01/93
*
*   Programmer		: Norman Hill
*
*   Modification History:
*
****  C A N A D I A N   A S T R O N O M Y   D A T A   C E N T R E  *****
************************************************************************
-*/

#include <gen_msg.h>

typedef int		code_int;
typedef long int	count_int;


/*
 *  Define the bits for the third byte in the header.
 */

#define	BLOCK_MASK	0x80
#define	BIT_MASK	0x1f
#define	CHECK_GAP	50000


/*
 * the next two codes should not be changed lightly, as they must not
 * lie within the contiguous general code space.
 */

#define FIRST   257     /* first free entry */
#define CLEAR   256     /* table clear output code */


#define	BITS		16	/* Maximum number of bits.		*/
#define	INIT_BITS	9	/* Initial number of bits/code.		*/
#define	HSIZE		69001	/* Hash table size.			*/

#define htabof(i)       htab[i]
#define codetabof(i)    codetab[i]


/*
 * To save much memory, we overlay the table used by compress() with those
 * used by decompress().  The tab_prefix table is the same size and type
 * as the codetab.  The tab_suffix table needs 2**BITS characters.  We
 * get this from the beginning of htab.  The output stack uses the rest
 * of htab, and contains characters.  There is plenty of room for any
 * possible stack (stack used to be 8000 characters).
 */

#define tab_prefixof(i) 	codetabof(i)
#define tab_suffixof(i)		((byte *)(htab))[i]
#define de_stack		((byte *)&tab_suffixof(1<<BITS))
#define MAXCODE(n_bits)		((1 << (n_bits)) - 1)