This file is indexed.

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

#ifndef __gen_nsIImportAddressBooks_h__
#define __gen_nsIImportAddressBooks_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 nsISupportsArray; /* forward declaration */

class nsIImportABDescriptor; /* forward declaration */

class nsIOutputStream; /* forward declaration */

class nsIAddrDatabase; /* forward declaration */

class nsIImportFieldMap; /* forward declaration */


/* starting interface:    nsIImportAddressBooks */
#define NS_IIMPORTADDRESSBOOKS_IID_STR "d64a87ba-f87b-6378-5ed1-4025a7474334"

#define NS_IIMPORTADDRESSBOOKS_IID \
  {0xd64a87ba, 0xf87b, 0x6378, \
    { 0x5e, 0xd1, 0x40, 0x25, 0xa7, 0x47, 0x43, 0x34 }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIImportAddressBooks : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIMPORTADDRESSBOOKS_IID)

  /* boolean GetSupportsMultiple (); */
  NS_SCRIPTABLE NS_IMETHOD GetSupportsMultiple(bool *_retval NS_OUTPARAM) = 0;

  /* boolean GetAutoFind (out wstring description); */
  NS_SCRIPTABLE NS_IMETHOD GetAutoFind(PRUnichar * *description NS_OUTPARAM, bool *_retval NS_OUTPARAM) = 0;

  /* boolean GetNeedsFieldMap (in nsIFile location); */
  NS_SCRIPTABLE NS_IMETHOD GetNeedsFieldMap(nsIFile *location, bool *_retval NS_OUTPARAM) = 0;

  /* void GetDefaultLocation (out nsIFile location, out boolean found, out boolean userVerify); */
  NS_SCRIPTABLE NS_IMETHOD GetDefaultLocation(nsIFile * *location NS_OUTPARAM, bool *found NS_OUTPARAM, bool *userVerify NS_OUTPARAM) = 0;

  /* nsISupportsArray FindAddressBooks (in nsIFile location); */
  NS_SCRIPTABLE NS_IMETHOD FindAddressBooks(nsIFile *location, nsISupportsArray * *_retval NS_OUTPARAM) = 0;

  /* void InitFieldMap (in nsIImportFieldMap fieldMap); */
  NS_SCRIPTABLE NS_IMETHOD InitFieldMap(nsIImportFieldMap *fieldMap) = 0;

  /* void ImportAddressBook (in nsIImportABDescriptor aSource, in nsIAddrDatabase aDestination, in nsIImportFieldMap aFieldMap, in nsISupports aSupportService, out wstring aErrorLog, out wstring aSuccessLog, out boolean aFatalError); */
  NS_SCRIPTABLE NS_IMETHOD ImportAddressBook(nsIImportABDescriptor *aSource, nsIAddrDatabase *aDestination, nsIImportFieldMap *aFieldMap, nsISupports *aSupportService, PRUnichar * *aErrorLog NS_OUTPARAM, PRUnichar * *aSuccessLog NS_OUTPARAM, bool *aFatalError NS_OUTPARAM) = 0;

  /* unsigned long GetImportProgress (); */
  NS_SCRIPTABLE NS_IMETHOD GetImportProgress(PRUint32 *_retval NS_OUTPARAM) = 0;

  /* void SetSampleLocation (in nsIFile location); */
  NS_SCRIPTABLE NS_IMETHOD SetSampleLocation(nsIFile *location) = 0;

  /* wstring GetSampleData (in long recordNumber, out boolean recordExists); */
  NS_SCRIPTABLE NS_IMETHOD GetSampleData(PRInt32 recordNumber, bool *recordExists NS_OUTPARAM, PRUnichar * *_retval NS_OUTPARAM) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIImportAddressBooks, NS_IIMPORTADDRESSBOOKS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIIMPORTADDRESSBOOKS \
  NS_SCRIPTABLE NS_IMETHOD GetSupportsMultiple(bool *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetAutoFind(PRUnichar * *description NS_OUTPARAM, bool *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetNeedsFieldMap(nsIFile *location, bool *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetDefaultLocation(nsIFile * *location NS_OUTPARAM, bool *found NS_OUTPARAM, bool *userVerify NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD FindAddressBooks(nsIFile *location, nsISupportsArray * *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD InitFieldMap(nsIImportFieldMap *fieldMap); \
  NS_SCRIPTABLE NS_IMETHOD ImportAddressBook(nsIImportABDescriptor *aSource, nsIAddrDatabase *aDestination, nsIImportFieldMap *aFieldMap, nsISupports *aSupportService, PRUnichar * *aErrorLog NS_OUTPARAM, PRUnichar * *aSuccessLog NS_OUTPARAM, bool *aFatalError NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD GetImportProgress(PRUint32 *_retval NS_OUTPARAM); \
  NS_SCRIPTABLE NS_IMETHOD SetSampleLocation(nsIFile *location); \
  NS_SCRIPTABLE NS_IMETHOD GetSampleData(PRInt32 recordNumber, bool *recordExists NS_OUTPARAM, PRUnichar * *_retval NS_OUTPARAM); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIIMPORTADDRESSBOOKS(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetSupportsMultiple(bool *_retval NS_OUTPARAM) { return _to GetSupportsMultiple(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetAutoFind(PRUnichar * *description NS_OUTPARAM, bool *_retval NS_OUTPARAM) { return _to GetAutoFind(description, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetNeedsFieldMap(nsIFile *location, bool *_retval NS_OUTPARAM) { return _to GetNeedsFieldMap(location, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetDefaultLocation(nsIFile * *location NS_OUTPARAM, bool *found NS_OUTPARAM, bool *userVerify NS_OUTPARAM) { return _to GetDefaultLocation(location, found, userVerify); } \
  NS_SCRIPTABLE NS_IMETHOD FindAddressBooks(nsIFile *location, nsISupportsArray * *_retval NS_OUTPARAM) { return _to FindAddressBooks(location, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD InitFieldMap(nsIImportFieldMap *fieldMap) { return _to InitFieldMap(fieldMap); } \
  NS_SCRIPTABLE NS_IMETHOD ImportAddressBook(nsIImportABDescriptor *aSource, nsIAddrDatabase *aDestination, nsIImportFieldMap *aFieldMap, nsISupports *aSupportService, PRUnichar * *aErrorLog NS_OUTPARAM, PRUnichar * *aSuccessLog NS_OUTPARAM, bool *aFatalError NS_OUTPARAM) { return _to ImportAddressBook(aSource, aDestination, aFieldMap, aSupportService, aErrorLog, aSuccessLog, aFatalError); } \
  NS_SCRIPTABLE NS_IMETHOD GetImportProgress(PRUint32 *_retval NS_OUTPARAM) { return _to GetImportProgress(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetSampleLocation(nsIFile *location) { return _to SetSampleLocation(location); } \
  NS_SCRIPTABLE NS_IMETHOD GetSampleData(PRInt32 recordNumber, bool *recordExists NS_OUTPARAM, PRUnichar * *_retval NS_OUTPARAM) { return _to GetSampleData(recordNumber, recordExists, _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_NSIIMPORTADDRESSBOOKS(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetSupportsMultiple(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSupportsMultiple(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetAutoFind(PRUnichar * *description NS_OUTPARAM, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoFind(description, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetNeedsFieldMap(nsIFile *location, bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNeedsFieldMap(location, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD GetDefaultLocation(nsIFile * *location NS_OUTPARAM, bool *found NS_OUTPARAM, bool *userVerify NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDefaultLocation(location, found, userVerify); } \
  NS_SCRIPTABLE NS_IMETHOD FindAddressBooks(nsIFile *location, nsISupportsArray * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindAddressBooks(location, _retval); } \
  NS_SCRIPTABLE NS_IMETHOD InitFieldMap(nsIImportFieldMap *fieldMap) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitFieldMap(fieldMap); } \
  NS_SCRIPTABLE NS_IMETHOD ImportAddressBook(nsIImportABDescriptor *aSource, nsIAddrDatabase *aDestination, nsIImportFieldMap *aFieldMap, nsISupports *aSupportService, PRUnichar * *aErrorLog NS_OUTPARAM, PRUnichar * *aSuccessLog NS_OUTPARAM, bool *aFatalError NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ImportAddressBook(aSource, aDestination, aFieldMap, aSupportService, aErrorLog, aSuccessLog, aFatalError); } \
  NS_SCRIPTABLE NS_IMETHOD GetImportProgress(PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetImportProgress(_retval); } \
  NS_SCRIPTABLE NS_IMETHOD SetSampleLocation(nsIFile *location) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSampleLocation(location); } \
  NS_SCRIPTABLE NS_IMETHOD GetSampleData(PRInt32 recordNumber, bool *recordExists NS_OUTPARAM, PRUnichar * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSampleData(recordNumber, recordExists, _retval); } 

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

/* Header file */
class nsImportAddressBooks : public nsIImportAddressBooks
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIIMPORTADDRESSBOOKS

  nsImportAddressBooks();

private:
  ~nsImportAddressBooks();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsImportAddressBooks, nsIImportAddressBooks)

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

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

/* boolean GetSupportsMultiple (); */
NS_IMETHODIMP nsImportAddressBooks::GetSupportsMultiple(bool *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean GetAutoFind (out wstring description); */
NS_IMETHODIMP nsImportAddressBooks::GetAutoFind(PRUnichar * *description NS_OUTPARAM, bool *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean GetNeedsFieldMap (in nsIFile location); */
NS_IMETHODIMP nsImportAddressBooks::GetNeedsFieldMap(nsIFile *location, bool *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void GetDefaultLocation (out nsIFile location, out boolean found, out boolean userVerify); */
NS_IMETHODIMP nsImportAddressBooks::GetDefaultLocation(nsIFile * *location NS_OUTPARAM, bool *found NS_OUTPARAM, bool *userVerify NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISupportsArray FindAddressBooks (in nsIFile location); */
NS_IMETHODIMP nsImportAddressBooks::FindAddressBooks(nsIFile *location, nsISupportsArray * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void InitFieldMap (in nsIImportFieldMap fieldMap); */
NS_IMETHODIMP nsImportAddressBooks::InitFieldMap(nsIImportFieldMap *fieldMap)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void ImportAddressBook (in nsIImportABDescriptor aSource, in nsIAddrDatabase aDestination, in nsIImportFieldMap aFieldMap, in nsISupports aSupportService, out wstring aErrorLog, out wstring aSuccessLog, out boolean aFatalError); */
NS_IMETHODIMP nsImportAddressBooks::ImportAddressBook(nsIImportABDescriptor *aSource, nsIAddrDatabase *aDestination, nsIImportFieldMap *aFieldMap, nsISupports *aSupportService, PRUnichar * *aErrorLog NS_OUTPARAM, PRUnichar * *aSuccessLog NS_OUTPARAM, bool *aFatalError NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* unsigned long GetImportProgress (); */
NS_IMETHODIMP nsImportAddressBooks::GetImportProgress(PRUint32 *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void SetSampleLocation (in nsIFile location); */
NS_IMETHODIMP nsImportAddressBooks::SetSampleLocation(nsIFile *location)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* wstring GetSampleData (in long recordNumber, out boolean recordExists); */
NS_IMETHODIMP nsImportAddressBooks::GetSampleData(PRInt32 recordNumber, bool *recordExists NS_OUTPARAM, PRUnichar * *_retval NS_OUTPARAM)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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



#endif /* __gen_nsIImportAddressBooks_h__ */