This file is indexed.

/usr/include/paw/ntuple/smap.h is in libpawlib2-dev 1:2.14.04.dfsg.2-9.

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
/*
 *  smap.h  --
 *	Define String Table, a String Vector with Hashed lookup
 *	which creates a fixed mapping between a string and an integer
 *
 *  Original: 10-Jan-1996 11:48
 *
 *  Author:   Maarten Ballintijn <Maarten.Ballintijn@cern.ch>
 *
 *  $Id: smap.h,v 1.8 2001/09/18 13:55:19 couet Exp $
 *
 *  $Log: smap.h,v $
 *  Revision 1.8  2001/09/18 13:55:19  couet
 *  - smap_sort is not used anymore. It has been removed.
 *
 *  Revision 1.7  1996/04/23 18:39:10  maartenb
 *  - Add RCS keywords
 *
 *
 */

#ifndef CERN_SMAP
#define CERN_SMAP


#include <paw/ntuple/cern_types.h>
#include <paw/ntuple/hash_int_table.h>
#include <paw/ntuple/svec.h>

typedef struct _smap_struct_ {
	int		fSize;
	int		fEntries;
	SVec		fV;
	HashIntTable	fT;
} SMapStruct;

typedef SMapStruct	*SMap;


extern SMap
smap_new( int max );

extern SMap
smap_copy( SMap old );

extern int
smap_add( SMap st, String s );

extern int
smap_entries( SMap st );

extern String
smap_get( SMap st, const int i );

extern bool
smap_map( SMap st, String s, int * ip );

extern void
smap_del( SMap st );

#endif	/*	CERN_SMAP	*/