This file is indexed.

/usr/include/hfsplus/blockiter.h is in libhfsp-dev 1.0.4-12.1.

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
/*
 * libhfs - library for reading and writing Macintosh HFS volumes
 *
 * The iterator shown here iterates over the blocks of a fork.
 * 
 * Copyright (C) 2000 Klaus Halfmann <klaus.halfmann@feri.de>
 * Original work by 1996-1998 Robert Leslie <rob@mars.org>
 * other work 2000 from Brad Boyer (flar@pants.nu)  
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * $Id: blockiter.h,v 1.1.1.1 2002/03/05 19:50:28 klaus Exp $
 */

/*  Structure of the blockiterator */
typedef struct 
{
    volume*	    vol;	// volume we iterate over
    UInt32	    curr_block;	// current, absolute block
    UInt32	    block;	// relative block in current extent
    UInt32	    max_block;	// Maximum allowed block
    UInt32	    fileId;	// id of file we iterate over
    int		    index;	// 0 .. 7 in current extent
    hfsp_extent*    file;	// original extent record from file
    hfsp_extent*    e;		// current extentent under examination
    UInt8	    forktype;	// type of fork we iterate over
    UInt8	    in_extent;	// boolean  0 - in file extent
				//	    1 - in extents file
    extent_record   er;		// record to iterate in extents file. 
} blockiter;

/* Initialize iterator for a given fork */
extern void blockiter_init(blockiter* b, volume* vol, hfsp_fork_raw* f, 
			    UInt8 forktype, UInt32 fileId);

/* find next block of the fork iterating over */
extern int blockiter_next(blockiter *b);

/* skip the indicated number of blocks */
extern int blockiter_skip(blockiter *b, UInt32 skip);

/* return current block */
extern inline UInt32 blockiter_curr(blockiter *b)
{
    return b->e->start_block + b->block;
}