This file is indexed.

/usr/include/FlightCrew/ResultId.h is in libflightcrew-dev 0.7.2+dfsg-6.

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 (C) 2010  Strahinja Markovic
**
**  This file is part of FlightCrew.
**
**  FlightCrew is free software: you can redistribute it and/or modify
**  it under the terms of the GNU Lesser General Public License as published
**  by the Free Software Foundation, either version 3 of the License, or
**  (at your option) any later version.
**
**  FlightCrew 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 Lesser General Public License for more details.
**
**  You should have received a copy of the GNU Lesser General Public License
**  along with FlightCrew.  If not, see <http://www.gnu.org/licenses/>.
**
*************************************************************************/

#pragma once
#ifndef RESULTID_H
#define RESULTID_H

#include "ResultType.h"

namespace FlightCrew
{

enum ResultId
{
    ALL_OK = 100,
    UNABLE_TO_PERFORM_VALIDATION,

    ERROR_GENERIC = 300,
    ERROR_SCHEMA_NOT_SATISFIED,

    ERROR_EPUB_NOT_VALID_ZIP_ARCHIVE = 500,
    ERROR_EPUB_NO_CONTAINER_XML,
    ERROR_EPUB_MIMETYPE_BYTES_INVALID,

    ERROR_OCF_CONTAINER_DOESNT_LIST_OPF = 700,
    ERROR_OCF_CONTAINER_SPECIFIED_OPF_DOESNT_EXIST,

    ERROR_XML_NOT_WELL_FORMED = 900,
    ERROR_XML_ELEMENT_NOT_PRESENT,
    ERROR_XML_WRONG_ELEMENT_COUNT,
    ERROR_XML_CHILD_NOT_RECOGNIZED,
    ERROR_XML_ATTRIBUTE_NOT_RECOGNIZED,
    ERROR_XML_REQUIRED_ATTRIBUTE_MISSING,
    ERROR_XML_ID_NOT_UNIQUE,
    ERROR_XML_BAD_ID_VALUE,
    ERROR_XML_SPECIFIES_NEITHER_UTF8_NOR_UTF16,
    ERROR_XML_BYTESTREAM_NEITHER_UTF8_NOR_UTF16,

    ERROR_OPF_PACKAGE_NOT_ROOT = 1100,
    ERROR_OPF_IDREF_ID_DOES_NOT_EXIST,
    ERROR_OPF_IDREF_NOT_UNIQUE,
    ERROR_OPF_BAD_SPINE_TOC_VALUE,
    ERROR_OPF_PACKAGE_UNIQUE_IDENTIFIER_DOES_NOT_EXIST,
    ERROR_OPF_BAD_PACKAGE_VERSION,
    ERROR_OPF_BAD_ITEM_LINEAR_VALUE,
    ERROR_OPF_BAD_ITEM_MEDIA_TYPE_VALUE,
    ERROR_OPF_BAD_CREATOR_OR_CONTRIBUTOR_ROLE_VALUE,
    ERROR_OPF_BAD_REFERENCE_TYPE_VALUE,
    ERROR_OPF_BAD_DATE_VALUE,
    ERROR_OPF_ITEM_HREF_INVALID_URI,
    ERROR_OPF_ITEM_HREF_HAS_FRAGMENT,
    ERROR_OPF_ITEM_HREF_NOT_UNIQUE,
    ERROR_OPF_ITEM_REQMOD_WITHOUT_REQNS,
    ERROR_OPF_ITEM_FILE_DOESNT_EXIST,
    ERROR_OPF_NCX_NOT_PRESENT,
    ERROR_OPF_REACHABLE_OPS_DOC_NOT_IN_SPINE,
    ERROR_OPF_REACHABLE_RESOURCE_NOT_IN_MANIFEST,

    ERROR_NCX_CONTENT_FILE_DOES_NOT_EXIST = 1300,
    ERROR_NCX_CONTENT_FRAGMENT_DOES_NOT_EXIST,

    ERROR_XHTML_BAD_DTD = 1500,

    WARNING_GENERIC = ResultType_WARNING,

    WARNING_OPF_RESOURCE_IN_MANIFEST_NOT_REACHABLE = ResultType_WARNING + 200
};

} // namespace FlightCrew

#endif // RESULTID_H