Back to index

openldap  2.4.31
Defines | Typedefs | Functions | Variables
proto-slap.h File Reference
#include <ldap_cdefs.h>
#include "ldap_pvt.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define access_allowed(op, e, desc, val, access, state)   access_allowed_mask(op,e,desc,val,access,state,NULL)
#define ACCESSMASK_MAXLEN   sizeof("unknown (+wrscan)")
#define ad_cmp(l, r)
#define NoAttrs   (*slap_bv_no_attrs)
#define AllUser   (*slap_bv_all_user_attrs)
#define AllOper   (*slap_bv_all_operational_attrs)
#define attr_mergeit(e, d, v)   attr_merge( e, d, v, NULL /* FIXME */ )
#define attr_mergeit_one(e, d, v)   attr_merge_one( e, d, v, NULL /* FIXME */ )
#define be_match(be1, be2)
#define be_isupdate(op)   be_slurp_update( (op) )
#define be_entry_release_r(o, e)   be_entry_release_rw( o, e, 0 )
#define be_entry_release_w(o, e)   be_entry_release_rw( o, e, 1 )
#define free   ch_free
#define register_supported_control(oid, mask, exops, fn, cid)   register_supported_control2((oid), (mask), (exops), (fn), 0, (cid))
#define LDAP_PF_LOCAL_SENDMSG_ARG(arg)
#define SLAP_FD2SOCK(s)   s
#define SLAP_SOCK2FD(s)   s
#define SLAP_SOCKNEW(s)   s
#define dn_match(dn1, dn2)   ( ber_bvcmp((dn1), (dn2)) == 0 )
#define bvmatch(bv1, bv2)   ( ((bv1)->bv_len == (bv2)->bv_len) && (memcmp((bv1)->bv_val, (bv2)->bv_val, (bv1)->bv_len) == 0) )
#define dnPrettyDN(syntax, val, dn, ctx)   dnPrettyNormalDN((syntax),(val),(dn), SLAP_LDAPDN_PRETTY, ctx)
#define dnNormalDN(syntax, val, dn, ctx)   dnPrettyNormalDN((syntax),(val),(dn), 0, ctx)
#define exop_is_write(op)   ((op->ore_flags & SLAP_EXOP_WRITES) != 0)
#define load_extop(ext_oid, flags, ext_main)   load_extop2((ext_oid), (flags), (ext_main), 0)
#define filter_escape_value(in, out)   ldap_bv2escaped_filter_value_x( (in), (out), 0, NULL )
#define filter_escape_value_x(in, out, ctx)   ldap_bv2escaped_filter_value_x( (in), (out), 0, ctx )
#define is_entry_objectclass_or_sub(e, oc)   (is_entry_objectclass((e),(oc),SLAP_OCF_CHECK_SUP))
#define is_entry_alias(e)
#define is_entry_referral(e)
#define is_entry_subentry(e)
#define is_entry_collectiveAttributeSubentry(e)
#define is_entry_dynamicObject(e)
#define is_entry_glue(e)
#define is_entry_syncProviderSubentry(e)
#define is_entry_syncConsumerSubentry(e)
#define RS_ASSERT(cond)   ((void) 0)
#define rs_assert_ok(rs)   ((void) (rs))
#define rs_assert_ready(rs)   ((void) (rs))
#define rs_assert_done(rs)   ((void) (rs))
#define rs_reinit(rs, type)
#define rs_ensure_entry_modifiable   rs_entry2modifiable /* older name */
#define SLAP_PTRCMP(x, y)   ((x) < (y) ? -1 : (x) > (y))
#define SLAP_INDEX_INTLEN_STRLEN(intlen)   ((8*(intlen)-1) * 146/485 + 3)
#define slap_get_time()   time( NULL )
#define gmtime_mutex   ldap_int_gmtime_mutex
#define UI2BV_FORMAT   "%lu"
#define UI2BVX(bv, ui, ctx)
#define UI2BV(bv, ui)   UI2BVX(bv,ui,NULL)

Typedefs

typedef struct bervaldn
typedef SlapReplyrs
typedef struct bervaloid
typedef struct berval int blen

Functions

 LDAP_SLAPD_F (int) access_allowed_mask LDAP_P((Operation *op
 LDAP_SLAPD_F (void) acl_append(AccessControl **l
 LDAP_SLAPD_V (LDAP_CONST char *) style_strings[]
 LDAP_SLAPD_F (char *) access2str LDAP_P((slap_access_t access))
 LDAP_SLAPD_F (slap_access_t) str2access LDAP_P((const char *str))
 LDAP_SLAPD_F (slap_mask_t) str2accessmask LDAP_P((const char *str))
 LDAP_SLAPD_F (AttributeDescription *) slap_bv2tmp_ad LDAP_P((struct berval *bv
 LDAP_SLAPD_F (AttributeName *) str2anlist LDAP_P((AttributeName *an
 LDAP_SLAPD_F (char **) anlist2charray_x LDAP_P((AttributeName *an
 LDAP_SLAPD_F (MatchingRule *) ad_mr(AttributeDescription *ad
 LDAP_SLAPD_V (AttributeName *) slap_anlist_no_attrs
 LDAP_SLAPD_V (struct berval *) slap_bv_no_attrs
 LDAP_SLAPD_V (int) at_oc_cache
 LDAP_SLAPD_F (AttributeType *) at_find LDAP_P((const char *name))
 LDAP_SLAPD_F (const char *) at_syntax LDAP_P((AttributeType *at))
 LDAP_SLAPD_F (Attribute *) attr_dup LDAP_P((Attribute *a))
 LDAP_SLAPD_F (BackendInfo *) backend_info LDAP_P((const char *type))
 LDAP_SLAPD_F (BackendDB *) backend_db_init LDAP_P((const char *type
 LDAP_SLAPD_F (struct berval *) be_root_dn LDAP_P((Backend *be))
 LDAP_SLAPD_F (ID) backend_tool_entry_first LDAP_P((BackendDB *be))
 LDAP_SLAPD_V (BackendInfo) slap_binfo[]
 LDAP_SLAPD_F (slap_overinst *) overlay_next LDAP_P((slap_overinst *on))
 LDAP_SLAPD_V (BerMemoryFunctions) ch_mfuncs
 LDAP_SLAPD_F (void *) ch_malloc LDAP_P((ber_len_t size))
 LDAP_SLAPD_V (struct slap_control_ids) slap_cids
 LDAP_SLAPD_F (Connection *) connection_client_setup LDAP_P((ber_socket_t s
Listener const char const char
int slap_ssf_t struct berval
*id 
LDAP_PF_LOCAL_SENDMSG_ARG (struct berval *peerbv)))
 LDAP_SLAPD_F (unsigned long) connections_nextid(void)
 LDAP_SLAPD_F (ContentRule *) cr_find LDAP_P((const char *crname))
 LDAP_SLAPD_V (const struct berval) slap_ldapsync_bv
 LDAP_SLAPD_F (Entry *) slap_create_context_csn_entry LDAP_P((Backend *
 LDAP_SLAPD_F (Listener **) slapd_get_listeners LDAP_P((void))
 LDAP_SLAPD_F (RETSIGTYPE) slap_sig_shutdown LDAP_P((int sig))
 LDAP_SLAPD_F (time_t) slapd_get_writetime LDAP_P((void))
 LDAP_SLAPD_V (volatile sig_atomic_t) slapd_abrupt_shutdown
 LDAP_SLAPD_V (const char *) slapd_slp_attrs
 LDAP_SLAPD_V (slap_ssf_t) local_ssf
 LDAP_SLAPD_V (struct runqueue_s) slapd_rq
 LDAP_SLAPD_F (slap_mr_normalize_func) dnNormalize
 LDAP_SLAPD_F (slap_syntax_transform_func) dnPretty
 LDAP_SLAPD_F (ber_len_t) dn_rdnlen LDAP_P((Backend *be
typedef int (SLAP_CERT_MAP_FN) LDAP_P((void *ssl
 LDAP_SLAPD_V (const Entry) slap_entry_root
typedef int (SLAP_EXTOP_MAIN_FN) LDAP_P((Operation *op
typedef int (SLAP_EXTOP_GETOID_FN) LDAP_P((int index
 LDAP_SLAPD_F (SLAP_EXTOP_MAIN_FN) cancel_extop
 LDAP_SLAPD_F (Filter *) filter_dup LDAP_P((Filter *f
 LDAP_SLAPD_V (const Filter *) slap_filter_objectClass_pres
 LDAP_SLAPD_V (const struct berval *) slap_filterstr_objectClass_pres
 LDAP_SLAPD_V (struct slap_sync_cookie_s) slap_sync_cookie
 LDAP_SLAPD_V (void *) slap_tls_ctx
 LDAP_SLAPD_V (LDAP *) slap_tls_ld
 LDAP_SLAPD_V (char *) slap_known_controls[]
 LDAP_SLAPD_F (int *) slap_parse_csn_sids LDAP_P((BerVarray
 LDAP_SLAPD_F (struct sync_cookie *) slap_dup_sync_cookie LDAP_P((struct sync_cookie *
 LDAP_SLAPD_F (FILE *) lock_fopen LDAP_P((const char *fname
parse_debug_level LDAP_P ((const char *arg, int *levelp, char ***unknowns))
parse_syslog_level LDAP_P ((const char *arg, int *levelp))
parse_syslog_user LDAP_P ((const char *arg, int *syslogUser))
parse_debug_unknowns LDAP_P ((char **unknowns, int *levelp))
 LDAP_SLAPD_F (ObjectClass *) oc_find LDAP_P((const char *ocname))
 LDAP_SLAPD_F (Operation *) slap_op_alloc LDAP_P((BerElement *ber
 LDAP_SLAPD_F (slap_op_t) slap_req2op LDAP_P((ber_tag_t tag))
 LDAP_SLAPD_F (BerVarray) get_entry_referrals LDAP_P((Operation *op
LDAP_SLAPD_F() void (rs_assert_ok) LDAP_P((const SlapReply *rs))
LDAP_SLAPD_F() void (rs_assert_ready) LDAP_P((const SlapReply *rs))
LDAP_SLAPD_F() void (rs_assert_done) LDAP_P((const SlapReply *rs))
LDAP_SLAPD_F() void (rs_reinit) LDAP_P((SlapReply *rs
 LDAP_SLAPD_F (ber_tag_t) slap_req2res LDAP_P((ber_tag_t tag))
 LDAP_SLAPD_F (slap_mr_indexer_func) octetStringIndexer
 LDAP_SLAPD_F (slap_mr_filter_func) octetStringFilter
 LDAP_SLAPD_V (struct slap_internal_schema) slap_schema
 LDAP_SLAPD_F (Syntax *) syn_find LDAP_P((const char *synname))
 LDAP_SLAPD_V (ber_len_t) sockbuf_max_incoming
 LDAP_SLAPD_V (slap_mask_t) global_allows
 LDAP_SLAPD_V (const char) Versionstr[]
 LDAP_SLAPD_V (char **) default_passwd_hash
 LDAP_SLAPD_V (slap_counters_t) slap_counters
 LDAP_SLAPD_V (time_t) starttime
 LDAP_SLAPD_V (ber_socket_t) dtblsize

Variables

Entrye
Entry AttributeDescriptiondesc
Entry AttributeDescription
struct berval
val
Entry AttributeDescription
struct berval slap_access_t 
access
Entry AttributeDescription
struct berval slap_access_t
AccessControlState
state
Entry AttributeDescription
struct berval slap_access_t
AccessControlState slap_mask_t
mask
Entry AttributeDescription
struct berval slap_access_t
AccessControlState slap_mask_t
maskp
Entry Modificationsml
AccessControla
AccessControl int pos
int ix
int char sep
int char struct bervalbv
Operationop
Operation Entry struct bervaldefault_set_attribute
struct bervalpattern
struct berval struct bervaldnmatch
struct berval struct berval
struct berval
valmatch
struct berval struct berval
struct berval AclRegexMatches
matches
const char * fname
const char int lineno
const char int int argc
const char int int char ** argv
char int debug
AttributeDescription ** ad
AttributeDescription const char ** text
AttributeDescriptionsuper
AttributeNameattrs
AttributeDescription const
char unsigned 
proxied
voidmemctx
AttributeTypenat
struct bervaltags
char * str
char const char * brkstr
int freename
int voidctx
int dup
const char const char struct
berval
s
unsigned usage
Entry int initial
Entry int int const char char * textbuf
Entry int int const char char
size_t 
textlen
Modifications ** mods
const char char size_t int manage_ctxcsn
AttributeType ** list
AttributeType *** listp
int user
int AttributeType ** sat
int AttributeType AttributeTypeprev
int AttributeType
AttributeType const char ** 
err
AttributeTypestart
AttributeType AttributeTypeend
AttributeType AttributeType int system
AttributeDescription int dupok
unsigned flags
unsigned struct berval unsignedslot
BerVarray vals
BerVarray BerVarray nvals
BerVarray BerVarray int num
AttributeDescription struct
berval struct berval
nval
BerVarray BerVarraynvalsp
BerElement * ber
BerElement Filterf
AttributeAssertionava
AttributeAssertion int freeit
struct config_reply_scr
int dynamic
BackendDBbe
BackendDB int idx
int noSubordinates
struct bervalsuffix
struct bervalsubordinate
struct bervalndn
struct berval ObjectClassoc
struct berval ObjectClass
AttributeDescription
at
struct berval ObjectClass
AttributeDescription int 
rw
SlapReply struct bervalopdata
Entrytarget
Entry struct bervalgr_ndn
Entry struct berval struct bervalop_ndn
Entry struct berval struct
berval ObjectClass
group_oc
Entry struct berval struct
berval ObjectClass
AttributeDescription
group_at
Entry struct bervalentry_ndn
Entry struct berval
AttributeDescription
entry_at
Entry struct bervaledn
int advert
int int online
const char * ov
const char int BackendInfo ** res
slap_overinston
const char * name
SlapReply slap_operation_t which
SlapReply slap_operation_t
slap_overinfo
oi
slap_callbacksc
slap_callback int append
intl
BerVarraybva
voidbc
void slap_cf_aux_tabletab0
void slap_cf_aux_table
LDAP_CONST char * 
tabmsg
ber_len_t size
LDAPControl ** ctrls
SlapReply LDAPControlcontrol
SlapReply int senderrors
slap_mask_t controlmask
slap_mask_t char ** controlexops
slap_mask_t char
SLAP_CTRL_PARSE_FN * 
controlparsefn
slap_mask_t char
SLAP_CTRL_PARSE_FN unsigned
int
controlcid
slap_mask_t ** ctrlmasks
intcid
SlapReply int ctrl
SlapReply int BI_chk_controls fnc
const char * dir
char const char slap_verbmasksv
char slap_verbmasks slap_mask_tm
slap_mask_t char delim
slap_mask_t struct berval
slap_mask_t
ignore
int opt
LDAP * ld
slap_bindconfsb
char ber_len_t buflen
ldap_pvt_thread_start_t * func
ldap_pvt_thread_start_t voidarg
Listenerurl
Listener const char * dnsname
Listener const char const char * peername
Listener const char const char int use_tls
Listener const char const char
int slap_ssf_t 
ssf
const char * why
OperationBufferopbuf
OperationBuffer voidthreadctx
OperationBuffer void int newmem
int ContentRule ** scr
struct bervalmaxcsn
struct berval intfoundit
struct berval struct berval int
struct berval int isactive
Sockbuf int wasactive
Sockbuf int int wake
Sockbuf int int int locked
struct berval struct bervalpretty
struct berval struct berval
struct berval
normal
slap_mask_t Syntaxsyntax
slap_mask_t Syntax MatchingRulemr
slap_mask_t Syntax
MatchingRule struct berval
value
slap_mask_t Syntax
MatchingRule struct berval
void
assertedValue
struct bervalnbase
struct berval int scope
struct bervalrdn
struct bervalparent_dn
struct berval struct bervalnewrdn
struct bervalpdn
struct bervalout
int checkvals
intlen
int ber_len_t wrap
int norm
ber_len_t intnattrs
Entryb
const voidv_b
Entrysrc
slap_mask_t SLAP_EXTOP_MAIN_FN * ext_main
slap_mask_t SLAP_EXTOP_MAIN_FN
unsigned 
tmpflags
BerElement Filter ** filt
Filter int freeme
int noundef
ValuesReturnFilter struct bervalfstr
struct berval BerVarray
int free_cookie
struct slap_limits_setlimit
const char * type
const char FILE ** lfp
Attribute char *** e_flags
Modifications ** modsp
SlapReply BerElement req_modify_sms
Modificationmod
Modification int permissive
int freevals
slap_mrule_defs_recdef
slap_mrule_defs_rec MatchingRuleassociated
char *constmrs
MatchingRuleAssertionmra
int ObjectClass ** soc
ObjectClasssub
int OidMacro ** om
intn
ber_int_t msgid
ber_int_t ber_tag_t tag
ber_int_t ber_tag_t ber_int_t id
Entry Attribute struct bervalcred
struct bervalhash
struct berval char * htype
struct berval struct bervaloldpass
struct berval struct berval
struct berval
newpass
struct bervalbase
intcode
int char ** matched
int char char ** info
const char * attr
int reopen
slap_ssf_t struct bervalauthid
Operation struct berval char * user_realm
struct berval struct bervalrealm
struct berval struct berval
struct berval
mech
BerVarray rules
BerVarray struct bervalassertDN
BerVarray struct berval struct
berval
authc
struct bervalsaslname
struct bervalauthcid
struct berval struct bervalauthzid
const char * replace
struct bervalin
Syntax MatchingRule struct
berval struct berval
normalized
ObjectClass ** socs
Entry Attribute int manage
Entry Attribute int int add
Entry Attribute int int
Attribute ** 
socp
const char * s2del
int stack
int void int flag
voiddata
Entry Attributeold
Entry Attribute Attributeanew
Entry Attribute Attribute
Modifications Modifications
int 
is_ctx
int all
Syntaxsup
intslen
int slap_syntax_defs_rec Syntax ** ssyn
AttributeDescription
MatchingRule unsigned struct
berval
v1
AttributeDescription
MatchingRule unsigned struct
berval void
v2
unsigned BerVarray values
struct berval int mop
int do_renumber
BerVarray addvals
struct bervaladdval

Define Documentation

#define access_allowed (   op,
  e,
  desc,
  val,
  access,
  state 
)    access_allowed_mask(op,e,desc,val,access,state,NULL)

Definition at line 55 of file proto-slap.h.

#define ACCESSMASK_MAXLEN   sizeof("unknown (+wrscan)")

Definition at line 110 of file proto-slap.h.

#define ad_cmp (   l,
 
)
Value:
(((l)->ad_cname.bv_len < (r)->ad_cname.bv_len) \
       ? -1 : (((l)->ad_cname.bv_len > (r)->ad_cname.bv_len) \
              ? 1 : strcasecmp((l)->ad_cname.bv_val, (r)->ad_cname.bv_val )))

Definition at line 134 of file proto-slap.h.

Definition at line 202 of file proto-slap.h.

Definition at line 201 of file proto-slap.h.

#define attr_mergeit (   e,
  d,
  v 
)    attr_merge( e, d, v, NULL /* FIXME */ )

Definition at line 275 of file proto-slap.h.

#define attr_mergeit_one (   e,
  d,
  v 
)    attr_merge_one( e, d, v, NULL /* FIXME */ )

Definition at line 276 of file proto-slap.h.

#define be_entry_release_r (   o,
  e 
)    be_entry_release_rw( o, e, 0 )

Definition at line 381 of file proto-slap.h.

#define be_entry_release_w (   o,
  e 
)    be_entry_release_rw( o, e, 1 )

Definition at line 382 of file proto-slap.h.

#define be_isupdate (   op)    be_slurp_update( (op) )

Definition at line 372 of file proto-slap.h.

#define be_match (   be1,
  be2 
)
Value:
( (be1) == (be2) || \
                              ( (be1) && (be2) && (be1)->be_nsuffix == (be2)->be_nsuffix ) )

Definition at line 339 of file proto-slap.h.

#define bvmatch (   bv1,
  bv2 
)    ( ((bv1)->bv_len == (bv2)->bv_len) && (memcmp((bv1)->bv_val, (bv2)->bv_val, (bv1)->bv_len) == 0) )

Definition at line 907 of file proto-slap.h.

#define dn_match (   dn1,
  dn2 
)    ( ber_bvcmp((dn1), (dn2)) == 0 )

Definition at line 906 of file proto-slap.h.

#define dnNormalDN (   syntax,
  val,
  dn,
  ctx 
)    dnPrettyNormalDN((syntax),(val),(dn), 0, ctx)

Definition at line 990 of file proto-slap.h.

#define dnPrettyDN (   syntax,
  val,
  dn,
  ctx 
)    dnPrettyNormalDN((syntax),(val),(dn), SLAP_LDAPDN_PRETTY, ctx)

Definition at line 988 of file proto-slap.h.

#define exop_is_write (   op)    ((op->ore_flags & SLAP_EXOP_WRITES) != 0)

Definition at line 1041 of file proto-slap.h.

#define filter_escape_value (   in,
  out 
)    ldap_bv2escaped_filter_value_x( (in), (out), 0, NULL )

Definition at line 1110 of file proto-slap.h.

#define filter_escape_value_x (   in,
  out,
  ctx 
)    ldap_bv2escaped_filter_value_x( (in), (out), 0, ctx )

Definition at line 1111 of file proto-slap.h.

#define free   ch_free

Definition at line 519 of file proto-slap.h.

#define gmtime_mutex   ldap_int_gmtime_mutex

Definition at line 2058 of file proto-slap.h.

#define is_entry_alias (   e)
Value:
(((e)->e_ocflags & SLAP_OC__END) \
        ? (((e)->e_ocflags & SLAP_OC_ALIAS) != 0) \
        : is_entry_objectclass((e), slap_schema.si_oc_alias, SLAP_OCF_SET_FLAGS))

Definition at line 1402 of file proto-slap.h.

Value:
(((e)->e_ocflags & SLAP_OC__END) \
        ? (((e)->e_ocflags & SLAP_OC_COLLECTIVEATTRIBUTESUBENTRY) != 0) \
        : is_entry_objectclass((e), slap_schema.si_oc_collectiveAttributeSubentry, SLAP_OCF_SET_FLAGS))

Definition at line 1414 of file proto-slap.h.

#define is_entry_dynamicObject (   e)
Value:
(((e)->e_ocflags & SLAP_OC__END) \
        ? (((e)->e_ocflags & SLAP_OC_DYNAMICOBJECT) != 0) \
        : is_entry_objectclass((e), slap_schema.si_oc_dynamicObject, SLAP_OCF_SET_FLAGS))

Definition at line 1418 of file proto-slap.h.

#define is_entry_glue (   e)
Value:
(((e)->e_ocflags & SLAP_OC__END) \
        ? (((e)->e_ocflags & SLAP_OC_GLUE) != 0) \
        : is_entry_objectclass((e), slap_schema.si_oc_glue, SLAP_OCF_SET_FLAGS))

Definition at line 1422 of file proto-slap.h.

Definition at line 1400 of file proto-slap.h.

#define is_entry_referral (   e)
Value:
(((e)->e_ocflags & SLAP_OC__END) \
        ? (((e)->e_ocflags & SLAP_OC_REFERRAL) != 0) \
        : is_entry_objectclass((e), slap_schema.si_oc_referral, SLAP_OCF_SET_FLAGS))

Definition at line 1406 of file proto-slap.h.

#define is_entry_subentry (   e)
Value:
(((e)->e_ocflags & SLAP_OC__END) \
        ? (((e)->e_ocflags & SLAP_OC_SUBENTRY) != 0) \
        : is_entry_objectclass((e), slap_schema.si_oc_subentry, SLAP_OCF_SET_FLAGS))

Definition at line 1410 of file proto-slap.h.

Value:
(((e)->e_ocflags & SLAP_OC__END) \
        ? (((e)->e_ocflags & SLAP_OC_SYNCCONSUMERSUBENTRY) != 0) \
        : is_entry_objectclass((e), slap_schema.si_oc_syncConsumerSubentry, SLAP_OCF_SET_FLAGS))

Definition at line 1430 of file proto-slap.h.

Value:
(((e)->e_ocflags & SLAP_OC__END) \
        ? (((e)->e_ocflags & SLAP_OC_SYNCPROVIDERSUBENTRY) != 0) \
        : is_entry_objectclass((e), slap_schema.si_oc_syncProviderSubentry, SLAP_OCF_SET_FLAGS))

Definition at line 1426 of file proto-slap.h.

Definition at line 770 of file proto-slap.h.

#define load_extop (   ext_oid,
  flags,
  ext_main 
)    load_extop2((ext_oid), (flags), (ext_main), 0)

Definition at line 1062 of file proto-slap.h.

#define NoAttrs   (*slap_bv_no_attrs)

Definition at line 200 of file proto-slap.h.

#define register_supported_control (   oid,
  mask,
  exops,
  fn,
  cid 
)    register_supported_control2((oid), (mask), (exops), (fn), 0, (cid))

Definition at line 661 of file proto-slap.h.

#define RS_ASSERT (   cond)    ((void) 0)

Definition at line 1564 of file proto-slap.h.

#define rs_assert_done (   rs)    ((void) (rs))

Definition at line 1567 of file proto-slap.h.

#define rs_assert_ok (   rs)    ((void) (rs))

Definition at line 1565 of file proto-slap.h.

#define rs_assert_ready (   rs)    ((void) (rs))

Definition at line 1566 of file proto-slap.h.

Definition at line 1589 of file proto-slap.h.

#define rs_reinit (   rs,
  type 
)
Value:
do {                 \
		SlapReply *const rsRI = (rs);           \
              rs_assert_done( rsRI );                          \
              rsRI->sr_type = (type);                          \
              /* Got type before memset in case of rs_reinit(rs, rs->sr_type) */ \
              assert( !offsetof( SlapReply, sr_type ) );       \
              memset( (slap_reply_t *) rsRI + 1, 0,            \
                     sizeof(*rsRI) - sizeof(slap_reply_t) );   \
       } while ( 0 )

Definition at line 1573 of file proto-slap.h.

#define SLAP_FD2SOCK (   s)    s

Definition at line 897 of file proto-slap.h.

#define slap_get_time ( )    time( NULL )

Definition at line 2048 of file proto-slap.h.

#define SLAP_INDEX_INTLEN_STRLEN (   intlen)    ((8*(intlen)-1) * 146/485 + 3)

Definition at line 2014 of file proto-slap.h.

#define SLAP_PTRCMP (   x,
 
)    ((x) < (y) ? -1 : (x) > (y))

Definition at line 1977 of file proto-slap.h.

#define SLAP_SOCK2FD (   s)    s

Definition at line 898 of file proto-slap.h.

#define SLAP_SOCKNEW (   s)    s

Definition at line 899 of file proto-slap.h.

#define UI2BV (   bv,
  ui 
)    UI2BVX(bv,ui,NULL)

Definition at line 2187 of file proto-slap.h.

#define UI2BV_FORMAT   "%lu"

Definition at line 2171 of file proto-slap.h.

#define UI2BVX (   bv,
  ui,
  ctx 
)
Value:
do { \
              char          buf[LDAP_PVT_INTTYPE_CHARS(long)]; \
              ber_len_t     len; \
              len = snprintf( buf, sizeof( buf ), UI2BV_FORMAT, (ui) ); \
              if ( len > (bv)->bv_len ) { \
                     (bv)->bv_val = ber_memrealloc_x( (bv)->bv_val, len + 1, (ctx) ); \
              } \
              (bv)->bv_len = len; \
              AC_MEMCPY( (bv)->bv_val, buf, len + 1 ); \
       } while ( 0 )

Definition at line 2174 of file proto-slap.h.


Typedef Documentation

typedef struct berval int blen

Definition at line 1055 of file proto-slap.h.

struct berval struct berval * dn

Definition at line 993 of file proto-slap.h.

Definition at line 1055 of file proto-slap.h.

typedef SlapReply * rs

Definition at line 1052 of file proto-slap.h.


Function Documentation

typedef int ( SLAP_CERT_MAP_FN  )
typedef int ( SLAP_EXTOP_MAIN_FN  )
typedef int ( SLAP_EXTOP_GETOID_FN  )
parse_debug_level LDAP_P ( (const char *arg, int *levelp, char ***unknowns)  )
parse_syslog_level LDAP_P ( (const char *arg, int *levelp)  )
parse_syslog_user LDAP_P ( (const char *arg, int *syslogUser)  )
parse_debug_unknowns LDAP_P ( (char **unknowns, int *levelp)  )
Listener const char const char int slap_ssf_t struct berval* id LDAP_PF_LOCAL_SENDMSG_ARG ( struct berval peerbv) [read]

Here is the caller graph for this function:

LDAP_SLAPD_F ( void  ) [read, new]

Definition at line 1582 of file proto-slap.h.

LDAP_SLAPD_F ( char *  )
LDAP_SLAPD_F ( char **  )
LDAP_SLAPD_F ( AttributeType ) const
LDAP_SLAPD_F ( const char *  )
LDAP_SLAPD_F ( BackendInfo ) const
LDAP_SLAPD_F ( BackendDB ) const
LDAP_SLAPD_F ( struct berval )
LDAP_SLAPD_F ( void )
LDAP_SLAPD_F ( ContentRule ) const
LDAP_SLAPD_F ( RETSIGTYPE  )
LDAP_SLAPD_F ( time_t  )
LDAP_SLAPD_F ( slap_mr_normalize_func  )
LDAP_SLAPD_F ( slap_syntax_transform_func  )
LDAP_SLAPD_F ( SLAP_EXTOP_MAIN_FN  )
LDAP_SLAPD_F ( int )
LDAP_SLAPD_F ( struct sync_cookie )
LDAP_SLAPD_F ( FILE *  ) const
LDAP_SLAPD_F ( ObjectClass ) const
LDAP_SLAPD_F ( ber_tag_t  )
LDAP_SLAPD_F ( slap_mr_indexer_func  )
LDAP_SLAPD_F ( slap_mr_filter_func  )
LDAP_SLAPD_F ( Syntax ) const
LDAP_SLAPD_V ( LDAP_CONST char *  )
LDAP_SLAPD_V ( struct berval )
LDAP_SLAPD_V ( const struct berval  )
LDAP_SLAPD_V ( volatile sig_atomic_t  )
LDAP_SLAPD_V ( const char *  )
LDAP_SLAPD_V ( struct runqueue_s  )
LDAP_SLAPD_V ( const struct berval )
LDAP_SLAPD_V ( struct slap_sync_cookie_s  )
LDAP_SLAPD_V ( void )
LDAP_SLAPD_V ( LDAP *  )
LDAP_SLAPD_V ( char *  )
LDAP_SLAPD_V ( const char  )
LDAP_SLAPD_V ( char **  )
LDAP_SLAPD_V ( time_t  )
LDAP_SLAPD_V ( ber_socket_t  )

Variable Documentation

Definition at line 76 of file proto-slap.h.

Definition at line 51 of file proto-slap.h.

Definition at line 123 of file proto-slap.h.

Definition at line 1744 of file proto-slap.h.

struct berval* addval

Definition at line 1974 of file proto-slap.h.

Definition at line 1971 of file proto-slap.h.

Definition at line 442 of file proto-slap.h.

Definition at line 1862 of file proto-slap.h.

Definition at line 1860 of file proto-slap.h.

Definition at line 492 of file proto-slap.h.

Definition at line 762 of file proto-slap.h.

Definition at line 104 of file proto-slap.h.

struct sync_cookie BerVarray Entry const char int int char** argv

Definition at line 104 of file proto-slap.h.

Definition at line 1675 of file proto-slap.h.

Definition at line 936 of file proto-slap.h.

Definition at line 1343 of file proto-slap.h.

Definition at line 377 of file proto-slap.h.

const char* attr

Definition at line 1630 of file proto-slap.h.

Definition at line 144 of file proto-slap.h.

BerVarray struct berval struct berval* authc

Definition at line 1675 of file proto-slap.h.

struct berval* authcid

Definition at line 1683 of file proto-slap.h.

Definition at line 1653 of file proto-slap.h.

struct berval struct berval* authzid

Definition at line 1684 of file proto-slap.h.

Definition at line 332 of file proto-slap.h.

Entry* b

Definition at line 1027 of file proto-slap.h.

struct berval* base

Definition at line 1538 of file proto-slap.h.

Definition at line 504 of file proto-slap.h.

Definition at line 355 of file proto-slap.h.

BerElement* ber

Definition at line 326 of file proto-slap.h.

struct berval BerVarray

Definition at line 1164 of file proto-slap.h.

char const char* brkstr

Definition at line 171 of file proto-slap.h.

Definition at line 745 of file proto-slap.h.

struct berval* bv

Definition at line 88 of file proto-slap.h.

Definition at line 500 of file proto-slap.h.

Definition at line 1005 of file proto-slap.h.

const char int * cid

Definition at line 673 of file proto-slap.h.

Definition at line 1607 of file proto-slap.h.

Definition at line 647 of file proto-slap.h.

slap_mask_t char SLAP_CTRL_PARSE_FN unsigned int* controlcid

Definition at line 656 of file proto-slap.h.

Definition at line 656 of file proto-slap.h.

Definition at line 656 of file proto-slap.h.

slap_mask_t char SLAP_CTRL_PARSE_FN* controlparsefn

Definition at line 656 of file proto-slap.h.

const char int BackendInfo ConfigReply* cr

Definition at line 346 of file proto-slap.h.

Definition at line 1494 of file proto-slap.h.

Definition at line 678 of file proto-slap.h.

Definition at line 671 of file proto-slap.h.

Definition at line 640 of file proto-slap.h.

Definition at line 173 of file proto-slap.h.

Definition at line 1839 of file proto-slap.h.

char int debug

Definition at line 111 of file proto-slap.h.

Definition at line 1343 of file proto-slap.h.

Definition at line 93 of file proto-slap.h.

const char char delim

Definition at line 719 of file proto-slap.h.

Definition at line 51 of file proto-slap.h.

const char* dir

Definition at line 706 of file proto-slap.h.

struct berval struct berval* dnmatch

Definition at line 96 of file proto-slap.h.

Definition at line 775 of file proto-slap.h.

Definition at line 1967 of file proto-slap.h.

const char int * dup

Definition at line 176 of file proto-slap.h.

Definition at line 262 of file proto-slap.h.

Definition at line 351 of file proto-slap.h.

Entry* e

Definition at line 51 of file proto-slap.h.

Attribute char*** e_flags

Definition at line 1226 of file proto-slap.h.

Entry struct berval * edn

Definition at line 421 of file proto-slap.h.

Definition at line 258 of file proto-slap.h.

Definition at line 412 of file proto-slap.h.

Definition at line 412 of file proto-slap.h.

Definition at line 239 of file proto-slap.h.

slap_mask_t SLAP_EXTOP_MAIN_FN* ext_main

Definition at line 1059 of file proto-slap.h.

BerElement Filter* f

Definition at line 326 of file proto-slap.h.

BerElement Filter** filt

Definition at line 1090 of file proto-slap.h.

Definition at line 1837 of file proto-slap.h.

Definition at line 282 of file proto-slap.h.

Definition at line 104 of file proto-slap.h.

Definition at line 678 of file proto-slap.h.

struct berval int* foundit

Definition at line 844 of file proto-slap.h.

Definition at line 1166 of file proto-slap.h.

Definition at line 332 of file proto-slap.h.

Definition at line 1095 of file proto-slap.h.

Definition at line 173 of file proto-slap.h.

Definition at line 1310 of file proto-slap.h.

Definition at line 1107 of file proto-slap.h.

ldap_pvt_thread_start_t* func

Definition at line 762 of file proto-slap.h.

Entry struct berval* gr_ndn

Definition at line 403 of file proto-slap.h.

Definition at line 404 of file proto-slap.h.

Definition at line 404 of file proto-slap.h.

struct berval * hash

Definition at line 1501 of file proto-slap.h.

struct berval char* htype

Definition at line 1506 of file proto-slap.h.

Operation struct berval* id

Definition at line 1468 of file proto-slap.h.

Modification int const char char size_t int * idx

Definition at line 355 of file proto-slap.h.

Definition at line 727 of file proto-slap.h.

struct berval * in

Definition at line 1699 of file proto-slap.h.

int char char** info

Definition at line 1607 of file proto-slap.h.

Definition at line 207 of file proto-slap.h.

Definition at line 848 of file proto-slap.h.

Definition at line 1860 of file proto-slap.h.

Definition at line 854 of file proto-slap.h.

Definition at line 86 of file proto-slap.h.

int * l

Definition at line 498 of file proto-slap.h.

LDAP* ld

Definition at line 740 of file proto-slap.h.

Definition at line 1006 of file proto-slap.h.

FILE * lfp

Definition at line 1206 of file proto-slap.h.

Definition at line 1191 of file proto-slap.h.

Definition at line 104 of file proto-slap.h.

Definition at line 232 of file proto-slap.h.

Definition at line 234 of file proto-slap.h.

Sockbuf int int int locked

Definition at line 859 of file proto-slap.h.

Definition at line 715 of file proto-slap.h.

Definition at line 1744 of file proto-slap.h.

Definition at line 215 of file proto-slap.h.

Definition at line 51 of file proto-slap.h.

Definition at line 60 of file proto-slap.h.

int char** matched

Definition at line 1607 of file proto-slap.h.

struct berval struct berval struct berval AclRegexMatches* matches

Definition at line 96 of file proto-slap.h.

struct berval* maxcsn

Definition at line 844 of file proto-slap.h.

struct berval struct berval struct berval* mech

Definition at line 1672 of file proto-slap.h.

Definition at line 160 of file proto-slap.h.

Definition at line 74 of file proto-slap.h.

Definition at line 1289 of file proto-slap.h.

Definition at line 211 of file proto-slap.h.

Definition at line 1276 of file proto-slap.h.

struct berval int mop

Definition at line 1936 of file proto-slap.h.

Definition at line 933 of file proto-slap.h.

Definition at line 1376 of file proto-slap.h.

char* const* mrs

Definition at line 1364 of file proto-slap.h.

SlapReply BerElement req_modify_s* ms

Definition at line 1281 of file proto-slap.h.

ber_int_t msgid

Definition at line 1468 of file proto-slap.h.

int* n

Definition at line 1466 of file proto-slap.h.

const char * name

Definition at line 457 of file proto-slap.h.

Definition at line 164 of file proto-slap.h.

Definition at line 1010 of file proto-slap.h.

struct berval * nbase

Definition at line 960 of file proto-slap.h.

struct berval* ndn

Definition at line 368 of file proto-slap.h.

Definition at line 806 of file proto-slap.h.

struct berval struct berval struct berval* newpass

Definition at line 1517 of file proto-slap.h.

struct berval struct berval* newrdn

Definition at line 977 of file proto-slap.h.

Definition at line 1009 of file proto-slap.h.

struct berval struct berval struct berval* normal

Definition at line 928 of file proto-slap.h.

Definition at line 1719 of file proto-slap.h.

Definition at line 361 of file proto-slap.h.

Definition at line 1098 of file proto-slap.h.

Definition at line 287 of file proto-slap.h.

Definition at line 297 of file proto-slap.h.

Definition at line 287 of file proto-slap.h.

Definition at line 299 of file proto-slap.h.

struct berval* oc

Definition at line 377 of file proto-slap.h.

Definition at line 463 of file proto-slap.h.

Definition at line 1860 of file proto-slap.h.

struct berval struct berval* oldpass

Definition at line 1516 of file proto-slap.h.

Definition at line 1457 of file proto-slap.h.

Definition at line 453 of file proto-slap.h.

Definition at line 442 of file proto-slap.h.

Definition at line 91 of file proto-slap.h.

Entry struct berval struct berval* op_ndn

Definition at line 404 of file proto-slap.h.

Definition at line 802 of file proto-slap.h.

Definition at line 394 of file proto-slap.h.

Definition at line 729 of file proto-slap.h.

struct berval struct berval* out

Definition at line 983 of file proto-slap.h.

Definition at line 449 of file proto-slap.h.

struct berval* parent_dn

Definition at line 976 of file proto-slap.h.

struct berval* pattern

Definition at line 95 of file proto-slap.h.

struct berval* pdn

Definition at line 980 of file proto-slap.h.

Definition at line 775 of file proto-slap.h.

Definition at line 1289 of file proto-slap.h.

const char int int char int pos

Definition at line 76 of file proto-slap.h.

struct berval struct berval* pretty

Definition at line 927 of file proto-slap.h.

Definition at line 239 of file proto-slap.h.

Definition at line 148 of file proto-slap.h.

struct berval * rdn

Definition at line 968 of file proto-slap.h.

struct berval struct berval* realm

Definition at line 1672 of file proto-slap.h.

Definition at line 1648 of file proto-slap.h.

const char* replace

Definition at line 1686 of file proto-slap.h.

Definition at line 449 of file proto-slap.h.

Definition at line 1674 of file proto-slap.h.

Definition at line 377 of file proto-slap.h.

struct berval* s

Definition at line 181 of file proto-slap.h.

const char* s2del

Definition at line 1808 of file proto-slap.h.

struct berval* saslname

Definition at line 1678 of file proto-slap.h.

Syntax ** sat

Definition at line 239 of file proto-slap.h.

Sockbuf* sb

Definition at line 742 of file proto-slap.h.

Definition at line 492 of file proto-slap.h.

struct berval struct berval int scope

Definition at line 960 of file proto-slap.h.

Definition at line 825 of file proto-slap.h.

Definition at line 652 of file proto-slap.h.

int char sep

Definition at line 86 of file proto-slap.h.

Definition at line 512 of file proto-slap.h.

Definition at line 1871 of file proto-slap.h.

Definition at line 283 of file proto-slap.h.

Definition at line 1382 of file proto-slap.h.

Definition at line 1744 of file proto-slap.h.

Definition at line 1732 of file proto-slap.h.

Definition at line 1031 of file proto-slap.h.

Definition at line 775 of file proto-slap.h.

Definition at line 1874 of file proto-slap.h.

Definition at line 1837 of file proto-slap.h.

Definition at line 258 of file proto-slap.h.

Definition at line 51 of file proto-slap.h.

const char* str

Definition at line 171 of file proto-slap.h.

Definition at line 1396 of file proto-slap.h.

Definition at line 366 of file proto-slap.h.

struct berval * suffix

Definition at line 364 of file proto-slap.h.

Definition at line 1867 of file proto-slap.h.

Definition at line 140 of file proto-slap.h.

Definition at line 933 of file proto-slap.h.

Definition at line 258 of file proto-slap.h.

Definition at line 504 of file proto-slap.h.

Definition at line 504 of file proto-slap.h.

ber_int_t ber_tag_t tag

Definition at line 1468 of file proto-slap.h.

struct berval* tags

Definition at line 168 of file proto-slap.h.

Definition at line 402 of file proto-slap.h.

Definition at line 123 of file proto-slap.h.

struct berval const char char * textbuf

Definition at line 207 of file proto-slap.h.

struct berval const char char size_t textlen

Definition at line 207 of file proto-slap.h.

Definition at line 802 of file proto-slap.h.

slap_mask_t SLAP_EXTOP_MAIN_FN unsigned tmpflags

Definition at line 1059 of file proto-slap.h.

Definition at line 1206 of file proto-slap.h.

Definition at line 775 of file proto-slap.h.

Definition at line 188 of file proto-slap.h.

Definition at line 775 of file proto-slap.h.

Definition at line 239 of file proto-slap.h.

Operation struct berval char* user_realm

Definition at line 1665 of file proto-slap.h.

slap_mask_t struct berval * v

Definition at line 711 of file proto-slap.h.

Definition at line 1917 of file proto-slap.h.

Definition at line 1917 of file proto-slap.h.

Definition at line 1028 of file proto-slap.h.

Definition at line 51 of file proto-slap.h.

struct berval struct berval struct berval* valmatch

Definition at line 96 of file proto-slap.h.

Definition at line 287 of file proto-slap.h.

Definition at line 936 of file proto-slap.h.

Definition at line 1922 of file proto-slap.h.

Definition at line 859 of file proto-slap.h.

Sockbuf int wasactive

Definition at line 859 of file proto-slap.h.

Definition at line 463 of file proto-slap.h.

const char* why

Definition at line 784 of file proto-slap.h.

Definition at line 1007 of file proto-slap.h.