This file is indexed.

/usr/include/jsonrpccpp/common/specificationwriter.h is in libjsonrpccpp-dev 0.7.0-1build2.

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
/*************************************************************************
 * libjson-rpc-cpp
 *************************************************************************
 * @file    specificationwriter.h
 * @date    30.04.2013
 * @author  Peter Spiess-Knafl <peter.knafl@gmail.com>
 * @license See attached LICENSE.txt
 ************************************************************************/

#ifndef JSONRPC_CPP_SPECIFICATIONWRITER_H
#define JSONRPC_CPP_SPECIFICATIONWRITER_H

#include "procedure.h"
#include "specification.h"

namespace jsonrpc {
    class SpecificationWriter
    {
        public:
            static Json::Value  toJsonValue (const std::vector<Procedure>& procedures);
            static std::string  toString    (const std::vector<Procedure>& procedures);
            static bool         toFile      (const std::string& filename, const std::vector<Procedure>& procedures);

        private:
            static Json::Value  toJsonLiteral           (jsontype_t type);
            static void         procedureToJsonValue    (const Procedure& procedure, Json::Value& target);
    };
}

#endif // JSONRPC_CPP_SPECIFICATIONWRITER_H