This file is indexed.

/usr/include/dovecot/sieve/program-client.h is in dovecot-dev 1:2.2.22-1ubuntu2.

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
/* Copyright (c) 2002-2016 Pigeonhole authors, see the included COPYING file
 */

#ifndef __PROGRAM_CLIENT_H
#define __PROGRAM_CLIENT_H

struct program_client;

struct program_client_settings {
	unsigned int client_connect_timeout_msecs;
	unsigned int input_idle_timeout_secs;

	uid_t uid;
	gid_t gid;

	unsigned int debug:1;
	unsigned int drop_stderr:1;
};

typedef void program_client_fd_callback_t
	(void *context, struct istream *input);

struct program_client *program_client_local_create
	(const char *bin_path, const char *const *args,
		const struct program_client_settings *set);
struct program_client *program_client_remote_create
	(const char *socket_path, const char *const *args,
		const struct program_client_settings *set, bool noreply);

void program_client_destroy(struct program_client **_pclient);

void program_client_set_input
	(struct program_client *pclient, struct istream *input);
void program_client_set_output
	(struct program_client *pclient, struct ostream *output);

void program_client_set_output_seekable
	(struct program_client *pclient, const char *temp_prefix);
struct istream *program_client_get_output_seekable
	(struct program_client *pclient);

/* Program provides side-channel output through an extra fd */
void program_client_set_extra_fd
	(struct program_client *pclient, int fd,
		program_client_fd_callback_t *callback, void *context);
#define program_client_set_extra_fd(pclient, fd, callback, context) \
	program_client_set_extra_fd(pclient, fd + \
		CALLBACK_TYPECHECK(callback, \
			void (*)(typeof(context), struct istream *input)), \
		(program_client_fd_callback_t *)callback, context)

void program_client_set_env
	(struct program_client *pclient, const char *name, const char *value);

int program_client_run(struct program_client *pclient);

#endif