/usr/include/evolution-data-server/camel/camel-imapx-job.h is in libcamel1.2-dev 3.10.4-0ubuntu1.
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 | /*
* camel-imapx-job.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 (__CAMEL_H_INSIDE__) && !defined (CAMEL_COMPILATION)
#error "Only <camel/camel.h> can be included directly."
#endif
#ifndef CAMEL_IMAPX_JOB_H
#define CAMEL_IMAPX_JOB_H
#include "camel-imapx-server.h"
#define CAMEL_IS_IMAPX_JOB(job) \
(camel_imapx_job_check (job))
G_BEGIN_DECLS
typedef struct _CamelIMAPXJob CamelIMAPXJob;
struct _uidset_state {
gint entries, uids;
gint total, limit;
guint32 start;
guint32 last;
};
struct _CamelIMAPXJob {
/* Whether to pop a status message off the
* GCancellable when the job is finalized. */
gboolean pop_operation_msg;
gboolean (*start) (CamelIMAPXJob *job,
CamelIMAPXServer *is,
GCancellable *cancellable,
GError **error);
gboolean (*matches) (CamelIMAPXJob *job,
CamelFolder *folder,
const gchar *uid);
guint noreply:1; /* dont wait for reply */
guint32 type; /* operation type */
gint pri; /* the command priority */
gshort commands; /* counts how many commands are outstanding */
};
CamelIMAPXJob * camel_imapx_job_new (GCancellable *cancellable);
CamelIMAPXJob * camel_imapx_job_ref (CamelIMAPXJob *job);
void camel_imapx_job_unref (CamelIMAPXJob *job);
gboolean camel_imapx_job_check (CamelIMAPXJob *job);
void camel_imapx_job_cancel (CamelIMAPXJob *job);
gboolean camel_imapx_job_wait (CamelIMAPXJob *job,
GError **error);
void camel_imapx_job_done (CamelIMAPXJob *job);
gboolean camel_imapx_job_run (CamelIMAPXJob *job,
CamelIMAPXServer *is,
GError **error);
gboolean camel_imapx_job_matches (CamelIMAPXJob *job,
CamelFolder *folder,
const gchar *uid);
gpointer camel_imapx_job_get_data (CamelIMAPXJob *job);
void camel_imapx_job_set_data (CamelIMAPXJob *job,
gpointer data,
GDestroyNotify destroy_data);
gboolean camel_imapx_job_has_folder (CamelIMAPXJob *job,
CamelFolder *folder);
CamelFolder * camel_imapx_job_ref_folder (CamelIMAPXJob *job);
void camel_imapx_job_set_folder (CamelIMAPXJob *job,
CamelFolder *folder);
GCancellable * camel_imapx_job_get_cancellable (CamelIMAPXJob *job);
void camel_imapx_job_take_error (CamelIMAPXJob *job,
GError *error);
G_END_DECLS
#endif /* CAMEL_IMAPX_JOB_H */
|