This file is indexed.

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

#ifndef __gen_nsIFormHistory_h__
#define __gen_nsIFormHistory_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
class nsIFile; /* forward declaration */

class mozIStorageConnection; /* forward declaration */


/* starting interface:    nsIFormHistory2 */
#define NS_IFORMHISTORY2_IID_STR "5d7d84d1-9798-4016-bf61-a32acf09b29d"

#define NS_IFORMHISTORY2_IID \
  {0x5d7d84d1, 0x9798, 0x4016, \
    { 0xbf, 0x61, 0xa3, 0x2a, 0xcf, 0x09, 0xb2, 0x9d }}

class NS_NO_VTABLE nsIFormHistory2 : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFORMHISTORY2_IID)

  /* readonly attribute boolean hasEntries; */
  NS_IMETHOD GetHasEntries(bool *aHasEntries) = 0;

  /* void addEntry (in AString name, in AString value); */
  NS_IMETHOD AddEntry(const nsAString & name, const nsAString & value) = 0;

  /* void removeEntry (in AString name, in AString value); */
  NS_IMETHOD RemoveEntry(const nsAString & name, const nsAString & value) = 0;

  /* void removeEntriesForName (in AString name); */
  NS_IMETHOD RemoveEntriesForName(const nsAString & name) = 0;

  /* void removeAllEntries (); */
  NS_IMETHOD RemoveAllEntries(void) = 0;

  /* boolean nameExists (in AString name); */
  NS_IMETHOD NameExists(const nsAString & name, bool *_retval) = 0;

  /* boolean entryExists (in AString name, in AString value); */
  NS_IMETHOD EntryExists(const nsAString & name, const nsAString & value, bool *_retval) = 0;

  /* void removeEntriesByTimeframe (in long long aBeginTime, in long long aEndTime); */
  NS_IMETHOD RemoveEntriesByTimeframe(int64_t aBeginTime, int64_t aEndTime) = 0;

  /* readonly attribute mozIStorageConnection DBConnection; */
  NS_IMETHOD GetDBConnection(mozIStorageConnection * *aDBConnection) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIFormHistory2, NS_IFORMHISTORY2_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIFORMHISTORY2 \
  NS_IMETHOD GetHasEntries(bool *aHasEntries) override; \
  NS_IMETHOD AddEntry(const nsAString & name, const nsAString & value) override; \
  NS_IMETHOD RemoveEntry(const nsAString & name, const nsAString & value) override; \
  NS_IMETHOD RemoveEntriesForName(const nsAString & name) override; \
  NS_IMETHOD RemoveAllEntries(void) override; \
  NS_IMETHOD NameExists(const nsAString & name, bool *_retval) override; \
  NS_IMETHOD EntryExists(const nsAString & name, const nsAString & value, bool *_retval) override; \
  NS_IMETHOD RemoveEntriesByTimeframe(int64_t aBeginTime, int64_t aEndTime) override; \
  NS_IMETHOD GetDBConnection(mozIStorageConnection * *aDBConnection) 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_NSIFORMHISTORY2 \
  NS_METHOD GetHasEntries(bool *aHasEntries); \
  NS_METHOD AddEntry(const nsAString & name, const nsAString & value); \
  NS_METHOD RemoveEntry(const nsAString & name, const nsAString & value); \
  NS_METHOD RemoveEntriesForName(const nsAString & name); \
  NS_METHOD RemoveAllEntries(void); \
  NS_METHOD NameExists(const nsAString & name, bool *_retval); \
  NS_METHOD EntryExists(const nsAString & name, const nsAString & value, bool *_retval); \
  NS_METHOD RemoveEntriesByTimeframe(int64_t aBeginTime, int64_t aEndTime); \
  NS_METHOD GetDBConnection(mozIStorageConnection * *aDBConnection); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIFORMHISTORY2(_to) \
  NS_IMETHOD GetHasEntries(bool *aHasEntries) override { return _to GetHasEntries(aHasEntries); } \
  NS_IMETHOD AddEntry(const nsAString & name, const nsAString & value) override { return _to AddEntry(name, value); } \
  NS_IMETHOD RemoveEntry(const nsAString & name, const nsAString & value) override { return _to RemoveEntry(name, value); } \
  NS_IMETHOD RemoveEntriesForName(const nsAString & name) override { return _to RemoveEntriesForName(name); } \
  NS_IMETHOD RemoveAllEntries(void) override { return _to RemoveAllEntries(); } \
  NS_IMETHOD NameExists(const nsAString & name, bool *_retval) override { return _to NameExists(name, _retval); } \
  NS_IMETHOD EntryExists(const nsAString & name, const nsAString & value, bool *_retval) override { return _to EntryExists(name, value, _retval); } \
  NS_IMETHOD RemoveEntriesByTimeframe(int64_t aBeginTime, int64_t aEndTime) override { return _to RemoveEntriesByTimeframe(aBeginTime, aEndTime); } \
  NS_IMETHOD GetDBConnection(mozIStorageConnection * *aDBConnection) override { return _to GetDBConnection(aDBConnection); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIFORMHISTORY2(_to) \
  NS_IMETHOD GetHasEntries(bool *aHasEntries) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHasEntries(aHasEntries); } \
  NS_IMETHOD AddEntry(const nsAString & name, const nsAString & value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddEntry(name, value); } \
  NS_IMETHOD RemoveEntry(const nsAString & name, const nsAString & value) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveEntry(name, value); } \
  NS_IMETHOD RemoveEntriesForName(const nsAString & name) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveEntriesForName(name); } \
  NS_IMETHOD RemoveAllEntries(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAllEntries(); } \
  NS_IMETHOD NameExists(const nsAString & name, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NameExists(name, _retval); } \
  NS_IMETHOD EntryExists(const nsAString & name, const nsAString & value, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->EntryExists(name, value, _retval); } \
  NS_IMETHOD RemoveEntriesByTimeframe(int64_t aBeginTime, int64_t aEndTime) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveEntriesByTimeframe(aBeginTime, aEndTime); } \
  NS_IMETHOD GetDBConnection(mozIStorageConnection * *aDBConnection) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDBConnection(aDBConnection); } 

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

/* Header file */
class nsFormHistory2 : public nsIFormHistory2
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIFORMHISTORY2

  nsFormHistory2();

private:
  ~nsFormHistory2();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsFormHistory2, nsIFormHistory2)

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

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

/* readonly attribute boolean hasEntries; */
NS_IMETHODIMP nsFormHistory2::GetHasEntries(bool *aHasEntries)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addEntry (in AString name, in AString value); */
NS_IMETHODIMP nsFormHistory2::AddEntry(const nsAString & name, const nsAString & value)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeEntry (in AString name, in AString value); */
NS_IMETHODIMP nsFormHistory2::RemoveEntry(const nsAString & name, const nsAString & value)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeEntriesForName (in AString name); */
NS_IMETHODIMP nsFormHistory2::RemoveEntriesForName(const nsAString & name)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeAllEntries (); */
NS_IMETHODIMP nsFormHistory2::RemoveAllEntries()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean nameExists (in AString name); */
NS_IMETHODIMP nsFormHistory2::NameExists(const nsAString & name, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean entryExists (in AString name, in AString value); */
NS_IMETHODIMP nsFormHistory2::EntryExists(const nsAString & name, const nsAString & value, bool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeEntriesByTimeframe (in long long aBeginTime, in long long aEndTime); */
NS_IMETHODIMP nsFormHistory2::RemoveEntriesByTimeframe(int64_t aBeginTime, int64_t aEndTime)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute mozIStorageConnection DBConnection; */
NS_IMETHODIMP nsFormHistory2::GetDBConnection(mozIStorageConnection * *aDBConnection)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIFormHistory_h__ */