This file is indexed.

/usr/include/thunderbird-11.0.1/nsILDAPURL.h is in thunderbird-dev 11.0.1+build1-0ubuntu2.

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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /build/buildd/thunderbird-11.0.1+build1/build-tree/mozilla/ldap/xpcom/public/nsILDAPURL.idl
 */

#ifndef __gen_nsILDAPURL_h__
#define __gen_nsILDAPURL_h__


#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
#define NS_LDAPURL_CONTRACTID "@mozilla.org/network/ldap-url;1"

/* starting interface:    nsILDAPURL */
#define NS_ILDAPURL_IID_STR "8e3a6d33-2e68-40ba-8f94-6ac03f69066e"

#define NS_ILDAPURL_IID \
  {0x8e3a6d33, 0x2e68, 0x40ba, \
    { 0x8f, 0x94, 0x6a, 0xc0, 0x3f, 0x69, 0x06, 0x6e }}

class NS_NO_VTABLE NS_SCRIPTABLE nsILDAPURL : public nsIURI {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILDAPURL_IID)

  /* void init (in unsigned long aUrlType, in long aDefaultPort, in AUTF8String aSpec, in string aOriginCharset, in nsIURI aBaseURI); */
  NS_SCRIPTABLE NS_IMETHOD Init(PRUint32 aUrlType, PRInt32 aDefaultPort, const nsACString & aSpec, const char * aOriginCharset, nsIURI *aBaseURI) = 0;

  /* attribute AUTF8String dn; */
  NS_SCRIPTABLE NS_IMETHOD GetDn(nsACString & aDn) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetDn(const nsACString & aDn) = 0;

  /* attribute ACString attributes; */
  NS_SCRIPTABLE NS_IMETHOD GetAttributes(nsACString & aAttributes) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetAttributes(const nsACString & aAttributes) = 0;

  /* void addAttribute (in ACString aAttribute); */
  NS_SCRIPTABLE NS_IMETHOD AddAttribute(const nsACString & aAttribute) = 0;

  /* void removeAttribute (in ACString aAttribute); */
  NS_SCRIPTABLE NS_IMETHOD RemoveAttribute(const nsACString & aAttribute) = 0;

  /* boolean hasAttribute (in ACString aAttribute); */
  NS_SCRIPTABLE NS_IMETHOD HasAttribute(const nsACString & aAttribute, bool *_retval NS_OUTPARAM) = 0;

  /* attribute long scope; */
  NS_SCRIPTABLE NS_IMETHOD GetScope(PRInt32 *aScope) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetScope(PRInt32 aScope) = 0;

  enum {
    SCOPE_BASE = 0,
    SCOPE_ONELEVEL = 1,
    SCOPE_SUBTREE = 2
  };

  /* attribute AUTF8String filter; */
  NS_SCRIPTABLE NS_IMETHOD GetFilter(nsACString & aFilter) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetFilter(const nsACString & aFilter) = 0;

  /* attribute unsigned long options; */
  NS_SCRIPTABLE NS_IMETHOD GetOptions(PRUint32 *aOptions) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetOptions(PRUint32 aOptions) = 0;

  enum {
    OPT_SECURE = 1U
  };

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsILDAPURL, NS_ILDAPURL_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSILDAPURL \
  NS_SCRIPTABLE NS_IMETHOD Init(PRUint32 aUrlType, PRInt32 aDefaultPort, const nsACString & aSpec, const char * aOriginCharset, nsIURI *aBaseURI); \
  NS_SCRIPTABLE NS_IMETHOD GetDn(nsACString & aDn); \
  NS_SCRIPTABLE NS_IMETHOD SetDn(const nsACString & aDn); \
  NS_SCRIPTABLE NS_IMETHOD GetAttributes(nsACString & aAttributes); \
  NS_SCRIPTABLE NS_IMETHOD SetAttributes(const nsACString & aAttributes); \
  NS_SCRIPTABLE NS_IMETHOD AddAttribute(const nsACString & aAttribute); \
  NS_SCRIPTABLE NS_IMETHOD RemoveAttribute(const nsACString & aAttribute); \
  NS_SCRIPTABLE NS_IMETHOD HasAttribute(const nsACString & aAttribute, bool *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetScope(PRInt32 *aScope); \
  NS_SCRIPTABLE NS_IMETHOD SetScope(PRInt32 aScope); \
  NS_SCRIPTABLE NS_IMETHOD GetFilter(nsACString & aFilter); \
  NS_SCRIPTABLE NS_IMETHOD SetFilter(const nsACString & aFilter); \
  NS_SCRIPTABLE NS_IMETHOD GetOptions(PRUint32 *aOptions); \
  NS_SCRIPTABLE NS_IMETHOD SetOptions(PRUint32 aOptions); \

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSILDAPURL(_to) \
  NS_SCRIPTABLE NS_IMETHOD Init(PRUint32 aUrlType, PRInt32 aDefaultPort, const nsACString & aSpec, const char * aOriginCharset, nsIURI *aBaseURI) { return _to Init(aUrlType, aDefaultPort, aSpec, aOriginCharset, aBaseURI); } \
  NS_SCRIPTABLE NS_IMETHOD GetDn(nsACString & aDn) { return _to GetDn(aDn); } \
  NS_SCRIPTABLE NS_IMETHOD SetDn(const nsACString & aDn) { return _to SetDn(aDn); } \
  NS_SCRIPTABLE NS_IMETHOD GetAttributes(nsACString & aAttributes) { return _to GetAttributes(aAttributes); } \
  NS_SCRIPTABLE NS_IMETHOD SetAttributes(const nsACString & aAttributes) { return _to SetAttributes(aAttributes); } \
  NS_SCRIPTABLE NS_IMETHOD AddAttribute(const nsACString & aAttribute) { return _to AddAttribute(aAttribute); } \
  NS_SCRIPTABLE NS_IMETHOD RemoveAttribute(const nsACString & aAttribute) { return _to RemoveAttribute(aAttribute); } \
  NS_SCRIPTABLE NS_IMETHOD HasAttribute(const nsACString & aAttribute, bool *_retval NS_OUTPARAM) { return _to HasAttribute(aAttribute, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetScope(PRInt32 *aScope) { return _to GetScope(aScope); } \
  NS_SCRIPTABLE NS_IMETHOD SetScope(PRInt32 aScope) { return _to SetScope(aScope); } \
  NS_SCRIPTABLE NS_IMETHOD GetFilter(nsACString & aFilter) { return _to GetFilter(aFilter); } \
  NS_SCRIPTABLE NS_IMETHOD SetFilter(const nsACString & aFilter) { return _to SetFilter(aFilter); } \
  NS_SCRIPTABLE NS_IMETHOD GetOptions(PRUint32 *aOptions) { return _to GetOptions(aOptions); } \
  NS_SCRIPTABLE NS_IMETHOD SetOptions(PRUint32 aOptions) { return _to SetOptions(aOptions); } \

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSILDAPURL(_to) \
  NS_SCRIPTABLE NS_IMETHOD Init(PRUint32 aUrlType, PRInt32 aDefaultPort, const nsACString & aSpec, const char * aOriginCharset, nsIURI *aBaseURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aUrlType, aDefaultPort, aSpec, aOriginCharset, aBaseURI); } \
  NS_SCRIPTABLE NS_IMETHOD GetDn(nsACString & aDn) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDn(aDn); } \
  NS_SCRIPTABLE NS_IMETHOD SetDn(const nsACString & aDn) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDn(aDn); } \
  NS_SCRIPTABLE NS_IMETHOD GetAttributes(nsACString & aAttributes) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttributes(aAttributes); } \
  NS_SCRIPTABLE NS_IMETHOD SetAttributes(const nsACString & aAttributes) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAttributes(aAttributes); } \
  NS_SCRIPTABLE NS_IMETHOD AddAttribute(const nsACString & aAttribute) { return !_to ? NS_ERROR_NULL_POINTER : _to->AddAttribute(aAttribute); } \
  NS_SCRIPTABLE NS_IMETHOD RemoveAttribute(const nsACString & aAttribute) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveAttribute(aAttribute); } \
  NS_SCRIPTABLE NS_IMETHOD HasAttribute(const nsACString & aAttribute, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->HasAttribute(aAttribute, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetScope(PRInt32 *aScope) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetScope(aScope); } \
  NS_SCRIPTABLE NS_IMETHOD SetScope(PRInt32 aScope) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetScope(aScope); } \
  NS_SCRIPTABLE NS_IMETHOD GetFilter(nsACString & aFilter) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFilter(aFilter); } \
  NS_SCRIPTABLE NS_IMETHOD SetFilter(const nsACString & aFilter) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFilter(aFilter); } \
  NS_SCRIPTABLE NS_IMETHOD GetOptions(PRUint32 *aOptions) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOptions(aOptions); } \
  NS_SCRIPTABLE NS_IMETHOD SetOptions(PRUint32 aOptions) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOptions(aOptions); } \

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

/* Header file */
class nsLDAPURL : public nsILDAPURL
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSILDAPURL

  nsLDAPURL();

private:
  ~nsLDAPURL();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsLDAPURL, nsILDAPURL)

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

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

/* void init (in unsigned long aUrlType, in long aDefaultPort, in AUTF8String aSpec, in string aOriginCharset, in nsIURI aBaseURI); */
NS_IMETHODIMP nsLDAPURL::Init(PRUint32 aUrlType, PRInt32 aDefaultPort, const nsACString & aSpec, const char * aOriginCharset, nsIURI *aBaseURI)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String dn; */
NS_IMETHODIMP nsLDAPURL::GetDn(nsACString & aDn)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLDAPURL::SetDn(const nsACString & aDn)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute ACString attributes; */
NS_IMETHODIMP nsLDAPURL::GetAttributes(nsACString & aAttributes)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLDAPURL::SetAttributes(const nsACString & aAttributes)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void addAttribute (in ACString aAttribute); */
NS_IMETHODIMP nsLDAPURL::AddAttribute(const nsACString & aAttribute)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void removeAttribute (in ACString aAttribute); */
NS_IMETHODIMP nsLDAPURL::RemoveAttribute(const nsACString & aAttribute)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean hasAttribute (in ACString aAttribute); */
NS_IMETHODIMP nsLDAPURL::HasAttribute(const nsACString & aAttribute, bool *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute long scope; */
NS_IMETHODIMP nsLDAPURL::GetScope(PRInt32 *aScope)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLDAPURL::SetScope(PRInt32 aScope)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute AUTF8String filter; */
NS_IMETHODIMP nsLDAPURL::GetFilter(nsACString & aFilter)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLDAPURL::SetFilter(const nsACString & aFilter)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute unsigned long options; */
NS_IMETHODIMP nsLDAPURL::GetOptions(PRUint32 *aOptions)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLDAPURL::SetOptions(PRUint32 aOptions)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsILDAPURL_h__ */