This file is indexed.

/usr/include/evolution-data-server/ews/ews-errors.h is in evolution-ews 3.22.6-1.

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
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
#ifndef EWS_ERRORS_H
#define EWS_ERRORS_H

#include <server/e-soap-response.h>

G_BEGIN_DECLS

GQuark ews_connection_error_quark (void);
#define EWS_CONNECTION_ERROR (ews_connection_error_quark ())

enum {
	EWS_CONNECTION_ERROR_NONE,
	EWS_CONNECTION_ERROR_ACCESSDENIED,
	EWS_CONNECTION_ERROR_ACCOUNTDISABLED,
	EWS_CONNECTION_ERROR_ADDDELEGATESFAILED,
	EWS_CONNECTION_ERROR_ADDRESSSPACENOTFOUND,
	EWS_CONNECTION_ERROR_ADOPERATION,
	EWS_CONNECTION_ERROR_ADSESSIONFILTER,
	EWS_CONNECTION_ERROR_ADUNAVAILABLE,
	EWS_CONNECTION_ERROR_AFFECTEDTASKOCCURRENCESREQUIRED,
	EWS_CONNECTION_ERROR_ATTACHMENTSIZELIMITEXCEEDED,
	EWS_CONNECTION_ERROR_AUTODISCOVERFAILED,
	EWS_CONNECTION_ERROR_AVAILABILITYCONFIGNOTFOUND,
	EWS_CONNECTION_ERROR_BATCHPROCESSINGSTOPPED,
	EWS_CONNECTION_ERROR_CALENDARCANNOTMOVEORCOPYOCCURRENCE,
	EWS_CONNECTION_ERROR_CALENDARCANNOTUPDATEDELETEDITEM,
	EWS_CONNECTION_ERROR_CALENDARCANNOTUSEIDFOROCCURRENCEID,
	EWS_CONNECTION_ERROR_CALENDARCANNOTUSEIDFORRECURRINGMASTERID,
	EWS_CONNECTION_ERROR_CALENDARDURATIONISTOOLONG,
	EWS_CONNECTION_ERROR_CALENDARENDDATEISEARLIERTHANSTARTDATE,
	EWS_CONNECTION_ERROR_CALENDARFOLDERISINVALIDFORCALENDARVIEW,
	EWS_CONNECTION_ERROR_CALENDARINVALIDDAYFORTIMECHANGEPATTERN,
	EWS_CONNECTION_ERROR_CALENDARINVALIDDAYFORWEEKLYRECURRENCE,
	EWS_CONNECTION_ERROR_CALENDARINVALIDPROPERTYSTATE,
	EWS_CONNECTION_ERROR_CALENDARINVALIDPROPERTYVALUE,
	EWS_CONNECTION_ERROR_CALENDARINVALIDRECURRENCE,
	EWS_CONNECTION_ERROR_CALENDARINVALIDTIMEZONE,
	EWS_CONNECTION_ERROR_CALENDARISDELEGATEDFORACCEPT,
	EWS_CONNECTION_ERROR_CALENDARISDELEGATEDFORDECLINE,
	EWS_CONNECTION_ERROR_CALENDARISDELEGATEDFORREMOVE,
	EWS_CONNECTION_ERROR_CALENDARISDELEGATEDFORTENTATIVE,
	EWS_CONNECTION_ERROR_CALENDARISNOTORGANIZER,
	EWS_CONNECTION_ERROR_CALENDARISORGANIZERFORACCEPT,
	EWS_CONNECTION_ERROR_CALENDARISORGANIZERFORDECLINE,
	EWS_CONNECTION_ERROR_CALENDARISORGANIZERFORREMOVE,
	EWS_CONNECTION_ERROR_CALENDARISORGANIZERFORTENTATIVE,
	EWS_CONNECTION_ERROR_CALENDARMEETINGREQUESTISOUTOFDATE,
	EWS_CONNECTION_ERROR_CALENDAROCCURRENCEINDEXISOUTOFRECURRENCERANGE,
	EWS_CONNECTION_ERROR_CALENDAROCCURRENCEISDELETEDFROMRECURRENCE,
	EWS_CONNECTION_ERROR_CALENDAROUTOFRANGE,
	EWS_CONNECTION_ERROR_CALENDARVIEWRANGETOOBIG,
	EWS_CONNECTION_ERROR_CANNOTCREATECALENDARITEMINNONCALENDARFOLDER,
	EWS_CONNECTION_ERROR_CANNOTCREATECONTACTINNONCONTACTFOLDER,
	EWS_CONNECTION_ERROR_CANNOTCREATEPOSTITEMINNONMAILFOLDER,
	EWS_CONNECTION_ERROR_CANNOTCREATETASKINNONTASKFOLDER,
	EWS_CONNECTION_ERROR_CANNOTDELETEOBJECT,
	EWS_CONNECTION_ERROR_CANNOTDELETETASKOCCURRENCE,
	EWS_CONNECTION_ERROR_CANNOTOPENFILEATTACHMENT,
	EWS_CONNECTION_ERROR_CANNOTSETCALENDARPERMISSIONONNONCALENDARFOLDER,
	EWS_CONNECTION_ERROR_CANNOTSETNONCALENDARPERMISSIONONCALENDARFOLDER,
	EWS_CONNECTION_ERROR_CANNOTSETPERMISSIONUNKNOWNENTRIES,
	EWS_CONNECTION_ERROR_CANNOTUSEFOLDERIDFORITEMID,
	EWS_CONNECTION_ERROR_CANNOTUSEITEMIDFORFOLDERID,
	EWS_CONNECTION_ERROR_CHANGEKEYREQUIRED,
	EWS_CONNECTION_ERROR_CHANGEKEYREQUIREDFORWRITEOPERATIONS,
	EWS_CONNECTION_ERROR_CONNECTIONFAILED,
	EWS_CONNECTION_ERROR_CONTENTCONVERSIONFAILED,
	EWS_CONNECTION_ERROR_CORRUPTDATA,
	EWS_CONNECTION_ERROR_CREATEITEMACCESSDENIED,
	EWS_CONNECTION_ERROR_CREATEMANAGEDFOLDERPARTIALCOMPLETION,
	EWS_CONNECTION_ERROR_CREATESUBFOLDERACCESSDENIED,
	EWS_CONNECTION_ERROR_CROSSMAILBOXMOVECOPY,
	EWS_CONNECTION_ERROR_DATASIZELIMITEXCEEDED,
	EWS_CONNECTION_ERROR_DATASOURCEOPERATION,
	EWS_CONNECTION_ERROR_DELEGATEALREADYEXISTS,
	EWS_CONNECTION_ERROR_DELEGATECANNOTADDOWNER,
	EWS_CONNECTION_ERROR_DELEGATEMISSINGCONFIGURATION,
	EWS_CONNECTION_ERROR_DELEGATENOUSER,
	EWS_CONNECTION_ERROR_DELEGATEVALIDATIONFAILED,
	EWS_CONNECTION_ERROR_DELETEDISTINGUISHEDFOLDER,
	EWS_CONNECTION_ERROR_DISTINGUISHEDUSERNOTSUPPORTED,
	EWS_CONNECTION_ERROR_DUPLICATEINPUTFOLDERNAMES,
	EWS_CONNECTION_ERROR_DUPLICATEUSERIDSSPECIFIED,
	EWS_CONNECTION_ERROR_EMAILADDRESSMISMATCH,
	EWS_CONNECTION_ERROR_EVENTNOTFOUND,
	EWS_CONNECTION_ERROR_EXPIREDSUBSCRIPTION,
	EWS_CONNECTION_ERROR_FOLDERCORRUPT,
	EWS_CONNECTION_ERROR_FOLDEREXISTS,
	EWS_CONNECTION_ERROR_FOLDERNOTFOUND,
	EWS_CONNECTION_ERROR_FOLDERPROPERTREQUESTFAILED,
	EWS_CONNECTION_ERROR_FOLDERSAVE,
	EWS_CONNECTION_ERROR_FOLDERSAVEFAILED,
	EWS_CONNECTION_ERROR_FOLDERSAVEPROPERTYERROR,
	EWS_CONNECTION_ERROR_FREEBUSYGENERATIONFAILED,
	EWS_CONNECTION_ERROR_IMPERSONATEUSERDENIED,
	EWS_CONNECTION_ERROR_IMPERSONATIONDENIED,
	EWS_CONNECTION_ERROR_IMPERSONATIONFAILED,
	EWS_CONNECTION_ERROR_INCORRECTSCHEMAVERSION,
	EWS_CONNECTION_ERROR_INCORRECTUPDATEPROPERTYCOUNT,
	EWS_CONNECTION_ERROR_INDIVIDUALMAILBOXLIMITREACHED,
	EWS_CONNECTION_ERROR_INSUFFICIENTRESOURCES,
	EWS_CONNECTION_ERROR_INTERNALSERVERERROR,
	EWS_CONNECTION_ERROR_INTERNALSERVERTRANSIENTERROR,
	EWS_CONNECTION_ERROR_INVALIDACCESSLEVEL,
	EWS_CONNECTION_ERROR_INVALIDATTACHMENTID,
	EWS_CONNECTION_ERROR_INVALIDATTACHMENTSUBFILTER,
	EWS_CONNECTION_ERROR_INVALIDATTACHMENTSUBFILTERTEXTFILTER,
	EWS_CONNECTION_ERROR_INVALIDAUTHORIZATIONCONTEXT,
	EWS_CONNECTION_ERROR_INVALIDCHANGEKEY,
	EWS_CONNECTION_ERROR_INVALIDCLIENTSECURITYCONTEXT,
	EWS_CONNECTION_ERROR_INVALIDCOMPLETEDATE,
	EWS_CONNECTION_ERROR_INVALIDCROSSFORESTCREDENTIALS,
	EWS_CONNECTION_ERROR_INVALIDDELEGATEPERMISSION,
	EWS_CONNECTION_ERROR_INVALIDDELEGATEUSERID,
	EWS_CONNECTION_ERROR_INVALIDEXCHANGEIMPERSONATIONHEADERDATA,
	EWS_CONNECTION_ERROR_INVALIDEXCLUDESRESTRICTION,
	EWS_CONNECTION_ERROR_INVALIDEXTENDEDPROPERTY,
	EWS_CONNECTION_ERROR_INVALIDEXTENDEDPROPERTYVALUE,
	EWS_CONNECTION_ERROR_INVALIDFOLDERID,
	EWS_CONNECTION_ERROR_INVALIDFOLDERTYPEFOROPERATION,
	EWS_CONNECTION_ERROR_INVALIDFRACTIONALPAGINGPARAMETERS,
	EWS_CONNECTION_ERROR_INVALIDFREEBUSYVIEWTYPE,
	EWS_CONNECTION_ERROR_INVALIDID,
	EWS_CONNECTION_ERROR_INVALIDIDEMPTY,
	EWS_CONNECTION_ERROR_INVALIDIDMALFORMED,
	EWS_CONNECTION_ERROR_INVALIDIDMALFORMEDEWSLEGACYIDFORMAT,
	EWS_CONNECTION_ERROR_INVALIDIDMONIKERTOOLONG,
	EWS_CONNECTION_ERROR_INVALIDIDNOTANITEMATTACHMENTID,
	EWS_CONNECTION_ERROR_INVALIDIDRETURNEDBYRESOLVENAMES,
	EWS_CONNECTION_ERROR_INVALIDIDSTOREOBJECTIDTOOLONG,
	EWS_CONNECTION_ERROR_INVALIDIDTOOMANYATTACHMENTLEVELS,
	EWS_CONNECTION_ERROR_INVALIDINDEXEDPAGINGPARAMETERS,
	EWS_CONNECTION_ERROR_INVALIDITEMFOROPERATIONACCEPTITEM,
	EWS_CONNECTION_ERROR_INVALIDITEMFOROPERATIONCANCELITEM,
	EWS_CONNECTION_ERROR_INVALIDITEMFOROPERATIONCREATEITEMATTACHMENT,
	EWS_CONNECTION_ERROR_INVALIDITEMFOROPERATIONCREATEITEM,
	EWS_CONNECTION_ERROR_INVALIDITEMFOROPERATIONDECLINEITEM,
	EWS_CONNECTION_ERROR_INVALIDITEMFOROPERATIONEXPANDDL,
	EWS_CONNECTION_ERROR_INVALIDITEMFOROPERATIONREMOVEITEM,
	EWS_CONNECTION_ERROR_INVALIDITEMFOROPERATIONSENDITEM,
	EWS_CONNECTION_ERROR_INVALIDITEMFOROPERATIONTENTATIVE,
	EWS_CONNECTION_ERROR_INVALIDMANAGEDFOLDERPROPERTY,
	EWS_CONNECTION_ERROR_INVALIDMANAGEDFOLDERQUOTA,
	EWS_CONNECTION_ERROR_INVALIDMANAGEDFOLDERSIZE,
	EWS_CONNECTION_ERROR_INVALIDMERGEDFREEBUSYINTERVAL,
	EWS_CONNECTION_ERROR_INVALIDNAMEFORNAMERESOLUTION,
	EWS_CONNECTION_ERROR_INVALIDNETWORKSERVICECONTEXT,
	EWS_CONNECTION_ERROR_INVALIDOPERATION,
	EWS_CONNECTION_ERROR_INVALIDPAGINGMAXROWS,
	EWS_CONNECTION_ERROR_INVALIDPARENTFOLDER,
	EWS_CONNECTION_ERROR_INVALIDPERCENTCOMPLETEVALUE,
	EWS_CONNECTION_ERROR_INVALIDPERMISSIONSETTINGS,
	EWS_CONNECTION_ERROR_INVALIDPROPERTYAPPEND,
	EWS_CONNECTION_ERROR_INVALIDPROPERTYDELETE,
	EWS_CONNECTION_ERROR_INVALIDPROPERTYFOREXISTS,
	EWS_CONNECTION_ERROR_INVALIDPROPERTYFOROPERATION,
	EWS_CONNECTION_ERROR_INVALIDPROPERTYREQUEST,
	EWS_CONNECTION_ERROR_INVALIDPROPERTYSET,
	EWS_CONNECTION_ERROR_INVALIDPROPERTYUPDATESENTMESSAGE,
	EWS_CONNECTION_ERROR_INVALIDPULLSUBSCRIPTIONID,
	EWS_CONNECTION_ERROR_INVALIDPUSHSUBSCRIPTIONURL,
	EWS_CONNECTION_ERROR_INVALIDRECIPIENTS,
	EWS_CONNECTION_ERROR_INVALIDRECIPIENTSUBFILTER,
	EWS_CONNECTION_ERROR_INVALIDRECIPIENTSUBFILTERCOMPARISON,
	EWS_CONNECTION_ERROR_INVALIDRECIPIENTSUBFILTERORDER,
	EWS_CONNECTION_ERROR_INVALIDRECIPIENTSUBFILTERTEXTFILTER,
	EWS_CONNECTION_ERROR_INVALIDREFERENCEITEM,
	EWS_CONNECTION_ERROR_INVALIDREQUEST,
	EWS_CONNECTION_ERROR_INVALIDROUTINGTYPE,
	EWS_CONNECTION_ERROR_INVALIDSCHEDULEDOOFDURATION,
	EWS_CONNECTION_ERROR_INVALIDSECURITYDESCRIPTOR,
	EWS_CONNECTION_ERROR_INVALIDSENDITEMSAVESETTINGS,
	EWS_CONNECTION_ERROR_INVALIDSERIALIZEDACCESSTOKEN,
	EWS_CONNECTION_ERROR_INVALIDSID,
	EWS_CONNECTION_ERROR_INVALIDSERVERVERSION,
	EWS_CONNECTION_ERROR_INVALIDSMTPADDRESS,
	EWS_CONNECTION_ERROR_INVALIDSUBSCRIPTION,
	EWS_CONNECTION_ERROR_INVALIDSUBSCRIPTIONREQUEST,
	EWS_CONNECTION_ERROR_INVALIDSYNCSTATEDATA,
	EWS_CONNECTION_ERROR_INVALIDTIMEINTERVAL,
	EWS_CONNECTION_ERROR_INVALIDUSERINFO,
	EWS_CONNECTION_ERROR_INVALIDUSEROOFSETTINGS,
	EWS_CONNECTION_ERROR_INVALIDUSERPRINCIPALNAME,
	EWS_CONNECTION_ERROR_INVALIDUSERSID,
	EWS_CONNECTION_ERROR_INVALIDVALUEFORPROPERTY,
	EWS_CONNECTION_ERROR_INVALIDWATERMARK,
	EWS_CONNECTION_ERROR_IRRESOLVABLECONFLICT,
	EWS_CONNECTION_ERROR_ITEMCORRUPT,
	EWS_CONNECTION_ERROR_ITEMNOTFOUND,
	EWS_CONNECTION_ERROR_ITEMPROPERTYREQUESTFAILED,
	EWS_CONNECTION_ERROR_ITEMSAVE,
	EWS_CONNECTION_ERROR_ITEMSAVEPROPERTYERROR,
	EWS_CONNECTION_ERROR_LOGONASNETWORKSERVICEFAILED,
	EWS_CONNECTION_ERROR_MAILBOXCONFIGURATION,
	EWS_CONNECTION_ERROR_MAILBOXDATAARRAYEMPTY,
	EWS_CONNECTION_ERROR_MAILBOXDATAARRAYTOOBIG,
	EWS_CONNECTION_ERROR_MAILBOXLOGONFAILED,
	EWS_CONNECTION_ERROR_MAILBOXMOVEINPROGRESS,
	EWS_CONNECTION_ERROR_MAILBOXSTOREUNAVAILABLE,
	EWS_CONNECTION_ERROR_MAILRECIPIENTNOTFOUND,
	EWS_CONNECTION_ERROR_MANAGEDFOLDERALREADYEXISTS,
	EWS_CONNECTION_ERROR_MANAGEDFOLDERNOTFOUND,
	EWS_CONNECTION_ERROR_MANAGEDFOLDERSROOTFAILURE,
	EWS_CONNECTION_ERROR_MEETINGSUGGESTIONGENERATIONFAILED,
	EWS_CONNECTION_ERROR_MESSAGEDISPOSITIONREQUIRED,
	EWS_CONNECTION_ERROR_MESSAGESIZEEXCEEDED,
	EWS_CONNECTION_ERROR_MIMECONTENTCONVERSIONFAILED,
	EWS_CONNECTION_ERROR_MIMECONTENTINVALID,
	EWS_CONNECTION_ERROR_MIMECONTENTINVALIDBASE64STRING,
	EWS_CONNECTION_ERROR_MISSINGARGUMENT,
	EWS_CONNECTION_ERROR_MISSINGEMAILADDRESS,
	EWS_CONNECTION_ERROR_MISSINGEMAILADDRESSFORMANAGEDFOLDER,
	EWS_CONNECTION_ERROR_MISSINGINFORMATIONEMAILADDRESS,
	EWS_CONNECTION_ERROR_MISSINGINFORMATIONREFERENCEITEMID,
	EWS_CONNECTION_ERROR_MISSINGITEMFORCREATEITEMATTACHMENT,
	EWS_CONNECTION_ERROR_MISSINGMANAGEDFOLDERID,
	EWS_CONNECTION_ERROR_MISSINGRECIPIENTS,
	EWS_CONNECTION_ERROR_MISSINGUSERIDINFORMATION,
	EWS_CONNECTION_ERROR_MORETHANONEACCESSMODESPECIFIED,
	EWS_CONNECTION_ERROR_MOVECOPYFAILED,
	EWS_CONNECTION_ERROR_MOVEDISTINGUISHEDFOLDER,
	EWS_CONNECTION_ERROR_NAMERESOLUTIONMULTIPLERESULTS,
	EWS_CONNECTION_ERROR_NAMERESOLUTIONNOMAILBOX,
	EWS_CONNECTION_ERROR_NAMERESOLUTIONNORESULTS,
	EWS_CONNECTION_ERROR_NOCALENDAR,
	EWS_CONNECTION_ERROR_NODESTINATIONCASDUETOKERBEROSREQUIREMENTS,
	EWS_CONNECTION_ERROR_NODESTINATIONCASDUETOSSLREQUIREMENTS,
	EWS_CONNECTION_ERROR_NODESTINATIONCASDUETOVERSIONMISMATCH,
	EWS_CONNECTION_ERROR_NOFOLDERCLASSOVERRIDE,
	EWS_CONNECTION_ERROR_NOFREEBUSYACCESS,
	EWS_CONNECTION_ERROR_NONEXISTENTMAILBOX,
	EWS_CONNECTION_ERROR_NONPRIMARYSMTPADDRESS,
	EWS_CONNECTION_ERROR_NOPROPERTYTAGFORCUSTOMPROPERTIES,
	EWS_CONNECTION_ERROR_NORESPONDINGCASINDESTINATIONSITE,
	EWS_CONNECTION_ERROR_NOTDELEGATE,
	EWS_CONNECTION_ERROR_NOTENOUGHMEMORY,
	EWS_CONNECTION_ERROR_OBJECTTYPECHANGED,
	EWS_CONNECTION_ERROR_OCCURRENCECROSSINGBOUNDARY,
	EWS_CONNECTION_ERROR_OCCURRENCETIMESPANTOOBIG,
	EWS_CONNECTION_ERROR_OPERATIONNOTALLOWEDWITHPUBLICFOLDERROOT,
	EWS_CONNECTION_ERROR_PARENTFOLDERNOTFOUND,
	EWS_CONNECTION_ERROR_PASSWORDCHANGEREQUIRED,
	EWS_CONNECTION_ERROR_PASSWORDEXPIRED,
	EWS_CONNECTION_ERROR_PROPERTYUPDATE,
	EWS_CONNECTION_ERROR_PROXIEDSUBSCRIPTIONCALLFAILURE,
	EWS_CONNECTION_ERROR_PROXYGROUPSIDLIMITEXCEEDED,
	EWS_CONNECTION_ERROR_PROXYREQUESTNOTALLOWED,
	EWS_CONNECTION_ERROR_PROXYREQUESTPROCESSINGFAILED,
	EWS_CONNECTION_ERROR_PUBLICFOLDERREQUESTPROCESSINGFAILED,
	EWS_CONNECTION_ERROR_PUBLICFOLDERSERVERNOTFOUND,
	EWS_CONNECTION_ERROR_QUERYFILTERTOOLONG,
	EWS_CONNECTION_ERROR_QUOTAEXCEEDED,
	EWS_CONNECTION_ERROR_READEVENTSFAILED,
	EWS_CONNECTION_ERROR_READRECEIPTNOTPENDING,
	EWS_CONNECTION_ERROR_RECURRENCEENDDATETOOBIG,
	EWS_CONNECTION_ERROR_RECURRENCEHASNOOCCURRENCE,
	EWS_CONNECTION_ERROR_REMOVEDELEGATESFAILED,
	EWS_CONNECTION_ERROR_REQUESTSTREAMTOOBIG,
	EWS_CONNECTION_ERROR_REQUIREDPROPERTYMISSING,
	EWS_CONNECTION_ERROR_RESOLVENAMESINVALIDFOLDERTYPE,
	EWS_CONNECTION_ERROR_RESOLVENAMESONLYONECONTACTSFOLDERALLOWED,
	EWS_CONNECTION_ERROR_RESPONSESCHEMAVALIDATION,
	EWS_CONNECTION_ERROR_RESTRICTIONTOOLONG,
	EWS_CONNECTION_ERROR_RESTRICTIONTOOCOMPLEX,
	EWS_CONNECTION_ERROR_RESULTSETTOOBIG,
	EWS_CONNECTION_ERROR_SAVEDITEMFOLDERNOTFOUND,
	EWS_CONNECTION_ERROR_SCHEMAVALIDATION,
	EWS_CONNECTION_ERROR_SEARCHFOLDERNOTINITIALIZED,
	EWS_CONNECTION_ERROR_SENDASDENIED,
	EWS_CONNECTION_ERROR_SENDMEETINGCANCELLATIONSREQUIRED,
	EWS_CONNECTION_ERROR_SENDMEETINGINVITATIONSORCANCELLATIONSREQUIRED,
	EWS_CONNECTION_ERROR_SENDMEETINGINVITATIONSREQUIRED,
	EWS_CONNECTION_ERROR_SENTMEETINGREQUESTUPDATE,
	EWS_CONNECTION_ERROR_SENTTASKREQUESTUPDATE,
	EWS_CONNECTION_ERROR_SERVERBUSY,
	EWS_CONNECTION_ERROR_SERVICEDISCOVERYFAILED,
	EWS_CONNECTION_ERROR_STALEOBJECT,
	EWS_CONNECTION_ERROR_SUBSCRIPTIONACCESSDENIED,
	EWS_CONNECTION_ERROR_SUBSCRIPTIONDELEGATEACCESSNOTSUPPORTED,
	EWS_CONNECTION_ERROR_SUBSCRIPTIONNOTFOUND,
	EWS_CONNECTION_ERROR_SYNCFOLDERNOTFOUND,
	EWS_CONNECTION_ERROR_TIMEINTERVALTOOBIG,
	EWS_CONNECTION_ERROR_TIMEOUTEXPIRED,
	EWS_CONNECTION_ERROR_TIMEZONE,
	EWS_CONNECTION_ERROR_TOFOLDERNOTFOUND,
	EWS_CONNECTION_ERROR_TOKENSERIALIZATIONDENIED,
	EWS_CONNECTION_ERROR_UNSUPPORTEDCULTURE,
	EWS_CONNECTION_ERROR_UNSUPPORTEDMAPIPROPERTYTYPE,
	EWS_CONNECTION_ERROR_UNSUPPORTEDMIMECONVERSION,
	EWS_CONNECTION_ERROR_UNSUPPORTEDPATHFORQUERY,
	EWS_CONNECTION_ERROR_UNSUPPORTEDPATHFORSORTGROUP,
	EWS_CONNECTION_ERROR_UNSUPPORTEDQUERYFILTER,
	EWS_CONNECTION_ERROR_UNSUPPORTEDRECURRENCE,
	EWS_CONNECTION_ERROR_UNSUPPORTEDTYPEFORCONVERSION,
	EWS_CONNECTION_ERROR_UPDATEDELEGATESFAILED,
	EWS_CONNECTION_ERROR_UPDATEPROPERTYMISMATCH,
	EWS_CONNECTION_ERROR_VIRUSDETECTED,
	EWS_CONNECTION_ERROR_VIRUSMESSAGEDELETED,
	EWS_CONNECTION_ERROR_WIN32INTEROPERROR,
	/* Below this point are no longer direct translations of EWS errors */
	EWS_CONNECTION_ERROR_NORESPONSE,
	EWS_CONNECTION_ERROR_AUTHENTICATION_FAILED,
	EWS_CONNECTION_ERROR_UNAVAILABLE,
	EWS_CONNECTION_ERROR_UNKNOWN
};

struct EwsErrorMap {
	const gchar *error_id;
	gint error_code;
};

gint		ews_get_error_code		(const gchar *str);
gboolean	ews_get_response_status		(ESoapParameter *param,
						 GError **error);

G_END_DECLS

#endif /* EWS_ERRORS_H */