This file is indexed.

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

#ifndef __gen_nsILDAPConnection_h__
#define __gen_nsILDAPConnection_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 nsILDAPOperation; /* forward declaration */

class nsILDAPMessageListener; /* forward declaration */

class nsILDAPURL; /* forward declaration */

#define NS_LDAPCONNECTION_CONTRACTID "@mozilla.org/network/ldap-connection;1" 

/* starting interface:    nsILDAPConnection */
#define NS_ILDAPCONNECTION_IID_STR "360c1ff7-15e3-4ffe-b4b8-0eda72ebc096"

#define NS_ILDAPCONNECTION_IID \
  {0x360c1ff7, 0x15e3, 0x4ffe, \
    { 0xb4, 0xb8, 0x0e, 0xda, 0x72, 0xeb, 0xc0, 0x96 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsILDAPConnection : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILDAPCONNECTION_IID)

  /* readonly attribute wstring errorString; */
  NS_SCRIPTABLE NS_IMETHOD GetErrorString(PRUnichar * *aErrorString) = 0;

  /* readonly attribute AUTF8String bindName; */
  NS_SCRIPTABLE NS_IMETHOD GetBindName(nsACString & aBindName) = 0;

  /* attribute nsISupports closure; */
  NS_SCRIPTABLE NS_IMETHOD GetClosure(nsISupports * *aClosure) = 0;
  NS_SCRIPTABLE NS_IMETHOD SetClosure(nsISupports *aClosure) = 0;

  /* void init (in nsILDAPURL aUrl, in AUTF8String aBindName, in nsILDAPMessageListener aMessageListener, in nsISupports aClosure, in unsigned long aVersion); */
  NS_SCRIPTABLE NS_IMETHOD Init(nsILDAPURL *aUrl, const nsACString & aBindName, nsILDAPMessageListener *aMessageListener, nsISupports *aClosure, PRUint32 aVersion) = 0;

  enum {
    VERSION2 = 2U,
    VERSION3 = 3U
  };

  /* long getLdErrno (out AUTF8String matched, out AUTF8String s); */
  NS_SCRIPTABLE NS_IMETHOD GetLdErrno(nsACString & matched NS_OUTPARAM, nsACString & s NS_OUTPARAM, PRInt32 *_retval NS_OUTPARAM) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsILDAPConnection, NS_ILDAPCONNECTION_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSILDAPCONNECTION \
  NS_SCRIPTABLE NS_IMETHOD GetErrorString(PRUnichar * *aErrorString); \
  NS_SCRIPTABLE NS_IMETHOD GetBindName(nsACString & aBindName); \
  NS_SCRIPTABLE NS_IMETHOD GetClosure(nsISupports * *aClosure); \
  NS_SCRIPTABLE NS_IMETHOD SetClosure(nsISupports *aClosure); \
  NS_SCRIPTABLE NS_IMETHOD Init(nsILDAPURL *aUrl, const nsACString & aBindName, nsILDAPMessageListener *aMessageListener, nsISupports *aClosure, PRUint32 aVersion); \
  NS_SCRIPTABLE NS_IMETHOD GetLdErrno(nsACString & matched NS_OUTPARAM, nsACString & s NS_OUTPARAM, PRInt32 *_retval NS_OUTPARAM); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSILDAPCONNECTION(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetErrorString(PRUnichar * *aErrorString) { return _to GetErrorString(aErrorString); } \
  NS_SCRIPTABLE NS_IMETHOD GetBindName(nsACString & aBindName) { return _to GetBindName(aBindName); } \
  NS_SCRIPTABLE NS_IMETHOD GetClosure(nsISupports * *aClosure) { return _to GetClosure(aClosure); } \
  NS_SCRIPTABLE NS_IMETHOD SetClosure(nsISupports *aClosure) { return _to SetClosure(aClosure); } \
  NS_SCRIPTABLE NS_IMETHOD Init(nsILDAPURL *aUrl, const nsACString & aBindName, nsILDAPMessageListener *aMessageListener, nsISupports *aClosure, PRUint32 aVersion) { return _to Init(aUrl, aBindName, aMessageListener, aClosure, aVersion); } \
  NS_SCRIPTABLE NS_IMETHOD GetLdErrno(nsACString & matched NS_OUTPARAM, nsACString & s NS_OUTPARAM, PRInt32 *_retval NS_OUTPARAM) { return _to GetLdErrno(matched, s, _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_NSILDAPCONNECTION(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetErrorString(PRUnichar * *aErrorString) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetErrorString(aErrorString); } \
  NS_SCRIPTABLE NS_IMETHOD GetBindName(nsACString & aBindName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBindName(aBindName); } \
  NS_SCRIPTABLE NS_IMETHOD GetClosure(nsISupports * *aClosure) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClosure(aClosure); } \
  NS_SCRIPTABLE NS_IMETHOD SetClosure(nsISupports *aClosure) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetClosure(aClosure); } \
  NS_SCRIPTABLE NS_IMETHOD Init(nsILDAPURL *aUrl, const nsACString & aBindName, nsILDAPMessageListener *aMessageListener, nsISupports *aClosure, PRUint32 aVersion) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aUrl, aBindName, aMessageListener, aClosure, aVersion); } \
  NS_SCRIPTABLE NS_IMETHOD GetLdErrno(nsACString & matched NS_OUTPARAM, nsACString & s NS_OUTPARAM, PRInt32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLdErrno(matched, s, _retval); } 

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

/* Header file */
class nsLDAPConnection : public nsILDAPConnection
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSILDAPCONNECTION

  nsLDAPConnection();

private:
  ~nsLDAPConnection();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsLDAPConnection, nsILDAPConnection)

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

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

/* readonly attribute wstring errorString; */
NS_IMETHODIMP nsLDAPConnection::GetErrorString(PRUnichar * *aErrorString)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute AUTF8String bindName; */
NS_IMETHODIMP nsLDAPConnection::GetBindName(nsACString & aBindName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* attribute nsISupports closure; */
NS_IMETHODIMP nsLDAPConnection::GetClosure(nsISupports * *aClosure)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsLDAPConnection::SetClosure(nsISupports *aClosure)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void init (in nsILDAPURL aUrl, in AUTF8String aBindName, in nsILDAPMessageListener aMessageListener, in nsISupports aClosure, in unsigned long aVersion); */
NS_IMETHODIMP nsLDAPConnection::Init(nsILDAPURL *aUrl, const nsACString & aBindName, nsILDAPMessageListener *aMessageListener, nsISupports *aClosure, PRUint32 aVersion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* long getLdErrno (out AUTF8String matched, out AUTF8String s); */
NS_IMETHODIMP nsLDAPConnection::GetLdErrno(nsACString & matched NS_OUTPARAM, nsACString & s NS_OUTPARAM, PRInt32 *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsILDAPConnection_h__ */