This file is indexed.

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

#ifndef __gen_nsINNTPProtocol_h__
#define __gen_nsINNTPProtocol_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 nsIURI; /* forward declaration */

class nsIMsgFolder; /* forward declaration */

class nsIMsgWindow; /* forward declaration */


/* starting interface:    nsINNTPProtocol */
#define NS_INNTPPROTOCOL_IID_STR "30106238-0991-11d4-a565-0060b0fc04b7"

#define NS_INNTPPROTOCOL_IID \
  {0x30106238, 0x0991, 0x11d4, \
    { 0xa5, 0x65, 0x00, 0x60, 0xb0, 0xfc, 0x04, 0xb7 }}

class NS_NO_VTABLE nsINNTPProtocol : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_INNTPPROTOCOL_IID)

  /* attribute boolean isBusy; */
  NS_IMETHOD GetIsBusy(bool *aIsBusy) = 0;
  NS_IMETHOD SetIsBusy(bool aIsBusy) = 0;

  /* void LoadNewsUrl (in nsIURI aUri, in nsISupports aConsumer); */
  NS_IMETHOD LoadNewsUrl(nsIURI *aUri, nsISupports *aConsumer) = 0;

  /* void Initialize (in nsIURI aURL, in nsIMsgWindow aMsgWindow); */
  NS_IMETHOD Initialize(nsIURI *aURL, nsIMsgWindow *aMsgWindow) = 0;

  /* void GetLastActiveTimeStamp (out PRTime aTimeStamp); */
  NS_IMETHOD GetLastActiveTimeStamp(PRTime *aTimeStamp) = 0;

  /* attribute boolean isCachedConnection; */
  NS_IMETHOD GetIsCachedConnection(bool *aIsCachedConnection) = 0;
  NS_IMETHOD SetIsCachedConnection(bool aIsCachedConnection) = 0;

  /* readonly attribute nsIMsgFolder currentFolder; */
  NS_IMETHOD GetCurrentFolder(nsIMsgFolder * *aCurrentFolder) = 0;

  /* void CloseConnection (); */
  NS_IMETHOD CloseConnection(void) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsINNTPProtocol, NS_INNTPPROTOCOL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSINNTPPROTOCOL \
  NS_IMETHOD GetIsBusy(bool *aIsBusy) override; \
  NS_IMETHOD SetIsBusy(bool aIsBusy) override; \
  NS_IMETHOD LoadNewsUrl(nsIURI *aUri, nsISupports *aConsumer) override; \
  NS_IMETHOD Initialize(nsIURI *aURL, nsIMsgWindow *aMsgWindow) override; \
  NS_IMETHOD GetLastActiveTimeStamp(PRTime *aTimeStamp) override; \
  NS_IMETHOD GetIsCachedConnection(bool *aIsCachedConnection) override; \
  NS_IMETHOD SetIsCachedConnection(bool aIsCachedConnection) override; \
  NS_IMETHOD GetCurrentFolder(nsIMsgFolder * *aCurrentFolder) override; \
  NS_IMETHOD CloseConnection(void) 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_NSINNTPPROTOCOL \
  NS_METHOD GetIsBusy(bool *aIsBusy); \
  NS_METHOD SetIsBusy(bool aIsBusy); \
  NS_METHOD LoadNewsUrl(nsIURI *aUri, nsISupports *aConsumer); \
  NS_METHOD Initialize(nsIURI *aURL, nsIMsgWindow *aMsgWindow); \
  NS_METHOD GetLastActiveTimeStamp(PRTime *aTimeStamp); \
  NS_METHOD GetIsCachedConnection(bool *aIsCachedConnection); \
  NS_METHOD SetIsCachedConnection(bool aIsCachedConnection); \
  NS_METHOD GetCurrentFolder(nsIMsgFolder * *aCurrentFolder); \
  NS_METHOD CloseConnection(void); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSINNTPPROTOCOL(_to) \
  NS_IMETHOD GetIsBusy(bool *aIsBusy) override { return _to GetIsBusy(aIsBusy); } \
  NS_IMETHOD SetIsBusy(bool aIsBusy) override { return _to SetIsBusy(aIsBusy); } \
  NS_IMETHOD LoadNewsUrl(nsIURI *aUri, nsISupports *aConsumer) override { return _to LoadNewsUrl(aUri, aConsumer); } \
  NS_IMETHOD Initialize(nsIURI *aURL, nsIMsgWindow *aMsgWindow) override { return _to Initialize(aURL, aMsgWindow); } \
  NS_IMETHOD GetLastActiveTimeStamp(PRTime *aTimeStamp) override { return _to GetLastActiveTimeStamp(aTimeStamp); } \
  NS_IMETHOD GetIsCachedConnection(bool *aIsCachedConnection) override { return _to GetIsCachedConnection(aIsCachedConnection); } \
  NS_IMETHOD SetIsCachedConnection(bool aIsCachedConnection) override { return _to SetIsCachedConnection(aIsCachedConnection); } \
  NS_IMETHOD GetCurrentFolder(nsIMsgFolder * *aCurrentFolder) override { return _to GetCurrentFolder(aCurrentFolder); } \
  NS_IMETHOD CloseConnection(void) override { return _to CloseConnection(); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSINNTPPROTOCOL(_to) \
  NS_IMETHOD GetIsBusy(bool *aIsBusy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsBusy(aIsBusy); } \
  NS_IMETHOD SetIsBusy(bool aIsBusy) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsBusy(aIsBusy); } \
  NS_IMETHOD LoadNewsUrl(nsIURI *aUri, nsISupports *aConsumer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadNewsUrl(aUri, aConsumer); } \
  NS_IMETHOD Initialize(nsIURI *aURL, nsIMsgWindow *aMsgWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Initialize(aURL, aMsgWindow); } \
  NS_IMETHOD GetLastActiveTimeStamp(PRTime *aTimeStamp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastActiveTimeStamp(aTimeStamp); } \
  NS_IMETHOD GetIsCachedConnection(bool *aIsCachedConnection) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsCachedConnection(aIsCachedConnection); } \
  NS_IMETHOD SetIsCachedConnection(bool aIsCachedConnection) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsCachedConnection(aIsCachedConnection); } \
  NS_IMETHOD GetCurrentFolder(nsIMsgFolder * *aCurrentFolder) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCurrentFolder(aCurrentFolder); } \
  NS_IMETHOD CloseConnection(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CloseConnection(); } 

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

/* Header file */
class nsNNTPProtocol : public nsINNTPProtocol
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSINNTPPROTOCOL

  nsNNTPProtocol();

private:
  ~nsNNTPProtocol();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsNNTPProtocol, nsINNTPProtocol)

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

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

/* attribute boolean isBusy; */
NS_IMETHODIMP nsNNTPProtocol::GetIsBusy(bool *aIsBusy)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNNTPProtocol::SetIsBusy(bool aIsBusy)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void LoadNewsUrl (in nsIURI aUri, in nsISupports aConsumer); */
NS_IMETHODIMP nsNNTPProtocol::LoadNewsUrl(nsIURI *aUri, nsISupports *aConsumer)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void Initialize (in nsIURI aURL, in nsIMsgWindow aMsgWindow); */
NS_IMETHODIMP nsNNTPProtocol::Initialize(nsIURI *aURL, nsIMsgWindow *aMsgWindow)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void GetLastActiveTimeStamp (out PRTime aTimeStamp); */
NS_IMETHODIMP nsNNTPProtocol::GetLastActiveTimeStamp(PRTime *aTimeStamp)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute boolean isCachedConnection; */
NS_IMETHODIMP nsNNTPProtocol::GetIsCachedConnection(bool *aIsCachedConnection)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsNNTPProtocol::SetIsCachedConnection(bool aIsCachedConnection)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute nsIMsgFolder currentFolder; */
NS_IMETHODIMP nsNNTPProtocol::GetCurrentFolder(nsIMsgFolder * *aCurrentFolder)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void CloseConnection (); */
NS_IMETHODIMP nsNNTPProtocol::CloseConnection()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsINNTPProtocol_h__ */