#include <ptlib/sockets.h>
#include <ptlib/pluginmgr.h>
#include <map>
#include <list>
Go to the source code of this file.
|
#define | LDAP_Schema(name) PCREATE_PLUGIN(name, PLDAPSchema) |
|
#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 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; \
PLDAPAttr_##attribute() \
instance(((base &)base::GetInitialiser()).attribute) \
{ init } \
virtual
void PrintOn (ostream & s)
const { s << instance; } \
virtual
void ReadFrom(istream & s) { s >> instance; } \
{ 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 | ) |
|
Value:
PLDAP_ATTR_INIT(name,
PString, objectClass, #name);
#define PLDAP_STRUCT_END |
( |
| ) |
}; |