This file is indexed.

/usr/include/Xm/PictureP.h is in libmotif-dev 2.3.4-5.

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
90
91
92
93
94
95
96
97
/*
 * Motif
 *
 * Copyright (c) 1987-2012, The Open Group. All rights reserved.
 *
 * These libraries and programs are free software; you can
 * redistribute them and/or modify them under the terms of the GNU
 * Lesser General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * These libraries and programs are distributed in the hope that
 * they will be useful, but WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE. See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with these librararies and programs; if not, write
 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 * Floor, Boston, MA 02110-1301 USA
 * 
 */
#include <Xm/Picture.h>

#define NUMDIGIT      '#'
#define HEXDIGIT      'x'
#define OCTALDIGIT    'o'
#define NONCASELETTER '?'
#define UPCASELETTER  '&'
#define NONCASECHAR   '@'
#define UPCASECHAR    '!'
#define ESCAPE        ';'
#define CLOSURE       '*'
#define LBRACKET      '['
#define RBRACKET      ']'
#define LBRACE        '{'
#define RBRACE        '}'
#define ALTERNATIVE   ','

#define NODE_START_COUNT 40

typedef enum {
    NullTransition,		/* Transition on no input */
    NumericDigit,		/* eqivalent to [0-9] */
    HexDigit,			/* eqivalent to [0-9a-fA-F] */
    OctalDigit,			/* eqivalent to [0-7] */
    AnyLetter,			/* [a-zA-Z] */
    UpCaseLetter,		/* ditto, but translates [a-zA-Z] -> [A-Z] */
    AnyCharacter,		/* Any printing character */
    UpCaseCharacter,		/* ditto, case transition as above */
    LiteralCharacter		/* Single character */
} XmTransType;

typedef struct _XmPictureTransition {
    int                 destination;   /* Node to transition to */
    XmTransType         type;	       /* literal, null, upcasechar, etc... */
    char                c;	       /* key -- used for literals */
				       /* OR: count for closures */
    struct _XmPictureTransition *next; /* Next transition from our node */
} XmPictureTransition;

typedef struct _XmPictureNode {
    int                  index;
    XmPictureTransition *transitions;
} XmPictureNode;

typedef struct _XmPictureRec {
    char          * source;	/* string it was parsed from */
    int             num_nodes;
    int             nodes_alloced;
    int             start_node;
    int             final_node;
    XmPictureNode **nodes;	/* array of nodes */
} XmPictureRec;

typedef struct _XmPictureStateRec {
    XmPictureRec  *picture;
    char          *current_string;
    char          *append;
    int            statesize;
    unsigned char *state;	/* bitvector of states */
    unsigned char *newstate;	/* scratch space for use in
				   transitions */
    char           current;	/* currently added character */
    Boolean        upcase;
} XmPictureStateRec;

typedef struct _XmAutoFill {
    char    c;			/* char to fill */
    Boolean reject;		/* literal's didn't match: it's "right out" */
    Boolean digit;		/* isdigit(c) must be true */
    Boolean upcase;		/* isupper(c) must be true */
    Boolean letter;		/* isalpha(c) must be true */
    Boolean hexdigit;		/* isxdigit(c) must be true */
    Boolean octaldigit;		/* must be 0-7 */
} XmAutoFill;