This file is indexed.

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

#ifndef __gen_nsIPgpMimeProxy_h__
#define __gen_nsIPgpMimeProxy_h__


#ifndef __gen_nsIStreamListener_h__
#include "nsIStreamListener.h"
#endif

#ifndef __gen_nsIURI_h__
#include "nsIURI.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
typedef int (*MimeDecodeCallbackFun)(const char *buf, int32_t buf_size, void *output_closure);
#define NS_PGPMIMEPROXY_CLASSNAME "PGP/Mime Decryption"
#define NS_PGPMIMEPROXY_CONTRACTID "@mozilla.org/mime/pgp-mime-decrypt;1"
#define NS_PGPMIMEPROXY_CID                     \
{ /* 6b7e094f-536b-40dc-b3a4-e3d729205ce1 */      \
   0x6b7e094f, 0x536b, 0x40dc,                    \
{0xb3, 0xa4, 0xe3, 0xd7, 0x29, 0x20, 0x5c, 0xe1 } }

/* starting interface:    nsIPgpMimeProxy */
#define NS_IPGPMIMEPROXY_IID_STR "6b7e094f-536b-40dc-b3a4-e3d729205ce1"

#define NS_IPGPMIMEPROXY_IID \
  {0x6b7e094f, 0x536b, 0x40dc, \
    { 0xb3, 0xa4, 0xe3, 0xd7, 0x29, 0x20, 0x5c, 0xe1 }}

class NS_NO_VTABLE nsIPgpMimeProxy : public nsIStreamListener {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPGPMIMEPROXY_IID)

  /* [noscript] void setMimeCallback (in MimeDecodeCallbackFun outputFun, in voidPtr outputClosure, in nsIURI myUri); */
  NS_IMETHOD SetMimeCallback(MimeDecodeCallbackFun outputFun, void *outputClosure, nsIURI *myUri) = 0;

  /* void init (); */
  NS_IMETHOD Init(void) = 0;

  /* void write (in string buf, in unsigned long count); */
  NS_IMETHOD Write(const char * buf, uint32_t count) = 0;

  /* void finish (); */
  NS_IMETHOD Finish(void) = 0;

  /* attribute nsIStreamListener decryptor; */
  NS_IMETHOD GetDecryptor(nsIStreamListener * *aDecryptor) = 0;
  NS_IMETHOD SetDecryptor(nsIStreamListener *aDecryptor) = 0;

  /* attribute ACString contentType; */
  NS_IMETHOD GetContentType(nsACString & aContentType) = 0;
  NS_IMETHOD SetContentType(const nsACString & aContentType) = 0;

  /* attribute ACString mimePart; */
  NS_IMETHOD GetMimePart(nsACString & aMimePart) = 0;
  NS_IMETHOD SetMimePart(const nsACString & aMimePart) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIPgpMimeProxy, NS_IPGPMIMEPROXY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIPGPMIMEPROXY \
  NS_IMETHOD SetMimeCallback(MimeDecodeCallbackFun outputFun, void *outputClosure, nsIURI *myUri) override; \
  NS_IMETHOD Init(void) override; \
  NS_IMETHOD Write(const char * buf, uint32_t count) override; \
  NS_IMETHOD Finish(void) override; \
  NS_IMETHOD GetDecryptor(nsIStreamListener * *aDecryptor) override; \
  NS_IMETHOD SetDecryptor(nsIStreamListener *aDecryptor) override; \
  NS_IMETHOD GetContentType(nsACString & aContentType) override; \
  NS_IMETHOD SetContentType(const nsACString & aContentType) override; \
  NS_IMETHOD GetMimePart(nsACString & aMimePart) override; \
  NS_IMETHOD SetMimePart(const nsACString & aMimePart) 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_NSIPGPMIMEPROXY \
  NS_METHOD SetMimeCallback(MimeDecodeCallbackFun outputFun, void *outputClosure, nsIURI *myUri); \
  NS_METHOD Init(void); \
  NS_METHOD Write(const char * buf, uint32_t count); \
  NS_METHOD Finish(void); \
  NS_METHOD GetDecryptor(nsIStreamListener * *aDecryptor); \
  NS_METHOD SetDecryptor(nsIStreamListener *aDecryptor); \
  NS_METHOD GetContentType(nsACString & aContentType); \
  NS_METHOD SetContentType(const nsACString & aContentType); \
  NS_METHOD GetMimePart(nsACString & aMimePart); \
  NS_METHOD SetMimePart(const nsACString & aMimePart); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIPGPMIMEPROXY(_to) \
  NS_IMETHOD SetMimeCallback(MimeDecodeCallbackFun outputFun, void *outputClosure, nsIURI *myUri) override { return _to SetMimeCallback(outputFun, outputClosure, myUri); } \
  NS_IMETHOD Init(void) override { return _to Init(); } \
  NS_IMETHOD Write(const char * buf, uint32_t count) override { return _to Write(buf, count); } \
  NS_IMETHOD Finish(void) override { return _to Finish(); } \
  NS_IMETHOD GetDecryptor(nsIStreamListener * *aDecryptor) override { return _to GetDecryptor(aDecryptor); } \
  NS_IMETHOD SetDecryptor(nsIStreamListener *aDecryptor) override { return _to SetDecryptor(aDecryptor); } \
  NS_IMETHOD GetContentType(nsACString & aContentType) override { return _to GetContentType(aContentType); } \
  NS_IMETHOD SetContentType(const nsACString & aContentType) override { return _to SetContentType(aContentType); } \
  NS_IMETHOD GetMimePart(nsACString & aMimePart) override { return _to GetMimePart(aMimePart); } \
  NS_IMETHOD SetMimePart(const nsACString & aMimePart) override { return _to SetMimePart(aMimePart); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIPGPMIMEPROXY(_to) \
  NS_IMETHOD SetMimeCallback(MimeDecodeCallbackFun outputFun, void *outputClosure, nsIURI *myUri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMimeCallback(outputFun, outputClosure, myUri); } \
  NS_IMETHOD Init(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(); } \
  NS_IMETHOD Write(const char * buf, uint32_t count) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Write(buf, count); } \
  NS_IMETHOD Finish(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Finish(); } \
  NS_IMETHOD GetDecryptor(nsIStreamListener * *aDecryptor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDecryptor(aDecryptor); } \
  NS_IMETHOD SetDecryptor(nsIStreamListener *aDecryptor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDecryptor(aDecryptor); } \
  NS_IMETHOD GetContentType(nsACString & aContentType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentType(aContentType); } \
  NS_IMETHOD SetContentType(const nsACString & aContentType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetContentType(aContentType); } \
  NS_IMETHOD GetMimePart(nsACString & aMimePart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMimePart(aMimePart); } \
  NS_IMETHOD SetMimePart(const nsACString & aMimePart) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMimePart(aMimePart); } 

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

/* Header file */
class nsPgpMimeProxy : public nsIPgpMimeProxy
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIPGPMIMEPROXY

  nsPgpMimeProxy();

private:
  ~nsPgpMimeProxy();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsPgpMimeProxy, nsIPgpMimeProxy)

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

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

/* [noscript] void setMimeCallback (in MimeDecodeCallbackFun outputFun, in voidPtr outputClosure, in nsIURI myUri); */
NS_IMETHODIMP nsPgpMimeProxy::SetMimeCallback(MimeDecodeCallbackFun outputFun, void *outputClosure, nsIURI *myUri)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void init (); */
NS_IMETHODIMP nsPgpMimeProxy::Init()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void write (in string buf, in unsigned long count); */
NS_IMETHODIMP nsPgpMimeProxy::Write(const char * buf, uint32_t count)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void finish (); */
NS_IMETHODIMP nsPgpMimeProxy::Finish()
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsIStreamListener decryptor; */
NS_IMETHODIMP nsPgpMimeProxy::GetDecryptor(nsIStreamListener * *aDecryptor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsPgpMimeProxy::SetDecryptor(nsIStreamListener *aDecryptor)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString contentType; */
NS_IMETHODIMP nsPgpMimeProxy::GetContentType(nsACString & aContentType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsPgpMimeProxy::SetContentType(const nsACString & aContentType)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString mimePart; */
NS_IMETHODIMP nsPgpMimeProxy::GetMimePart(nsACString & aMimePart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsPgpMimeProxy::SetMimePart(const nsACString & aMimePart)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIPgpMimeProxy_h__ */