This file is indexed.

/usr/include/zmqpp/socket_mechanisms.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
55
56
57
58
/*
 * 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.
 */

/**
 * \file
 *
 * \date   13 Aug 2014
 * \author Ben Gray (\@benjamg)
 */

#ifndef ZMQPP_SOCKET_MECHANISMS_HPP_
#define ZMQPP_SOCKET_MECHANISMS_HPP_

namespace zmqpp
{

/*!
 * \brief Socket security mechanisms allowed by zmq
 *
 * Each is designed for a different use and has different limitations.
 */
ZMQPP_COMPARABLE_ENUM socket_security {
#if (ZMQ_VERSION_MAJOR >= 4)
	/*!
	 * The NULL mechanism is defined by the ZMTP 3.0 specification:
	 * http://rfc.zeromq.org/spec:23. This is the default security mechanism
	 * for new ZeroMQ sockets
	 */
	none      = ZMQ_NULL,

	/*!
	 * The PLAIN mechanism defines a simple username/password mechanism that
	 * lets a server authenticate a client. PLAIN makes no attempt at security
	 * or confidentiality. It is intended for use on internal networks where
	 * security requirements are low. The PLAIN mechanism is defined by this
	 * document: http://rfc.zeromq.org/spec:24
	 */
	plain     = ZMQ_PLAIN,

	/*!
	 * The CURVE mechanism defines a mechanism for secure authentication and
	 * confidentiality for communications between a client and a server. CURVE
	 * is intended for use on public networks. The CURVE mechanism is defined
	 * by this document: http://rfc.zeromq.org/spec:25
	 */
	curve     = ZMQ_CURVE,
#endif
};

}

#endif /* ZMQPP_SOCKET_TYPES_HPP_ */