This file is indexed.

/usr/include/jsonrpccpp/stubgen/stubgenerator.h is in libjsonrpccpp-dev 0.6.0-2build1.

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

#ifndef JSONRPC_CPP_STUBGENERATOR_H
#define JSONRPC_CPP_STUBGENERATOR_H

#include <string>
#include <jsonrpccpp/common/procedure.h>

#include "codegenerator.h"

namespace jsonrpc
{
    enum connectiontype_t {CONNECTION_HTTP};

    class StubGenerator : public CodeGenerator
    {
        public:
            StubGenerator(const std::string& stubname, std::vector<Procedure> &procedures, std::ostream &outputstream);
            StubGenerator(const std::string& stubname, std::vector<Procedure> &procedures, const std::string &filename);

            virtual ~StubGenerator();
            virtual void generateStub() = 0;

            static std::string replaceAll(const std::string& text, const std::string& fnd, const std::string& rep);
            static void replaceAll2(std::string &text, const std::string &find, const std::string &replace);

        protected:
            std::string             stubname;
            std::vector<Procedure>  &procedures;
    };
}


#endif // JSONRPC_CPP_STUBGENERATOR_H