This file is indexed.

/usr/include/thunderbird-11.0.1/nsIImapFlagAndUidState.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.

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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/mailnews/imap/public/nsIImapFlagAndUidState.idl
 */

#ifndef __gen_nsIImapFlagAndUidState_h__
#define __gen_nsIImapFlagAndUidState_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIImapFlagAndUidState */
#define NS_IIMAPFLAGANDUIDSTATE_IID_STR "444e0d79-874d-4174-b7f3-189db317473c"

#define NS_IIMAPFLAGANDUIDSTATE_IID \
  {0x444e0d79, 0x874d, 0x4174, \
    { 0xb7, 0xf3, 0x18, 0x9d, 0xb3, 0x17, 0x47, 0x3c }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIImapFlagAndUidState : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIMAPFLAGANDUIDSTATE_IID)

  /* readonly attribute long numberOfMessages; */
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfMessages(PRInt32 *aNumberOfMessages) = 0;

  /* readonly attribute long numberOfRecentMessages; */
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfRecentMessages(PRInt32 *aNumberOfRecentMessages) = 0;

  /* readonly attribute long numberOfDeletedMessages; */
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfDeletedMessages(PRInt32 *aNumberOfDeletedMessages) = 0;

  /* readonly attribute boolean partialUIDFetch; */
  NS_SCRIPTABLE NS_IMETHOD GetPartialUIDFetch(bool *aPartialUIDFetch) = 0;

  /* readonly attribute unsigned short supportedUserFlags; */
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint16 *aSupportedUserFlags) = 0;

  /* void orSupportedUserFlags (in unsigned short aFlags); */
  NS_SCRIPTABLE NS_IMETHOD OrSupportedUserFlags(PRUint16 aFlags) = 0;

  /* void getUidOfMessage (in long zeroBasedIndex, out unsigned long result); */
  NS_SCRIPTABLE NS_IMETHOD GetUidOfMessage(PRInt32 zeroBasedIndex, PRUint32 *result NS_OUTPARAM) = 0;

  /* void getMessageFlags (in long zeroBasedIndex, out unsigned short result); */
  NS_SCRIPTABLE NS_IMETHOD GetMessageFlags(PRInt32 zeroBasedIndex, PRUint16 *result NS_OUTPARAM) = 0;

  /* void setMessageFlags (in long zeroBasedIndex, in unsigned short flags); */
  NS_SCRIPTABLE NS_IMETHOD SetMessageFlags(PRInt32 zeroBasedIndex, PRUint16 flags) = 0;

  /* void expungeByIndex (in unsigned long zeroBasedIndex); */
  NS_SCRIPTABLE NS_IMETHOD ExpungeByIndex(PRUint32 zeroBasedIndex) = 0;

  /* void addUidFlagPair (in unsigned long uid, in unsigned short flags, in unsigned long zeroBasedIndex); */
  NS_SCRIPTABLE NS_IMETHOD AddUidFlagPair(PRUint32 uid, PRUint16 flags, PRUint32 zeroBasedIndex) = 0;

  /* void addUidCustomFlagPair (in unsigned long uid, in string customFlag); */
  NS_SCRIPTABLE NS_IMETHOD AddUidCustomFlagPair(PRUint32 uid, const char * customFlag) = 0;

  /* string getCustomFlags (in unsigned long uid); */
  NS_SCRIPTABLE NS_IMETHOD GetCustomFlags(PRUint32 uid, char * *_retval NS_OUTPARAM) = 0;

  /* void reset (); */
  NS_SCRIPTABLE NS_IMETHOD Reset(void) = 0;

  /* void clearCustomFlags (in unsigned long uid); */
  NS_SCRIPTABLE NS_IMETHOD ClearCustomFlags(PRUint32 uid) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIImapFlagAndUidState, NS_IIMAPFLAGANDUIDSTATE_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIIMAPFLAGANDUIDSTATE \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfMessages(PRInt32 *aNumberOfMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfRecentMessages(PRInt32 *aNumberOfRecentMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfDeletedMessages(PRInt32 *aNumberOfDeletedMessages); \
  NS_SCRIPTABLE NS_IMETHOD GetPartialUIDFetch(bool *aPartialUIDFetch); \
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint16 *aSupportedUserFlags); \
  NS_SCRIPTABLE NS_IMETHOD OrSupportedUserFlags(PRUint16 aFlags); \
  NS_SCRIPTABLE NS_IMETHOD GetUidOfMessage(PRInt32 zeroBasedIndex, PRUint32 *result NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetMessageFlags(PRInt32 zeroBasedIndex, PRUint16 *result NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD SetMessageFlags(PRInt32 zeroBasedIndex, PRUint16 flags); \
  NS_SCRIPTABLE NS_IMETHOD ExpungeByIndex(PRUint32 zeroBasedIndex); \
  NS_SCRIPTABLE NS_IMETHOD AddUidFlagPair(PRUint32 uid, PRUint16 flags, PRUint32 zeroBasedIndex); \
  NS_SCRIPTABLE NS_IMETHOD AddUidCustomFlagPair(PRUint32 uid, const char * customFlag); \
  NS_SCRIPTABLE NS_IMETHOD GetCustomFlags(PRUint32 uid, char * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD Reset(void); \
  NS_SCRIPTABLE NS_IMETHOD ClearCustomFlags(PRUint32 uid); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIIMAPFLAGANDUIDSTATE(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfMessages(PRInt32 *aNumberOfMessages) { return _to GetNumberOfMessages(aNumberOfMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfRecentMessages(PRInt32 *aNumberOfRecentMessages) { return _to GetNumberOfRecentMessages(aNumberOfRecentMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfDeletedMessages(PRInt32 *aNumberOfDeletedMessages) { return _to GetNumberOfDeletedMessages(aNumberOfDeletedMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetPartialUIDFetch(bool *aPartialUIDFetch) { return _to GetPartialUIDFetch(aPartialUIDFetch); } \
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint16 *aSupportedUserFlags) { return _to GetSupportedUserFlags(aSupportedUserFlags); } \
  NS_SCRIPTABLE NS_IMETHOD OrSupportedUserFlags(PRUint16 aFlags) { return _to OrSupportedUserFlags(aFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetUidOfMessage(PRInt32 zeroBasedIndex, PRUint32 *result NS_OUTPARAM) { return _to GetUidOfMessage(zeroBasedIndex, result); } \
  NS_SCRIPTABLE NS_IMETHOD GetMessageFlags(PRInt32 zeroBasedIndex, PRUint16 *result NS_OUTPARAM) { return _to GetMessageFlags(zeroBasedIndex, result); } \
  NS_SCRIPTABLE NS_IMETHOD SetMessageFlags(PRInt32 zeroBasedIndex, PRUint16 flags) { return _to SetMessageFlags(zeroBasedIndex, flags); } \
  NS_SCRIPTABLE NS_IMETHOD ExpungeByIndex(PRUint32 zeroBasedIndex) { return _to ExpungeByIndex(zeroBasedIndex); } \
  NS_SCRIPTABLE NS_IMETHOD AddUidFlagPair(PRUint32 uid, PRUint16 flags, PRUint32 zeroBasedIndex) { return _to AddUidFlagPair(uid, flags, zeroBasedIndex); } \
  NS_SCRIPTABLE NS_IMETHOD AddUidCustomFlagPair(PRUint32 uid, const char * customFlag) { return _to AddUidCustomFlagPair(uid, customFlag); } \
  NS_SCRIPTABLE NS_IMETHOD GetCustomFlags(PRUint32 uid, char * *_retval NS_OUTPARAM) { return _to GetCustomFlags(uid, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD Reset(void) { return _to Reset(); } \
  NS_SCRIPTABLE NS_IMETHOD ClearCustomFlags(PRUint32 uid) { return _to ClearCustomFlags(uid); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIIMAPFLAGANDUIDSTATE(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfMessages(PRInt32 *aNumberOfMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumberOfMessages(aNumberOfMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfRecentMessages(PRInt32 *aNumberOfRecentMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumberOfRecentMessages(aNumberOfRecentMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetNumberOfDeletedMessages(PRInt32 *aNumberOfDeletedMessages) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumberOfDeletedMessages(aNumberOfDeletedMessages); } \
  NS_SCRIPTABLE NS_IMETHOD GetPartialUIDFetch(bool *aPartialUIDFetch) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPartialUIDFetch(aPartialUIDFetch); } \
  NS_SCRIPTABLE NS_IMETHOD GetSupportedUserFlags(PRUint16 *aSupportedUserFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportedUserFlags(aSupportedUserFlags); } \
  NS_SCRIPTABLE NS_IMETHOD OrSupportedUserFlags(PRUint16 aFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->OrSupportedUserFlags(aFlags); } \
  NS_SCRIPTABLE NS_IMETHOD GetUidOfMessage(PRInt32 zeroBasedIndex, PRUint32 *result NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUidOfMessage(zeroBasedIndex, result); } \
  NS_SCRIPTABLE NS_IMETHOD GetMessageFlags(PRInt32 zeroBasedIndex, PRUint16 *result NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageFlags(zeroBasedIndex, result); } \
  NS_SCRIPTABLE NS_IMETHOD SetMessageFlags(PRInt32 zeroBasedIndex, PRUint16 flags) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMessageFlags(zeroBasedIndex, flags); } \
  NS_SCRIPTABLE NS_IMETHOD ExpungeByIndex(PRUint32 zeroBasedIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExpungeByIndex(zeroBasedIndex); } \
  NS_SCRIPTABLE NS_IMETHOD AddUidFlagPair(PRUint32 uid, PRUint16 flags, PRUint32 zeroBasedIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddUidFlagPair(uid, flags, zeroBasedIndex); } \
  NS_SCRIPTABLE NS_IMETHOD AddUidCustomFlagPair(PRUint32 uid, const char * customFlag) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddUidCustomFlagPair(uid, customFlag); } \
  NS_SCRIPTABLE NS_IMETHOD GetCustomFlags(PRUint32 uid, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCustomFlags(uid, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD Reset(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); } \
  NS_SCRIPTABLE NS_IMETHOD ClearCustomFlags(PRUint32 uid) { return !_to ? NS_ERROR_NULL_POINTER : _to->ClearCustomFlags(uid); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsImapFlagAndUidState : public nsIImapFlagAndUidState
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIIMAPFLAGANDUIDSTATE

  nsImapFlagAndUidState();

private:
  ~nsImapFlagAndUidState();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsImapFlagAndUidState, nsIImapFlagAndUidState)

nsImapFlagAndUidState::nsImapFlagAndUidState()
{
  /* member initializers and constructor code */
}

nsImapFlagAndUidState::~nsImapFlagAndUidState()
{
  /* destructor code */
}

/* readonly attribute long numberOfMessages; */
NS_IMETHODIMP nsImapFlagAndUidState::GetNumberOfMessages(PRInt32 *aNumberOfMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long numberOfRecentMessages; */
NS_IMETHODIMP nsImapFlagAndUidState::GetNumberOfRecentMessages(PRInt32 *aNumberOfRecentMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long numberOfDeletedMessages; */
NS_IMETHODIMP nsImapFlagAndUidState::GetNumberOfDeletedMessages(PRInt32 *aNumberOfDeletedMessages)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean partialUIDFetch; */
NS_IMETHODIMP nsImapFlagAndUidState::GetPartialUIDFetch(bool *aPartialUIDFetch)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute unsigned short supportedUserFlags; */
NS_IMETHODIMP nsImapFlagAndUidState::GetSupportedUserFlags(PRUint16 *aSupportedUserFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void orSupportedUserFlags (in unsigned short aFlags); */
NS_IMETHODIMP nsImapFlagAndUidState::OrSupportedUserFlags(PRUint16 aFlags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getUidOfMessage (in long zeroBasedIndex, out unsigned long result); */
NS_IMETHODIMP nsImapFlagAndUidState::GetUidOfMessage(PRInt32 zeroBasedIndex, PRUint32 *result NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getMessageFlags (in long zeroBasedIndex, out unsigned short result); */
NS_IMETHODIMP nsImapFlagAndUidState::GetMessageFlags(PRInt32 zeroBasedIndex, PRUint16 *result NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setMessageFlags (in long zeroBasedIndex, in unsigned short flags); */
NS_IMETHODIMP nsImapFlagAndUidState::SetMessageFlags(PRInt32 zeroBasedIndex, PRUint16 flags)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void expungeByIndex (in unsigned long zeroBasedIndex); */
NS_IMETHODIMP nsImapFlagAndUidState::ExpungeByIndex(PRUint32 zeroBasedIndex)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addUidFlagPair (in unsigned long uid, in unsigned short flags, in unsigned long zeroBasedIndex); */
NS_IMETHODIMP nsImapFlagAndUidState::AddUidFlagPair(PRUint32 uid, PRUint16 flags, PRUint32 zeroBasedIndex)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addUidCustomFlagPair (in unsigned long uid, in string customFlag); */
NS_IMETHODIMP nsImapFlagAndUidState::AddUidCustomFlagPair(PRUint32 uid, const char * customFlag)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string getCustomFlags (in unsigned long uid); */
NS_IMETHODIMP nsImapFlagAndUidState::GetCustomFlags(PRUint32 uid, char * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void reset (); */
NS_IMETHODIMP nsImapFlagAndUidState::Reset()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void clearCustomFlags (in unsigned long uid); */
NS_IMETHODIMP nsImapFlagAndUidState::ClearCustomFlags(PRUint32 uid)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIImapFlagAndUidState_h__ */