#include <ptlib/sockets.h>
#include <ptlib/pluginmgr.h>
#include <map>
#include <list>
Go to the source code of this file.
Classes |
| class | PLDAPSession |
| | This class will create an LDAP client to access a remote LDAP server. More...
|
| class | PLDAPSession::ModAttrib |
| class | PLDAPSession::StringModAttrib |
| class | PLDAPSession::BinaryModAttrib |
| class | PLDAPSession::SearchContext |
| class | PLDAPAttributeBase |
| class | PLDAPStructBase |
| class | PLDAPSchema |
| class | PLDAPSchema::Attribute |
| class | LDAPPluginServiceDescriptor< className > |
Defines |
| #define | LDAP_Schema(name) |
| #define | PLDAP_STRUCT_BEGIN(name) |
| #define | PLDAP_ATTRIBUTE(base, type, attribute, pointer, init) |
| #define | PLDAP_ATTR_SIMP(base, type, attribute) PLDAP_ATTRIBUTE(base, type, attribute, NULL, ;) |
| #define | PLDAP_ATTR_INIT(base, type, attribute, init) PLDAP_ATTRIBUTE(base, type, attribute, NULL, instance = init;) |
| #define | PLDAP_BINATTRIB(base, type, attribute) PLDAP_ATTRIBUTE(base, type, attribute, &((base &)base::GetInitialiser()).attribute, ;) |
| #define | PLDAP_STRUCT_END() }; |
Define Documentation
| #define LDAP_Schema |
( |
|
name | ) |
|
| #define PLDAP_ATTR_INIT |
( |
|
base, |
|
|
|
type, |
|
|
|
attribute, |
|
|
|
init |
|
) |
| PLDAP_ATTRIBUTE(base, type, attribute, NULL, instance = init;) |
| #define PLDAP_ATTR_SIMP |
( |
|
base, |
|
|
|
type, |
|
|
|
attribute |
|
) |
| PLDAP_ATTRIBUTE(base, type, attribute, NULL, ;) |
| #define PLDAP_ATTRIBUTE |
( |
|
base, |
|
|
|
type, |
|
|
|
attribute, |
|
|
|
pointer, |
|
|
|
init |
|
) |
| |
Value:public: type attribute; \
private: struct PLDAPAttr_##attribute : public PLDAPAttributeBase { \
PLDAPAttr_##attribute() \
: PLDAPAttributeBase(#attribute, pointer, sizeof(type)), \
instance(((base &)base::GetInitialiser()).attribute) \
{ init } \
virtual void PrintOn (ostream & s) const { s << instance; } \
virtual void ReadFrom(istream & s) { s >> instance; } \
virtual void Copy(const PLDAPAttributeBase & other) \
{ instance = ((PLDAPAttr_##attribute &)other).instance; } \
type & instance; \
} pldapvar_##attribute
| #define PLDAP_BINATTRIB |
( |
|
base, |
|
|
|
type, |
|
|
|
attribute |
|
) |
| PLDAP_ATTRIBUTE(base, type, attribute, &((base &)base::GetInitialiser()).attribute, ;) |
| #define PLDAP_STRUCT_BEGIN |
( |
|
name | ) |
|
| #define PLDAP_STRUCT_END |
( |
| ) |
}; |