This file is indexed.

/usr/include/thunderbird/calIPeriod.h is in thunderbird-dev 1:52.8.0-1~deb8u1.

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
319
320
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/calIPeriod.idl
 */

#ifndef __gen_calIPeriod_h__
#define __gen_calIPeriod_h__


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

#include "js/Value.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class calIDateTime; /* forward declaration */

class calIDuration; /* forward declaration */


/* starting interface:    calIPeriod */
#define CALIPERIOD_IID_STR "ace2a74c-bd08-476f-be8b-6565abc50339"

#define CALIPERIOD_IID \
  {0xace2a74c, 0xbd08, 0x476f, \
    { 0xbe, 0x8b, 0x65, 0x65, 0xab, 0xc5, 0x03, 0x39 }}

class NS_NO_VTABLE calIPeriod : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIPERIOD_IID)

  /* attribute jsval icalPeriod; */
  NS_IMETHOD GetIcalPeriod(JS::MutableHandleValue aIcalPeriod) = 0;
  NS_IMETHOD SetIcalPeriod(JS::HandleValue aIcalPeriod) = 0;

  /* readonly attribute boolean isMutable; */
  NS_IMETHOD GetIsMutable(bool *aIsMutable) = 0;

  /* void makeImmutable (); */
  NS_IMETHOD MakeImmutable(void) = 0;

  /* calIPeriod clone (); */
  NS_IMETHOD Clone(calIPeriod * *_retval) = 0;

  /* attribute calIDateTime start; */
  NS_IMETHOD GetStart(calIDateTime * *aStart) = 0;
  NS_IMETHOD SetStart(calIDateTime *aStart) = 0;

  /* attribute calIDateTime end; */
  NS_IMETHOD GetEnd(calIDateTime * *aEnd) = 0;
  NS_IMETHOD SetEnd(calIDateTime *aEnd) = 0;

  /* readonly attribute calIDuration duration; */
  NS_IMETHOD GetDuration(calIDuration * *aDuration) = 0;

  /* AUTF8String toString (); */
  NS_IMETHOD ToString(nsACString & _retval) = 0;

  /* attribute ACString icalString; */
  NS_IMETHOD GetIcalString(nsACString & aIcalString) = 0;
  NS_IMETHOD SetIcalString(const nsACString & aIcalString) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIPeriod, CALIPERIOD_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIPERIOD \
  NS_IMETHOD GetIcalPeriod(JS::MutableHandleValue aIcalPeriod) override; \
  NS_IMETHOD SetIcalPeriod(JS::HandleValue aIcalPeriod) override; \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override; \
  NS_IMETHOD MakeImmutable(void) override; \
  NS_IMETHOD Clone(calIPeriod * *_retval) override; \
  NS_IMETHOD GetStart(calIDateTime * *aStart) override; \
  NS_IMETHOD SetStart(calIDateTime *aStart) override; \
  NS_IMETHOD GetEnd(calIDateTime * *aEnd) override; \
  NS_IMETHOD SetEnd(calIDateTime *aEnd) override; \
  NS_IMETHOD GetDuration(calIDuration * *aDuration) override; \
  NS_IMETHOD ToString(nsACString & _retval) override; \
  NS_IMETHOD GetIcalString(nsACString & aIcalString) override; \
  NS_IMETHOD SetIcalString(const nsACString & aIcalString) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALIPERIOD \
  NS_METHOD GetIcalPeriod(JS::MutableHandleValue aIcalPeriod); \
  NS_METHOD SetIcalPeriod(JS::HandleValue aIcalPeriod); \
  NS_METHOD GetIsMutable(bool *aIsMutable); \
  NS_METHOD MakeImmutable(void); \
  NS_METHOD Clone(calIPeriod * *_retval); \
  NS_METHOD GetStart(calIDateTime * *aStart); \
  NS_METHOD SetStart(calIDateTime *aStart); \
  NS_METHOD GetEnd(calIDateTime * *aEnd); \
  NS_METHOD SetEnd(calIDateTime *aEnd); \
  NS_METHOD GetDuration(calIDuration * *aDuration); \
  NS_METHOD ToString(nsACString & _retval); \
  NS_METHOD GetIcalString(nsACString & aIcalString); \
  NS_METHOD SetIcalString(const nsACString & aIcalString); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIPERIOD(_to) \
  NS_IMETHOD GetIcalPeriod(JS::MutableHandleValue aIcalPeriod) override { return _to GetIcalPeriod(aIcalPeriod); } \
  NS_IMETHOD SetIcalPeriod(JS::HandleValue aIcalPeriod) override { return _to SetIcalPeriod(aIcalPeriod); } \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override { return _to GetIsMutable(aIsMutable); } \
  NS_IMETHOD MakeImmutable(void) override { return _to MakeImmutable(); } \
  NS_IMETHOD Clone(calIPeriod * *_retval) override { return _to Clone(_retval); } \
  NS_IMETHOD GetStart(calIDateTime * *aStart) override { return _to GetStart(aStart); } \
  NS_IMETHOD SetStart(calIDateTime *aStart) override { return _to SetStart(aStart); } \
  NS_IMETHOD GetEnd(calIDateTime * *aEnd) override { return _to GetEnd(aEnd); } \
  NS_IMETHOD SetEnd(calIDateTime *aEnd) override { return _to SetEnd(aEnd); } \
  NS_IMETHOD GetDuration(calIDuration * *aDuration) override { return _to GetDuration(aDuration); } \
  NS_IMETHOD ToString(nsACString & _retval) override { return _to ToString(_retval); } \
  NS_IMETHOD GetIcalString(nsACString & aIcalString) override { return _to GetIcalString(aIcalString); } \
  NS_IMETHOD SetIcalString(const nsACString & aIcalString) override { return _to SetIcalString(aIcalString); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIPERIOD(_to) \
  NS_IMETHOD GetIcalPeriod(JS::MutableHandleValue aIcalPeriod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalPeriod(aIcalPeriod); } \
  NS_IMETHOD SetIcalPeriod(JS::HandleValue aIcalPeriod) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalPeriod(aIcalPeriod); } \
  NS_IMETHOD GetIsMutable(bool *aIsMutable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsMutable(aIsMutable); } \
  NS_IMETHOD MakeImmutable(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MakeImmutable(); } \
  NS_IMETHOD Clone(calIPeriod * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Clone(_retval); } \
  NS_IMETHOD GetStart(calIDateTime * *aStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStart(aStart); } \
  NS_IMETHOD SetStart(calIDateTime *aStart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStart(aStart); } \
  NS_IMETHOD GetEnd(calIDateTime * *aEnd) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnd(aEnd); } \
  NS_IMETHOD SetEnd(calIDateTime *aEnd) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnd(aEnd); } \
  NS_IMETHOD GetDuration(calIDuration * *aDuration) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDuration(aDuration); } \
  NS_IMETHOD ToString(nsACString & _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ToString(_retval); } \
  NS_IMETHOD GetIcalString(nsACString & aIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIcalString(aIcalString); } \
  NS_IMETHOD SetIcalString(const nsACString & aIcalString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIcalString(aIcalString); } 

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

/* Header file */
class _MYCLASS_ : public calIPeriod
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIPERIOD

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calIPeriod)

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

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

/* attribute jsval icalPeriod; */
NS_IMETHODIMP _MYCLASS_::GetIcalPeriod(JS::MutableHandleValue aIcalPeriod)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetIcalPeriod(JS::HandleValue aIcalPeriod)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean isMutable; */
NS_IMETHODIMP _MYCLASS_::GetIsMutable(bool *aIsMutable)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void makeImmutable (); */
NS_IMETHODIMP _MYCLASS_::MakeImmutable()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* calIPeriod clone (); */
NS_IMETHODIMP _MYCLASS_::Clone(calIPeriod * *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute calIDateTime start; */
NS_IMETHODIMP _MYCLASS_::GetStart(calIDateTime * *aStart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetStart(calIDateTime *aStart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute calIDateTime end; */
NS_IMETHODIMP _MYCLASS_::GetEnd(calIDateTime * *aEnd)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetEnd(calIDateTime *aEnd)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute calIDuration duration; */
NS_IMETHODIMP _MYCLASS_::GetDuration(calIDuration * *aDuration)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* AUTF8String toString (); */
NS_IMETHODIMP _MYCLASS_::ToString(nsACString & _retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString icalString; */
NS_IMETHODIMP _MYCLASS_::GetIcalString(nsACString & aIcalString)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP _MYCLASS_::SetIcalString(const nsACString & aIcalString)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    calIPeriodLibical */
#define CALIPERIODLIBICAL_IID_STR "04ee525f-96db-4731-8d61-688e754df24f"

#define CALIPERIODLIBICAL_IID \
  {0x04ee525f, 0x96db, 0x4731, \
    { 0x8d, 0x61, 0x68, 0x8e, 0x75, 0x4d, 0xf2, 0x4f }}

class NS_NO_VTABLE calIPeriodLibical : public calIPeriod {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIPERIODLIBICAL_IID)

  /* [noscript,notxpcom] void toIcalPeriod (in icalperiodtypeptr idt); */
  NS_IMETHOD_(void) ToIcalPeriod(struct icalperiodtype *idt) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIPeriodLibical, CALIPERIODLIBICAL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIPERIODLIBICAL \
  NS_IMETHOD_(void) ToIcalPeriod(struct icalperiodtype *idt) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_CALIPERIODLIBICAL \
  NS_METHOD_(void) ToIcalPeriod(struct icalperiodtype *idt); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIPERIODLIBICAL(_to) \
  NS_IMETHOD_(void) ToIcalPeriod(struct icalperiodtype *idt) override { return _to ToIcalPeriod(idt); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIPERIODLIBICAL(_to) \
  NS_IMETHOD_(void) ToIcalPeriod(struct icalperiodtype *idt) override; 

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

/* Header file */
class _MYCLASS_ : public calIPeriodLibical
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIPERIODLIBICAL

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(_MYCLASS_, calIPeriodLibical)

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

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

/* [noscript,notxpcom] void toIcalPeriod (in icalperiodtypeptr idt); */
NS_IMETHODIMP_(void) _MYCLASS_::ToIcalPeriod(struct icalperiodtype *idt)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_calIPeriod_h__ */