This file is indexed.

/usr/include/libzapojit-0.0/zpj/zpj-skydrive.h is in libzapojit-dev 0.0.3-1ubuntu1.

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
/*
 * Zapojit - GLib/GObject wrapper for the SkyDrive and Hotmail REST APIs
 * Copyright © 2012 Red Hat, Inc.
 *
 * This library 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.1 of the License, or (at your option) any later version.
 *
 * This library 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 this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
 * 02110-1301, USA.
 */

#ifndef ZPJ_SKYDRIVE_H
#define ZPJ_SKYDRIVE_H

#include <gio/gio.h>
#include <glib.h>
#include <glib-object.h>

#include "zpj-authorizer.h"
#include "zpj-skydrive-entry.h"
#include "zpj-skydrive-file.h"
#include "zpj-skydrive-folder.h"

G_BEGIN_DECLS

#define ZPJ_TYPE_SKYDRIVE (zpj_skydrive_get_type ())

#define ZPJ_SKYDRIVE(obj) \
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
   ZPJ_TYPE_SKYDRIVE, ZpjSkydrive))

#define ZPJ_SKYDRIVE_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
   ZPJ_TYPE_SKYDRIVE, ZpjSkydriveClass))

#define ZPJ_IS_SKYDRIVE(obj) \
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
   ZPJ_TYPE_SKYDRIVE))

#define ZPJ_IS_SKYDRIVE_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
   ZPJ_TYPE_SKYDRIVE))

#define ZPJ_SKYDRIVE_GET_CLASS(obj) \
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
   ZPJ_TYPE_SKYDRIVE, ZpjSkydriveClass))

typedef struct _ZpjSkydrive        ZpjSkydrive;
typedef struct _ZpjSkydriveClass   ZpjSkydriveClass;
typedef struct _ZpjSkydrivePrivate ZpjSkydrivePrivate;

/**
 * ZpjSkydrive:
 *
 * The #ZpjSkydrive structure contains only private data and should
 * only be accessed using the provided API.
 */
struct _ZpjSkydrive
{
  GObject parent_instance;
  ZpjSkydrivePrivate *priv;
};

/**
 * ZpjSkydriveClass:
 * @parent_class: The parent class.
 *
 * Class structure for #ZpjSkydrive.
 */
struct _ZpjSkydriveClass
{
  GObjectClass parent_class;
};

GType               zpj_skydrive_get_type                    (void) G_GNUC_CONST;

ZpjSkydrive        *zpj_skydrive_new                         (ZpjAuthorizer *authorizer);

gboolean            zpj_skydrive_create_folder               (ZpjSkydrive *self,
                                                              ZpjSkydriveFolder *folder,
                                                              GCancellable *cancellable,
                                                              GError **error);

gboolean            zpj_skydrive_create_folder_from_name     (ZpjSkydrive *self,
                                                              const gchar *name,
                                                              const gchar *parent_id,
                                                              GCancellable *cancellable,
                                                              GError **error);

gboolean            zpj_skydrive_delete_entry_id             (ZpjSkydrive *self,
                                                              const gchar *entry_id,
                                                              GCancellable *cancellable,
                                                              GError **error);

GInputStream       *zpj_skydrive_download_file_id_to_stream  (ZpjSkydrive *self,
                                                              const gchar *file_id,
                                                              GCancellable *cancellable,
                                                              GError **error);

void                zpj_skydrive_download_file_id_to_stream_async  (ZpjSkydrive *self,
                                                                    const gchar *file_id,
                                                                    GCancellable *cancellable,
                                                                    GAsyncReadyCallback callback,
                                                                    gpointer user_data);

GInputStream       *zpj_skydrive_download_file_id_to_stream_finish (ZpjSkydrive *self,
                                                                    GAsyncResult *res,
                                                                    GError **error);

GInputStream       *zpj_skydrive_download_file_to_stream     (ZpjSkydrive *self,
                                                              ZpjSkydriveFile *file,
                                                              GCancellable *cancellable,
                                                              GError **error);

void                zpj_skydrive_download_file_to_stream_async     (ZpjSkydrive *self,
                                                                    ZpjSkydriveFile *file,
                                                                    GCancellable *cancellable,
                                                                    GAsyncReadyCallback callback,
                                                                    gpointer user_data);

GInputStream       *zpj_skydrive_download_file_to_stream_finish    (ZpjSkydrive *self,
                                                                    GAsyncResult *res,
                                                                    GError **error);

gboolean            zpj_skydrive_download_file_id_to_path    (ZpjSkydrive *self,
                                                              const gchar *file_id,
                                                              const gchar *path,
                                                              GCancellable *cancellable,
                                                              GError **error);

gboolean            zpj_skydrive_download_file_to_path       (ZpjSkydrive *self,
                                                              ZpjSkydriveFile *file,
                                                              const gchar *path,
                                                              GCancellable *cancellable,
                                                              GError **error);

GList              *zpj_skydrive_list_folder                 (ZpjSkydrive *self,
                                                              ZpjSkydriveFolder *folder,
                                                              GCancellable *cancellable,
                                                              GError **error);

GList              *zpj_skydrive_list_folder_id              (ZpjSkydrive *self,
                                                              const gchar *folder_id,
                                                              GCancellable *cancellable,
                                                              GError **error);

void                zpj_skydrive_list_folder_id_async        (ZpjSkydrive *self,
                                                              const gchar *folder_id,
                                                              GCancellable *cancellable,
                                                              GAsyncReadyCallback callback,
                                                              gpointer user_data);

GList              *zpj_skydrive_list_folder_id_finish       (ZpjSkydrive *self,
                                                              GAsyncResult *res,
                                                              GError **error);

ZpjAuthorizer      *zpj_skydrive_get_authorizer              (ZpjSkydrive *self);

ZpjSkydriveEntry   *zpj_skydrive_query_info_from_id          (ZpjSkydrive *self,
                                                              const gchar *id,
                                                              GCancellable *cancellable,
                                                              GError **error);

void                zpj_skydrive_query_info_from_id_async    (ZpjSkydrive *self,
                                                              const gchar *id,
                                                              GCancellable *cancellable,
                                                              GAsyncReadyCallback callback,
                                                              gpointer user_data);

ZpjSkydriveEntry   *zpj_skydrive_query_info_from_id_finish   (ZpjSkydrive *self,
                                                              GAsyncResult *res,
                                                              GError **error);

void                zpj_skydrive_set_authorizer              (ZpjSkydrive *self, ZpjAuthorizer *authorizer);

gboolean            zpj_skydrive_upload_path_to_folder       (ZpjSkydrive *self,
                                                              const gchar *path,
                                                              ZpjSkydriveFolder *folder,
                                                              GCancellable *cancellable,
                                                              GError **error);

gboolean            zpj_skydrive_upload_path_to_folder_id    (ZpjSkydrive *self,
                                                              const gchar *path,
                                                              const gchar *folder_id,
                                                              GCancellable *cancellable,
                                                              GError **error);

G_END_DECLS

#endif /* ZPJ_SKYDRIVE_H */