This file is indexed.

/usr/include/gpaste/gpaste-client.h is in libgpaste2-dev 3.14-2.

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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
/*
 *      This file is part of GPaste.
 *
 *      Copyright 2012-2014 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
 *
 *      GPaste is free software: you can redistribute it and/or modify
 *      it under the terms of the GNU General Public License as published by
 *      the Free Software Foundation, either version 3 of the License, or
 *      (at your option) any later version.
 *
 *      GPaste 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 General Public License for more details.
 *
 *      You should have received a copy of the GNU General Public License
 *      along with GPaste.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef __G_PASTE_CLIENT_H__
#define __G_PASTE_CLIENT_H__

#include <gpaste-update-enums.h>

G_BEGIN_DECLS

#define G_PASTE_TYPE_CLIENT            (g_paste_client_get_type ())
#define G_PASTE_CLIENT(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), G_PASTE_TYPE_CLIENT, GPasteClient))
#define G_PASTE_IS_CLIENT(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), G_PASTE_TYPE_CLIENT))
#define G_PASTE_CLIENT_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), G_PASTE_TYPE_CLIENT, GPasteClientClass))
#define G_PASTE_IS_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), G_PASTE_TYPE_CLIENT))
#define G_PASTE_CLIENT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), G_PASTE_TYPE_CLIENT, GPasteClientClass))

typedef struct _GPasteClient GPasteClient;
typedef struct _GPasteClientClass GPasteClientClass;

G_PASTE_VISIBLE
GType g_paste_client_get_type (void);

/*******************/
/* Methods /  Sync */
/*******************/

void    g_paste_client_about_sync                      (GPasteClient *self,
                                                        GError      **error);
void    g_paste_client_add_sync                        (GPasteClient *self,
                                                        const gchar  *text,
                                                        GError      **error);
void    g_paste_client_add_file_sync                   (GPasteClient *self,
                                                        const gchar  *file,
                                                        GError      **error);
void    g_paste_client_add_password_sync               (GPasteClient *self,
                                                        const gchar  *name,
                                                        const gchar  *password,
                                                        GError      **error);
void    g_paste_client_backup_history_sync             (GPasteClient *self,
                                                        const gchar  *name,
                                                        GError      **error);
void    g_paste_client_delete_sync                     (GPasteClient *self,
                                                        guint32       index,
                                                        GError      **error);
void    g_paste_client_delete_history_sync             (GPasteClient *self,
                                                        const gchar  *name,
                                                        GError      **error);
void    g_paste_client_delete_password_sync            (GPasteClient *self,
                                                        const gchar  *name,
                                                        GError      **error);
void    g_paste_client_empty_sync                      (GPasteClient *self,
                                                        GError      **error);
gchar  *g_paste_client_get_element_sync                (GPasteClient *self,
                                                        guint32       index,
                                                        GError      **error);
GStrv   g_paste_client_get_history_sync                (GPasteClient *self,
                                                        GError      **error);
guint32 g_paste_client_get_history_size_sync           (GPasteClient *self,
                                                        GError      **error);
gchar  *g_paste_client_get_raw_element_sync            (GPasteClient *self,
                                                        guint32       index,
                                                        GError      **error);
GStrv   g_paste_client_get_raw_history_sync            (GPasteClient *self,
                                                        GError      **error);
GStrv   g_paste_client_list_histories_sync             (GPasteClient *self,
                                                        GError      **error);
void    g_paste_client_on_extension_state_changed_sync (GPasteClient *self,
                                                        gboolean      state,
                                                        GError      **error);
void    g_paste_client_reexecute_sync                  (GPasteClient *self,
                                                        GError      **error);
void    g_paste_client_rename_password_sync            (GPasteClient *self,
                                                        const gchar  *old_name,
                                                        const gchar  *new_name,
                                                        GError      **error);
void    g_paste_client_select_sync                     (GPasteClient *self,
                                                        guint32       index,
                                                        GError      **error);
void    g_paste_client_set_password_sync               (GPasteClient *self,
                                                        guint32       index,
                                                        const gchar  *name,
                                                        GError      **error);
void    g_paste_client_show_history_sync               (GPasteClient *self,
                                                        GError      **error);
void    g_paste_client_switch_history_sync             (GPasteClient *self,
                                                        const gchar  *name,
                                                        GError      **error);
void    g_paste_client_track_sync                      (GPasteClient *self,
                                                        gboolean      state,
                                                        GError      **error);

/*******************/
/* Methods / Async */
/*******************/

void g_paste_client_about                      (GPasteClient       *self,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_add                        (GPasteClient       *self,
                                                const gchar        *text,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_add_file                   (GPasteClient       *self,
                                                const gchar        *file,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_add_password               (GPasteClient       *self,
                                                const gchar        *name,
                                                const gchar        *password,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_backup_history             (GPasteClient       *self,
                                                const gchar        *name,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_delete                     (GPasteClient       *self,
                                                guint32             index,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_delete_history             (GPasteClient       *self,
                                                const gchar        *name,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_delete_password            (GPasteClient       *self,
                                                const gchar        *name,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_empty                      (GPasteClient       *self,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_get_element                (GPasteClient       *self,
                                                guint32             index,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_get_history                (GPasteClient       *self,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_get_history_size           (GPasteClient       *self,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_get_raw_element            (GPasteClient       *self,
                                                guint32             index,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_get_raw_history            (GPasteClient       *self,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_list_histories             (GPasteClient       *self,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_on_extension_state_changed (GPasteClient       *self,
                                                gboolean            state,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_reexecute                  (GPasteClient       *self,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_rename_password            (GPasteClient       *self,
                                                const gchar        *old_name,
                                                const gchar        *new_name,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_select                     (GPasteClient       *self,
                                                guint32             index,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_set_password               (GPasteClient       *self,
                                                guint32             index,
                                                const gchar        *name,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_show_history               (GPasteClient       *self,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_switch_history             (GPasteClient       *self,
                                                const gchar        *name,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);
void g_paste_client_track                      (GPasteClient       *self,
                                                gboolean            state,
                                                GAsyncReadyCallback callback,
                                                gpointer            user_data);

/****************************/
/* Methods / Async - Finish */
/****************************/

void    g_paste_client_about_finish                      (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_add_finish                        (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_add_file_finish                   (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_add_password_finish               (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_backup_history_finish             (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_delete_finish                     (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_delete_history_finish             (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_delete_password_finish            (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_empty_finish                      (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
gchar  *g_paste_client_get_element_finish                (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
GStrv   g_paste_client_get_history_finish                (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
guint32 g_paste_client_get_history_size_finish           (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
gchar  *g_paste_client_get_raw_element_finish            (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
GStrv   g_paste_client_get_raw_history_finish            (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
GStrv   g_paste_client_list_histories_finish             (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_on_extension_state_changed_finish (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_reexecute_finish                  (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_rename_password_finish            (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_select_finish                     (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_set_password_finish               (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_show_history_finish               (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_switch_history_finish             (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);
void    g_paste_client_track_finish                      (GPasteClient *self,
                                                          GAsyncResult *result,
                                                          GError      **error);

/**************/
/* Properties */
/**************/

gboolean g_paste_client_is_active   (GPasteClient *self);
gchar   *g_paste_client_get_version (GPasteClient *self);

/****************/
/* Constructors */
/****************/

GPasteClient *g_paste_client_new_sync   (GError            **error);
void          g_paste_client_new        (GAsyncReadyCallback callback,
                                         gpointer            user_data);
GPasteClient *g_paste_client_new_finish (GAsyncResult       *result,
                                         GError            **error);

G_END_DECLS

#endif /*__G_PASTE_CLIENT_H__*/