This file is indexed.

/usr/include/zorp/streamssl.h is in libzorpll-6.0-10-dev 6.0.10.0-3.

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
/***************************************************************************
 *
 * This file is covered by a dual licence. You can choose whether you
 * want to use it according to the terms of the GNU GPL version 2, or
 * under the terms of Zorp Professional Firewall System EULA located
 * on the Zorp installation CD.
 *
 ***************************************************************************/

#ifndef ZORP_STREAMSSL_H_INCLUDED
#define ZORP_STREAMSSL_H_INCLUDED

#include <zorp/ssl.h>

#ifdef __cplusplus
extern "C" {
#endif

#define ZST_CTRL_SSL_SET_SESSION     (0x01) | ZST_CTRL_SSL_OFS
#define ZST_CTRL_SSL_ADD_HANDSHAKE   (0x02) | ZST_CTRL_SSL_OFS

LIBZORPLL_EXTERN ZClass ZStreamSsl__class;

ZStream * z_stream_ssl_new(ZStream *stream, ZSSLSession *ssl);

static inline void
z_stream_ssl_set_session(ZStream *self, ZSSLSession *ssl)
{
  z_stream_ctrl(self, ZST_CTRL_SSL_SET_SESSION, ssl, sizeof(&ssl));
}

typedef struct
{
  gpointer handshake;
  GDestroyNotify destroy_function;
} ZStreamSslHandshakeData;

static inline void
z_stream_ssl_add_handshake(ZStream *self, gpointer handshake, GDestroyNotify destroy)
{
  ZStreamSslHandshakeData data;

  data.handshake = handshake;
  data.destroy_function = destroy;

  z_stream_ctrl(self, ZST_CTRL_SSL_ADD_HANDSHAKE, &data, sizeof(data));
}

#ifdef __cplusplus
}
#endif

#endif /* ZORP_GIOSSL_H_INCLUDED */