This file is indexed.

/usr/include/evolution-data-server/libebackend/e-authentication-session.h is in libebackend1.2-dev 3.10.4-0ubuntu1.6.

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
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
/*
 * e-authentication-session.h
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) version 3.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with the program; if not, see <http://www.gnu.org/licenses/>
 *
 */

#if !defined (__LIBEBACKEND_H_INSIDE__) && !defined (LIBEBACKEND_COMPILATION)
#error "Only <libebackend/libebackend.h> should be included directly."
#endif

#ifndef E_AUTHENTICATION_SESSION_H
#define E_AUTHENTICATION_SESSION_H

#include <gio/gio.h>

#include <libedataserver/libedataserver.h>

#include <libebackend/e-backend-enums.h>

/* Standard GObject macros */
#define E_TYPE_AUTHENTICATION_SESSION \
	(e_authentication_session_get_type ())
#define E_AUTHENTICATION_SESSION(obj) \
	(G_TYPE_CHECK_INSTANCE_CAST \
	((obj), E_TYPE_AUTHENTICATION_SESSION, EAuthenticationSession))
#define E_AUTHENTICATION_SESSION_CLASS(cls) \
	(G_TYPE_CHECK_CLASS_CAST \
	((cls), E_TYPE_AUTHENTICATION_SESSION, EAuthenticationSessionClass))
#define E_IS_AUTHENTICATION_SESSION(obj) \
	(G_TYPE_CHECK_INSTANCE_TYPE \
	((obj), E_TYPE_AUTHENTICATION_SESSION))
#define E_IS_AUTHENTICATION_SESSION_CLASS(cls) \
	(G_TYPE_CHECK_CLASS_TYPE \
	((cls), E_TYPE_AUTHENTICATION_SESSION))
#define E_AUTHENTICATION_SESSION_GET_CLASS(obj) \
	(G_TYPE_INSTANCE_GET_CLASS \
	((obj), E_TYPE_AUTHENTICATION_SESSION, EAuthenticationSessionClass))

G_BEGIN_DECLS

struct _ESourceRegistryServer;

typedef struct _EAuthenticationSession EAuthenticationSession;
typedef struct _EAuthenticationSessionClass EAuthenticationSessionClass;
typedef struct _EAuthenticationSessionPrivate EAuthenticationSessionPrivate;

/**
 * EAuthenticationSession:
 *
 * Contains only private data that should be read and manipulated using the
 * functions below.
 *
 * Since: 3.6
 **/
struct _EAuthenticationSession {
	GObject parent;
	EAuthenticationSessionPrivate *priv;
};

struct _EAuthenticationSessionClass {
	GObjectClass parent_class;

	/* Methods */
	EAuthenticationSessionResult
			(*execute_sync)	(EAuthenticationSession *session,
					 GCancellable *cancellable,
					 GError **error);
	void		(*execute)	(EAuthenticationSession *session,
					 gint io_priority,
					 GCancellable *cancellable,
					 GAsyncReadyCallback callback,
					 gpointer user_data);
	EAuthenticationSessionResult
			(*execute_finish)
					(EAuthenticationSession *session,
					 GAsyncResult *result,
					 GError **error);

	/* Reserved slots. */
	gpointer reserved[16];
};

GQuark		e_authentication_session_error_quark
					(void) G_GNUC_CONST;
GType		e_authentication_session_get_type
					(void) G_GNUC_CONST;
struct _ESourceRegistryServer *
		e_authentication_session_get_server
					(EAuthenticationSession *session);
ESourceAuthenticator *
		e_authentication_session_get_authenticator
					(EAuthenticationSession *session);
const gchar *	e_authentication_session_get_source_uid
					(EAuthenticationSession *session);
const gchar *	e_authentication_session_get_prompt_title
					(EAuthenticationSession *session);
gchar *		e_authentication_session_dup_prompt_title
					(EAuthenticationSession *session);
void		e_authentication_session_set_prompt_title
					(EAuthenticationSession *session,
					 const gchar *prompt_title);
const gchar *	e_authentication_session_get_prompt_message
					(EAuthenticationSession *session);
gchar *		e_authentication_session_dup_prompt_message
					(EAuthenticationSession *session);
void		e_authentication_session_set_prompt_message
					(EAuthenticationSession *session,
					 const gchar *prompt_message);
const gchar *	e_authentication_session_get_prompt_description
					(EAuthenticationSession *session);
gchar *		e_authentication_session_dup_prompt_description
					(EAuthenticationSession *session);
void		e_authentication_session_set_prompt_description
					(EAuthenticationSession *session,
					 const gchar *prompt_description);
EAuthenticationSessionResult
		e_authentication_session_execute_sync
					(EAuthenticationSession *session,
					 GCancellable *cancellable,
					 GError **error);
void		e_authentication_session_execute
					(EAuthenticationSession *session,
					 gint io_priority,
					 GCancellable *cancellable,
					 GAsyncReadyCallback callback,
					 gpointer user_data);
EAuthenticationSessionResult
		e_authentication_session_execute_finish
					(EAuthenticationSession *session,
					 GAsyncResult *result,
					 GError **error);
gboolean	e_authentication_session_store_password_sync
					(EAuthenticationSession *session,
					 const gchar *password,
					 gboolean permanently,
					 GCancellable *cancellable,
					 GError **error);
void		e_authentication_session_store_password
					(EAuthenticationSession *session,
					 const gchar *password,
					 gboolean permanently,
					 gint io_priority,
					 GCancellable *cancellable,
					 GAsyncReadyCallback callback,
					 gpointer user_data);
gboolean	e_authentication_session_store_password_finish
					(EAuthenticationSession *session,
					 GAsyncResult *result,
					 GError **error);
gboolean	e_authentication_session_lookup_password_sync
					(EAuthenticationSession *session,
					 GCancellable *cancellable,
					 gchar **password,
					 GError **error);
void		e_authentication_session_lookup_password
					(EAuthenticationSession *session,
					 gint io_priority,
					 GCancellable *cancellable,
					 GAsyncReadyCallback callback,
					 gpointer user_data);
gboolean	e_authentication_session_lookup_password_finish
					(EAuthenticationSession *session,
					 GAsyncResult *result,
					 gchar **password,
					 GError **error);
gboolean	e_authentication_session_delete_password_sync
					(EAuthenticationSession *session,
					 GCancellable *cancellable,
					 GError **error);
void		e_authentication_session_delete_password
					(EAuthenticationSession *session,
					 gint io_priority,
					 GCancellable *cancellable,
					 GAsyncReadyCallback callback,
					 gpointer user_data);
gboolean	e_authentication_session_delete_password_finish
					(EAuthenticationSession *session,
					 GAsyncResult *result,
					 GError **error);

#ifndef EDS_DISABLE_DEPRECATED
/**
 * E_AUTHENTICATION_SESSION_KEYRING_ERROR:
 *
 * Error domain for password storage and retrieval.
 *
 * No longer used.
 *
 * Since: 3.6
 *
 * Deprecated: 3.8: The #SECRET_ERROR domain is now used instead.
 **/
#define E_AUTHENTICATION_SESSION_KEYRING_ERROR \
	(e_authentication_session_error_quark ())

EAuthenticationSession *
		e_authentication_session_new
					(struct _ESourceRegistryServer *server,
					 ESourceAuthenticator *authenticator,
					 const gchar *source_uid);
#endif /* EDS_DISABLE_DEPRECATED */

G_END_DECLS

#endif /* E_AUTHENTICATION_SESSION_H */