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
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/ldap/xpcom/public/nsILDAPServer.idl
 */

#ifndef __gen_nsILDAPServer_h__
#define __gen_nsILDAPServer_h__


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

#ifndef __gen_nsILDAPConnection_h__
#include "nsILDAPConnection.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 nsILDAPURL; /* forward declaration */


/* starting interface:    nsILDAPServer */
#define NS_ILDAPSERVER_IID_STR "8aa717a4-1dd2-11b2-99c7-f01e2d449ded"

#define NS_ILDAPSERVER_IID \
  {0x8aa717a4, 0x1dd2, 0x11b2, \
    { 0x99, 0xc7, 0xf0, 0x1e, 0x2d, 0x44, 0x9d, 0xed }}

class NS_NO_VTABLE nsILDAPServer : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ILDAPSERVER_IID)

  /* attribute wstring key; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetKey(char16_t * *aKey) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetKey(const char16_t * aKey) = 0;

  /* attribute AUTF8String password; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPassword(nsACString& aPassword) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetPassword(const nsACString& aPassword) = 0;

  /* attribute AUTF8String username; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUsername(nsACString& aUsername) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUsername(const nsACString& aUsername) = 0;

  /* attribute AUTF8String binddn; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetBinddn(nsACString& aBinddn) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetBinddn(const nsACString& aBinddn) = 0;

  /* attribute unsigned long sizelimit; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetSizelimit(uint32_t *aSizelimit) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetSizelimit(uint32_t aSizelimit) = 0;

  /* attribute nsILDAPURL url; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUrl(nsILDAPURL **aUrl) = 0;
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetUrl(nsILDAPURL *aUrl) = 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;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsILDAPServer, NS_ILDAPSERVER_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSILDAPSERVER \
  NS_IMETHOD GetKey(char16_t * *aKey) override; \
  NS_IMETHOD SetKey(const char16_t * aKey) override; \
  NS_IMETHOD GetPassword(nsACString& aPassword) override; \
  NS_IMETHOD SetPassword(const nsACString& aPassword) override; \
  NS_IMETHOD GetUsername(nsACString& aUsername) override; \
  NS_IMETHOD SetUsername(const nsACString& aUsername) override; \
  NS_IMETHOD GetBinddn(nsACString& aBinddn) override; \
  NS_IMETHOD SetBinddn(const nsACString& aBinddn) override; \
  NS_IMETHOD GetSizelimit(uint32_t *aSizelimit) override; \
  NS_IMETHOD SetSizelimit(uint32_t aSizelimit) override; \
  NS_IMETHOD GetUrl(nsILDAPURL **aUrl) override; \
  NS_IMETHOD SetUrl(nsILDAPURL *aUrl) override; \
  NS_IMETHOD GetProtocolVersion(uint32_t *aProtocolVersion) override; \
  NS_IMETHOD SetProtocolVersion(uint32_t aProtocolVersion) 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_NSILDAPSERVER \
  nsresult GetKey(char16_t * *aKey); \
  nsresult SetKey(const char16_t * aKey); \
  nsresult GetPassword(nsACString& aPassword); \
  nsresult SetPassword(const nsACString& aPassword); \
  nsresult GetUsername(nsACString& aUsername); \
  nsresult SetUsername(const nsACString& aUsername); \
  nsresult GetBinddn(nsACString& aBinddn); \
  nsresult SetBinddn(const nsACString& aBinddn); \
  nsresult GetSizelimit(uint32_t *aSizelimit); \
  nsresult SetSizelimit(uint32_t aSizelimit); \
  nsresult GetUrl(nsILDAPURL **aUrl); \
  nsresult SetUrl(nsILDAPURL *aUrl); \
  nsresult GetProtocolVersion(uint32_t *aProtocolVersion); \
  nsresult SetProtocolVersion(uint32_t aProtocolVersion); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSILDAPSERVER(_to) \
  NS_IMETHOD GetKey(char16_t * *aKey) override { return _to GetKey(aKey); } \
  NS_IMETHOD SetKey(const char16_t * aKey) override { return _to SetKey(aKey); } \
  NS_IMETHOD GetPassword(nsACString& aPassword) override { return _to GetPassword(aPassword); } \
  NS_IMETHOD SetPassword(const nsACString& aPassword) override { return _to SetPassword(aPassword); } \
  NS_IMETHOD GetUsername(nsACString& aUsername) override { return _to GetUsername(aUsername); } \
  NS_IMETHOD SetUsername(const nsACString& aUsername) override { return _to SetUsername(aUsername); } \
  NS_IMETHOD GetBinddn(nsACString& aBinddn) override { return _to GetBinddn(aBinddn); } \
  NS_IMETHOD SetBinddn(const nsACString& aBinddn) override { return _to SetBinddn(aBinddn); } \
  NS_IMETHOD GetSizelimit(uint32_t *aSizelimit) override { return _to GetSizelimit(aSizelimit); } \
  NS_IMETHOD SetSizelimit(uint32_t aSizelimit) override { return _to SetSizelimit(aSizelimit); } \
  NS_IMETHOD GetUrl(nsILDAPURL **aUrl) override { return _to GetUrl(aUrl); } \
  NS_IMETHOD SetUrl(nsILDAPURL *aUrl) override { return _to SetUrl(aUrl); } \
  NS_IMETHOD GetProtocolVersion(uint32_t *aProtocolVersion) override { return _to GetProtocolVersion(aProtocolVersion); } \
  NS_IMETHOD SetProtocolVersion(uint32_t aProtocolVersion) override { return _to SetProtocolVersion(aProtocolVersion); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSILDAPSERVER(_to) \
  NS_IMETHOD GetKey(char16_t * *aKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKey(aKey); } \
  NS_IMETHOD SetKey(const char16_t * aKey) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetKey(aKey); } \
  NS_IMETHOD GetPassword(nsACString& aPassword) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPassword(aPassword); } \
  NS_IMETHOD SetPassword(const nsACString& aPassword) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPassword(aPassword); } \
  NS_IMETHOD GetUsername(nsACString& aUsername) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUsername(aUsername); } \
  NS_IMETHOD SetUsername(const nsACString& aUsername) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUsername(aUsername); } \
  NS_IMETHOD GetBinddn(nsACString& aBinddn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBinddn(aBinddn); } \
  NS_IMETHOD SetBinddn(const nsACString& aBinddn) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBinddn(aBinddn); } \
  NS_IMETHOD GetSizelimit(uint32_t *aSizelimit) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSizelimit(aSizelimit); } \
  NS_IMETHOD SetSizelimit(uint32_t aSizelimit) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetSizelimit(aSizelimit); } \
  NS_IMETHOD GetUrl(nsILDAPURL **aUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUrl(aUrl); } \
  NS_IMETHOD SetUrl(nsILDAPURL *aUrl) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetUrl(aUrl); } \
  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); } 


#endif /* __gen_nsILDAPServer_h__ */