DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mailnews/addrbook/public/nsIAbLDAPDirectory.idl
 */

#ifndef __gen_nsIAbLDAPDirectory_h__
#define __gen_nsIAbLDAPDirectory_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#include "js/GCAnnotations.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIMutableArray; /* forward declaration */

class nsIFile; /* forward declaration */

class nsIAddrDatabase; /* forward declaration */

class nsIAbLDAPAttributeMap; /* forward declaration */

class nsILDAPURL; /* forward declaration */

#define kLDAPDirectoryRoot         "moz-abldapdirectory://"
#define kLDAPDirectoryRootLen      22

/* starting interface:    nsIAbLDAPDirectory */
#define NS_IABLDAPDIRECTORY_IID_STR "90dde295-e354-4d58-add8-f9b29a95942d"

#define NS_IABLDAPDIRECTORY_IID \
  {0x90dde295, 0xe354, 0x4d58, \
    { 0xad, 0xd8, 0xf9, 0xb2, 0x9a, 0x95, 0x94, 0x2d }}

class NS_NO_VTABLE nsIAbLDAPDirectory : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IABLDAPDIRECTORY_IID)

  /* attribute nsIMutableArray searchServerControls; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSearchServerControls(nsIMutableArray **aSearchServerControls) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSearchServerControls(nsIMutableArray *aSearchServerControls) = 0;

  /* attribute nsIMutableArray searchClientControls; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSearchClientControls(nsIMutableArray **aSearchClientControls) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSearchClientControls(nsIMutableArray *aSearchClientControls) = 0;

  /* attribute ACString replicationFileName; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetReplicationFileName(nsACString& aReplicationFileName) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetReplicationFileName(const nsACString& aReplicationFileName) = 0;

  /* attribute unsigned long protocolVersion; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetProtocolVersion(uint32_t *aProtocolVersion) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetProtocolVersion(uint32_t aProtocolVersion) = 0;

  /* attribute ACString saslMechanism; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSaslMechanism(nsACString& aSaslMechanism) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSaslMechanism(const nsACString& aSaslMechanism) = 0;

  /* attribute AUTF8String authDn; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAuthDn(nsACString& aAuthDn) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetAuthDn(const nsACString& aAuthDn) = 0;

  /* attribute long maxHits; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMaxHits(int32_t *aMaxHits) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetMaxHits(int32_t aMaxHits) = 0;

  /* attribute long lastChangeNumber; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLastChangeNumber(int32_t *aLastChangeNumber) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLastChangeNumber(int32_t aLastChangeNumber) = 0;

  /* attribute ACString dataVersion; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDataVersion(nsACString& aDataVersion) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetDataVersion(const nsACString& aDataVersion) = 0;

  /* readonly attribute nsIAbLDAPAttributeMap attributeMap; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAttributeMap(nsIAbLDAPAttributeMap **aAttributeMap) = 0;

  /* attribute nsILDAPURL lDAPURL; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLDAPURL(nsILDAPURL **aLDAPURL) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLDAPURL(nsILDAPURL *aLDAPURL) = 0;

  /* readonly attribute nsIFile replicationFile; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetReplicationFile(nsIFile **aReplicationFile) = 0;

  /* readonly attribute nsIAddrDatabase replicationDatabase; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetReplicationDatabase(nsIAddrDatabase **aReplicationDatabase) = 0;

  /* attribute ACString rdnAttributes; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetRdnAttributes(nsACString& aRdnAttributes) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetRdnAttributes(const nsACString& aRdnAttributes) = 0;

  /* attribute ACString objectClasses; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetObjectClasses(nsACString& aObjectClasses) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetObjectClasses(const nsACString& aObjectClasses) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIAbLDAPDirectory, NS_IABLDAPDIRECTORY_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIABLDAPDIRECTORY \
  NS_IMETHOD GetSearchServerControls(nsIMutableArray **aSearchServerControls) override; \
  NS_IMETHOD SetSearchServerControls(nsIMutableArray *aSearchServerControls) override; \
  NS_IMETHOD GetSearchClientControls(nsIMutableArray **aSearchClientControls) override; \
  NS_IMETHOD SetSearchClientControls(nsIMutableArray *aSearchClientControls) override; \
  NS_IMETHOD GetReplicationFileName(nsACString& aReplicationFileName) override; \
  NS_IMETHOD SetReplicationFileName(const nsACString& aReplicationFileName) override; \
  NS_IMETHOD GetProtocolVersion(uint32_t *aProtocolVersion) override; \
  NS_IMETHOD SetProtocolVersion(uint32_t aProtocolVersion) override; \
  NS_IMETHOD GetSaslMechanism(nsACString& aSaslMechanism) override; \
  NS_IMETHOD SetSaslMechanism(const nsACString& aSaslMechanism) override; \
  NS_IMETHOD GetAuthDn(nsACString& aAuthDn) override; \
  NS_IMETHOD SetAuthDn(const nsACString& aAuthDn) override; \
  NS_IMETHOD GetMaxHits(int32_t *aMaxHits) override; \
  NS_IMETHOD SetMaxHits(int32_t aMaxHits) override; \
  NS_IMETHOD GetLastChangeNumber(int32_t *aLastChangeNumber) override; \
  NS_IMETHOD SetLastChangeNumber(int32_t aLastChangeNumber) override; \
  NS_IMETHOD GetDataVersion(nsACString& aDataVersion) override; \
  NS_IMETHOD SetDataVersion(const nsACString& aDataVersion) override; \
  NS_IMETHOD GetAttributeMap(nsIAbLDAPAttributeMap **aAttributeMap) override; \
  NS_IMETHOD GetLDAPURL(nsILDAPURL **aLDAPURL) override; \
  NS_IMETHOD SetLDAPURL(nsILDAPURL *aLDAPURL) override; \
  NS_IMETHOD GetReplicationFile(nsIFile **aReplicationFile) override; \
  NS_IMETHOD GetReplicationDatabase(nsIAddrDatabase **aReplicationDatabase) override; \
  NS_IMETHOD GetRdnAttributes(nsACString& aRdnAttributes) override; \
  NS_IMETHOD SetRdnAttributes(const nsACString& aRdnAttributes) override; \
  NS_IMETHOD GetObjectClasses(nsACString& aObjectClasses) override; \
  NS_IMETHOD SetObjectClasses(const nsACString& aObjectClasses) 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_NSIABLDAPDIRECTORY \
  nsresult GetSearchServerControls(nsIMutableArray **aSearchServerControls); \
  nsresult SetSearchServerControls(nsIMutableArray *aSearchServerControls); \
  nsresult GetSearchClientControls(nsIMutableArray **aSearchClientControls); \
  nsresult SetSearchClientControls(nsIMutableArray *aSearchClientControls); \
  nsresult GetReplicationFileName(nsACString& aReplicationFileName); \
  nsresult SetReplicationFileName(const nsACString& aReplicationFileName); \
  nsresult GetProtocolVersion(uint32_t *aProtocolVersion); \
  nsresult SetProtocolVersion(uint32_t aProtocolVersion); \
  nsresult GetSaslMechanism(nsACString& aSaslMechanism); \
  nsresult SetSaslMechanism(const nsACString& aSaslMechanism); \
  nsresult GetAuthDn(nsACString& aAuthDn); \
  nsresult SetAuthDn(const nsACString& aAuthDn); \
  nsresult GetMaxHits(int32_t *aMaxHits); \
  nsresult SetMaxHits(int32_t aMaxHits); \
  nsresult GetLastChangeNumber(int32_t *aLastChangeNumber); \
  nsresult SetLastChangeNumber(int32_t aLastChangeNumber); \
  nsresult GetDataVersion(nsACString& aDataVersion); \
  nsresult SetDataVersion(const nsACString& aDataVersion); \
  nsresult GetAttributeMap(nsIAbLDAPAttributeMap **aAttributeMap); \
  nsresult GetLDAPURL(nsILDAPURL **aLDAPURL); \
  nsresult SetLDAPURL(nsILDAPURL *aLDAPURL); \
  nsresult GetReplicationFile(nsIFile **aReplicationFile); \
  nsresult GetReplicationDatabase(nsIAddrDatabase **aReplicationDatabase); \
  nsresult GetRdnAttributes(nsACString& aRdnAttributes); \
  nsresult SetRdnAttributes(const nsACString& aRdnAttributes); \
  nsresult GetObjectClasses(nsACString& aObjectClasses); \
  nsresult SetObjectClasses(const nsACString& aObjectClasses); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIABLDAPDIRECTORY(_to) \
  NS_IMETHOD GetSearchServerControls(nsIMutableArray **aSearchServerControls) override { return _to GetSearchServerControls(aSearchServerControls); } \
  NS_IMETHOD SetSearchServerControls(nsIMutableArray *aSearchServerControls) override { return _to SetSearchServerControls(aSearchServerControls); } \
  NS_IMETHOD GetSearchClientControls(nsIMutableArray **aSearchClientControls) override { return _to GetSearchClientControls(aSearchClientControls); } \
  NS_IMETHOD SetSearchClientControls(nsIMutableArray *aSearchClientControls) override { return _to SetSearchClientControls(aSearchClientControls); } \
  NS_IMETHOD GetReplicationFileName(nsACString& aReplicationFileName) override { return _to GetReplicationFileName(aReplicationFileName); } \
  NS_IMETHOD SetReplicationFileName(const nsACString& aReplicationFileName) override { return _to SetReplicationFileName(aReplicationFileName); } \
  NS_IMETHOD GetProtocolVersion(uint32_t *aProtocolVersion) override { return _to GetProtocolVersion(aProtocolVersion); } \
  NS_IMETHOD SetProtocolVersion(uint32_t aProtocolVersion) override { return _to SetProtocolVersion(aProtocolVersion); } \
  NS_IMETHOD GetSaslMechanism(nsACString& aSaslMechanism) override { return _to GetSaslMechanism(aSaslMechanism); } \
  NS_IMETHOD SetSaslMechanism(const nsACString& aSaslMechanism) override { return _to SetSaslMechanism(aSaslMechanism); } \
  NS_IMETHOD GetAuthDn(nsACString& aAuthDn) override { return _to GetAuthDn(aAuthDn); } \
  NS_IMETHOD SetAuthDn(const nsACString& aAuthDn) override { return _to SetAuthDn(aAuthDn); } \
  NS_IMETHOD GetMaxHits(int32_t *aMaxHits) override { return _to GetMaxHits(aMaxHits); } \
  NS_IMETHOD SetMaxHits(int32_t aMaxHits) override { return _to SetMaxHits(aMaxHits); } \
  NS_IMETHOD GetLastChangeNumber(int32_t *aLastChangeNumber) override { return _to GetLastChangeNumber(aLastChangeNumber); } \
  NS_IMETHOD SetLastChangeNumber(int32_t aLastChangeNumber) override { return _to SetLastChangeNumber(aLastChangeNumber); } \
  NS_IMETHOD GetDataVersion(nsACString& aDataVersion) override { return _to GetDataVersion(aDataVersion); } \
  NS_IMETHOD SetDataVersion(const nsACString& aDataVersion) override { return _to SetDataVersion(aDataVersion); } \
  NS_IMETHOD GetAttributeMap(nsIAbLDAPAttributeMap **aAttributeMap) override { return _to GetAttributeMap(aAttributeMap); } \
  NS_IMETHOD GetLDAPURL(nsILDAPURL **aLDAPURL) override { return _to GetLDAPURL(aLDAPURL); } \
  NS_IMETHOD SetLDAPURL(nsILDAPURL *aLDAPURL) override { return _to SetLDAPURL(aLDAPURL); } \
  NS_IMETHOD GetReplicationFile(nsIFile **aReplicationFile) override { return _to GetReplicationFile(aReplicationFile); } \
  NS_IMETHOD GetReplicationDatabase(nsIAddrDatabase **aReplicationDatabase) override { return _to GetReplicationDatabase(aReplicationDatabase); } \
  NS_IMETHOD GetRdnAttributes(nsACString& aRdnAttributes) override { return _to GetRdnAttributes(aRdnAttributes); } \
  NS_IMETHOD SetRdnAttributes(const nsACString& aRdnAttributes) override { return _to SetRdnAttributes(aRdnAttributes); } \
  NS_IMETHOD GetObjectClasses(nsACString& aObjectClasses) override { return _to GetObjectClasses(aObjectClasses); } \
  NS_IMETHOD SetObjectClasses(const nsACString& aObjectClasses) override { return _to SetObjectClasses(aObjectClasses); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIABLDAPDIRECTORY(_to) \
  NS_IMETHOD GetSearchServerControls(nsIMutableArray **aSearchServerControls) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchServerControls(aSearchServerControls); } \
  NS_IMETHOD SetSearchServerControls(nsIMutableArray *aSearchServerControls) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchServerControls(aSearchServerControls); } \
  NS_IMETHOD GetSearchClientControls(nsIMutableArray **aSearchClientControls) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSearchClientControls(aSearchClientControls); } \
  NS_IMETHOD SetSearchClientControls(nsIMutableArray *aSearchClientControls) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSearchClientControls(aSearchClientControls); } \
  NS_IMETHOD GetReplicationFileName(nsACString& aReplicationFileName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplicationFileName(aReplicationFileName); } \
  NS_IMETHOD SetReplicationFileName(const nsACString& aReplicationFileName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReplicationFileName(aReplicationFileName); } \
  NS_IMETHOD GetProtocolVersion(uint32_t *aProtocolVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProtocolVersion(aProtocolVersion); } \
  NS_IMETHOD SetProtocolVersion(uint32_t aProtocolVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProtocolVersion(aProtocolVersion); } \
  NS_IMETHOD GetSaslMechanism(nsACString& aSaslMechanism) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSaslMechanism(aSaslMechanism); } \
  NS_IMETHOD SetSaslMechanism(const nsACString& aSaslMechanism) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSaslMechanism(aSaslMechanism); } \
  NS_IMETHOD GetAuthDn(nsACString& aAuthDn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAuthDn(aAuthDn); } \
  NS_IMETHOD SetAuthDn(const nsACString& aAuthDn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAuthDn(aAuthDn); } \
  NS_IMETHOD GetMaxHits(int32_t *aMaxHits) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaxHits(aMaxHits); } \
  NS_IMETHOD SetMaxHits(int32_t aMaxHits) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaxHits(aMaxHits); } \
  NS_IMETHOD GetLastChangeNumber(int32_t *aLastChangeNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastChangeNumber(aLastChangeNumber); } \
  NS_IMETHOD SetLastChangeNumber(int32_t aLastChangeNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLastChangeNumber(aLastChangeNumber); } \
  NS_IMETHOD GetDataVersion(nsACString& aDataVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDataVersion(aDataVersion); } \
  NS_IMETHOD SetDataVersion(const nsACString& aDataVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDataVersion(aDataVersion); } \
  NS_IMETHOD GetAttributeMap(nsIAbLDAPAttributeMap **aAttributeMap) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAttributeMap(aAttributeMap); } \
  NS_IMETHOD GetLDAPURL(nsILDAPURL **aLDAPURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLDAPURL(aLDAPURL); } \
  NS_IMETHOD SetLDAPURL(nsILDAPURL *aLDAPURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLDAPURL(aLDAPURL); } \
  NS_IMETHOD GetReplicationFile(nsIFile **aReplicationFile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplicationFile(aReplicationFile); } \
  NS_IMETHOD GetReplicationDatabase(nsIAddrDatabase **aReplicationDatabase) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReplicationDatabase(aReplicationDatabase); } \
  NS_IMETHOD GetRdnAttributes(nsACString& aRdnAttributes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRdnAttributes(aRdnAttributes); } \
  NS_IMETHOD SetRdnAttributes(const nsACString& aRdnAttributes) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRdnAttributes(aRdnAttributes); } \
  NS_IMETHOD GetObjectClasses(nsACString& aObjectClasses) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetObjectClasses(aObjectClasses); } \
  NS_IMETHOD SetObjectClasses(const nsACString& aObjectClasses) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetObjectClasses(aObjectClasses); } 


#endif /* __gen_nsIAbLDAPDirectory_h__ */