This file is indexed.

/usr/include/thunderbird/calIWcapCalendar.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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/calIWcapCalendar.idl
 */

#ifndef __gen_calIWcapCalendar_h__
#define __gen_calIWcapCalendar_h__


#ifndef __gen_calICalendar_h__
#include "calICalendar.h"
#endif

/* 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 calIWcapSession; /* forward declaration */


/* starting interface:    calIWcapCalendar */
#define CALIWCAPCALENDAR_IID_STR "21a189df-6c92-41f6-9e2b-1929ef25caee"

#define CALIWCAPCALENDAR_IID \
  {0x21a189df, 0x6c92, 0x41f6, \
    { 0x9e, 0x2b, 0x19, 0x29, 0xef, 0x25, 0xca, 0xee }}

class NS_NO_VTABLE calIWcapCalendar : public calICalendar {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(CALIWCAPCALENDAR_IID)

  /* readonly attribute calIWcapSession session; */
  NS_IMETHOD GetSession(calIWcapSession * *aSession) = 0;

  /* readonly attribute string calId; */
  NS_IMETHOD GetCalId(char * *aCalId) = 0;

  /* readonly attribute string ownerId; */
  NS_IMETHOD GetOwnerId(char * *aOwnerId) = 0;

  /* readonly attribute boolean isDefaultCalendar; */
  NS_IMETHOD GetIsDefaultCalendar(bool *aIsDefaultCalendar) = 0;

  /* readonly attribute boolean isOwnedCalendar; */
  NS_IMETHOD GetIsOwnedCalendar(bool *aIsOwnedCalendar) = 0;

  /* readonly attribute string description; */
  NS_IMETHOD GetDescription(char * *aDescription) = 0;

  /* readonly attribute string displayName; */
  NS_IMETHOD GetDisplayName(char * *aDisplayName) = 0;

  /* readonly attribute string defaultTimezone; */
  NS_IMETHOD GetDefaultTimezone(char * *aDefaultTimezone) = 0;

  /* void getCalendarProperties (in string propName, out unsigned long count, [array, size_is (count), retval] out string props); */
  NS_IMETHOD GetCalendarProperties(const char * propName, uint32_t *count, char * **props) = 0;

  enum {
    AC_FREEBUSY = 1U,
    AC_SCHEDULE = 2U,
    AC_COMP_READ = 4U,
    AC_COMP_WRITE = 8U,
    AC_PROP_READ = 16U,
    AC_PROP_WRITE = 32U,
    AC_FULL = 63U
  };

  /* boolean checkAccess (in unsigned long accessControlBits); */
  NS_IMETHOD CheckAccess(uint32_t accessControlBits, bool *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(calIWcapCalendar, CALIWCAPCALENDAR_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_CALIWCAPCALENDAR \
  NS_IMETHOD GetSession(calIWcapSession * *aSession) override; \
  NS_IMETHOD GetCalId(char * *aCalId) override; \
  NS_IMETHOD GetOwnerId(char * *aOwnerId) override; \
  NS_IMETHOD GetIsDefaultCalendar(bool *aIsDefaultCalendar) override; \
  NS_IMETHOD GetIsOwnedCalendar(bool *aIsOwnedCalendar) override; \
  NS_IMETHOD GetDescription(char * *aDescription) override; \
  NS_IMETHOD GetDisplayName(char * *aDisplayName) override; \
  NS_IMETHOD GetDefaultTimezone(char * *aDefaultTimezone) override; \
  NS_IMETHOD GetCalendarProperties(const char * propName, uint32_t *count, char * **props) override; \
  NS_IMETHOD CheckAccess(uint32_t accessControlBits, bool *_retval) 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_CALIWCAPCALENDAR \
  NS_METHOD GetSession(calIWcapSession * *aSession); \
  NS_METHOD GetCalId(char * *aCalId); \
  NS_METHOD GetOwnerId(char * *aOwnerId); \
  NS_METHOD GetIsDefaultCalendar(bool *aIsDefaultCalendar); \
  NS_METHOD GetIsOwnedCalendar(bool *aIsOwnedCalendar); \
  NS_METHOD GetDescription(char * *aDescription); \
  NS_METHOD GetDisplayName(char * *aDisplayName); \
  NS_METHOD GetDefaultTimezone(char * *aDefaultTimezone); \
  NS_METHOD GetCalendarProperties(const char * propName, uint32_t *count, char * **props); \
  NS_METHOD CheckAccess(uint32_t accessControlBits, bool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_CALIWCAPCALENDAR(_to) \
  NS_IMETHOD GetSession(calIWcapSession * *aSession) override { return _to GetSession(aSession); } \
  NS_IMETHOD GetCalId(char * *aCalId) override { return _to GetCalId(aCalId); } \
  NS_IMETHOD GetOwnerId(char * *aOwnerId) override { return _to GetOwnerId(aOwnerId); } \
  NS_IMETHOD GetIsDefaultCalendar(bool *aIsDefaultCalendar) override { return _to GetIsDefaultCalendar(aIsDefaultCalendar); } \
  NS_IMETHOD GetIsOwnedCalendar(bool *aIsOwnedCalendar) override { return _to GetIsOwnedCalendar(aIsOwnedCalendar); } \
  NS_IMETHOD GetDescription(char * *aDescription) override { return _to GetDescription(aDescription); } \
  NS_IMETHOD GetDisplayName(char * *aDisplayName) override { return _to GetDisplayName(aDisplayName); } \
  NS_IMETHOD GetDefaultTimezone(char * *aDefaultTimezone) override { return _to GetDefaultTimezone(aDefaultTimezone); } \
  NS_IMETHOD GetCalendarProperties(const char * propName, uint32_t *count, char * **props) override { return _to GetCalendarProperties(propName, count, props); } \
  NS_IMETHOD CheckAccess(uint32_t accessControlBits, bool *_retval) override { return _to CheckAccess(accessControlBits, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_CALIWCAPCALENDAR(_to) \
  NS_IMETHOD GetSession(calIWcapSession * *aSession) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSession(aSession); } \
  NS_IMETHOD GetCalId(char * *aCalId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCalId(aCalId); } \
  NS_IMETHOD GetOwnerId(char * *aOwnerId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwnerId(aOwnerId); } \
  NS_IMETHOD GetIsDefaultCalendar(bool *aIsDefaultCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsDefaultCalendar(aIsDefaultCalendar); } \
  NS_IMETHOD GetIsOwnedCalendar(bool *aIsOwnedCalendar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsOwnedCalendar(aIsOwnedCalendar); } \
  NS_IMETHOD GetDescription(char * *aDescription) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDescription(aDescription); } \
  NS_IMETHOD GetDisplayName(char * *aDisplayName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayName(aDisplayName); } \
  NS_IMETHOD GetDefaultTimezone(char * *aDefaultTimezone) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultTimezone(aDefaultTimezone); } \
  NS_IMETHOD GetCalendarProperties(const char * propName, uint32_t *count, char * **props) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCalendarProperties(propName, count, props); } \
  NS_IMETHOD CheckAccess(uint32_t accessControlBits, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckAccess(accessControlBits, _retval); } 

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

/* Header file */
class _MYCLASS_ : public calIWcapCalendar
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_CALIWCAPCALENDAR

  _MYCLASS_();

private:
  ~_MYCLASS_();

protected:
  /* additional members */
};

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

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

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

/* readonly attribute calIWcapSession session; */
NS_IMETHODIMP _MYCLASS_::GetSession(calIWcapSession * *aSession)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string calId; */
NS_IMETHODIMP _MYCLASS_::GetCalId(char * *aCalId)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string ownerId; */
NS_IMETHODIMP _MYCLASS_::GetOwnerId(char * *aOwnerId)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean isDefaultCalendar; */
NS_IMETHODIMP _MYCLASS_::GetIsDefaultCalendar(bool *aIsDefaultCalendar)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute boolean isOwnedCalendar; */
NS_IMETHODIMP _MYCLASS_::GetIsOwnedCalendar(bool *aIsOwnedCalendar)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string description; */
NS_IMETHODIMP _MYCLASS_::GetDescription(char * *aDescription)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string displayName; */
NS_IMETHODIMP _MYCLASS_::GetDisplayName(char * *aDisplayName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string defaultTimezone; */
NS_IMETHODIMP _MYCLASS_::GetDefaultTimezone(char * *aDefaultTimezone)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getCalendarProperties (in string propName, out unsigned long count, [array, size_is (count), retval] out string props); */
NS_IMETHODIMP _MYCLASS_::GetCalendarProperties(const char * propName, uint32_t *count, char * **props)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean checkAccess (in unsigned long accessControlBits); */
NS_IMETHODIMP _MYCLASS_::CheckAccess(uint32_t accessControlBits, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_calIWcapCalendar_h__ */