This file is indexed.

/usr/include/zmqpp/signal.hpp is in libzmqpp-dev 4.1.2-0ubuntu2.

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
/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file is part of zmqpp.
 * Copyright (c) 2011-2015 Contributors as noted in the AUTHORS file.
 */

#pragma once

#include <cstdint>
#include <iostream>
#include "compatibility.hpp"

namespace zmqpp
{

    /**
     * Signal is a 8 bytes integer. 7 first bytes acts as a magic number so we can distinguish signal
     * from other message. The last byte is the signal's value.
     */
    ZMQPP_COMPARABLE_ENUM signal : int64_t
    {
	/**
	 * Only 7 bytes matter here
	 */
	header = 0x0077665544332211L,
	/**
	 * Indicates a success.
	 */
	ok = (header << 8) | 0x00,
	/**
	 * Indicates an error.
	 */
	ko = (header << 8) | 0x01,
	/**
	 * Indicates a request to stop. This is used from parent thread to child within the actor class
	 */
	stop = (header << 8) | 0x02,

	test = (header << 8) | 0xFF
    };

}


namespace std
{
    /**
     * Write the value of the signal to the stream without removing the signal header..
     */
    ostream &operator<<(ostream &s, const zmqpp::signal &sig);
}