Anope IRC Services  Version 2.0
Public Types | Public Member Functions | Data Fields
LDAPResult Struct Reference

#include <ldap.h>

Collaboration diagram for LDAPResult:
Collaboration graph
[legend]

Public Types

enum  QueryType {
  QUERY_UNKNOWN, QUERY_BIND, QUERY_SEARCH, QUERY_ADD,
  QUERY_DELETE, QUERY_MODIFY
}
 

Public Member Functions

 LDAPResult ()
 
size_t size () const
 
bool empty () const
 
const LDAPAttributesget (size_t sz) const
 
const Anope::stringgetError () const
 

Data Fields

std::vector< LDAPAttributesmessages
 
Anope::string error
 
QueryType type
 
LDAPQuery id
 

Detailed Description

Definition at line 62 of file ldap.h.

Member Enumeration Documentation

Enumerator
QUERY_UNKNOWN 
QUERY_BIND 
QUERY_SEARCH 
QUERY_ADD 
QUERY_DELETE 
QUERY_MODIFY 

Definition at line 67 of file ldap.h.

Constructor & Destructor Documentation

LDAPResult::LDAPResult ( )
inline

Definition at line 80 of file ldap.h.

References QUERY_UNKNOWN.

Member Function Documentation

bool LDAPResult::empty ( ) const
inline

Definition at line 91 of file ldap.h.

const LDAPAttributes& LDAPResult::get ( size_t  sz) const
inline

Definition at line 96 of file ldap.h.

const Anope::string& LDAPResult::getError ( ) const
inline

Definition at line 103 of file ldap.h.

References error.

Referenced by ModuleLDAP::OnNotify().

size_t LDAPResult::size ( ) const
inline

Definition at line 86 of file ldap.h.

Field Documentation

Anope::string LDAPResult::error

Definition at line 65 of file ldap.h.

Referenced by getError(), LDAPService::Run(), LDAPService::Timeout(), and LDAPService::~LDAPService().

LDAPQuery LDAPResult::id

Definition at line 78 of file ldap.h.

Referenced by LDAPService::Run(), and LDAPService::Timeout().

std::vector<LDAPAttributes> LDAPResult::messages

Definition at line 64 of file ldap.h.

Referenced by LDAPService::Run().

QueryType LDAPResult::type

Definition at line 77 of file ldap.h.

Referenced by LDAPService::Run().


The documentation for this struct was generated from the following file: