Package libldb-devel

Developer tools for the LDB library

http://ldb.samba.org/

Header files needed to develop programs that link against the LDB library.

Library Functions (Section 3)
ldb
ldb is a light weight embedded database library and API. With a programming interface that is very similar to LDAP, ldb can store its data either in a tdb(3)...
ldb_add
Data Fieldsconst struct ldb_message * message
ldb_asq_control
Data Fieldsint request char * source_attribute int src_attr_len int result
ldb_backend_ops
Data Fieldsconst char * name ldb_connect_fn connect_fn
ldb_context
Examples: ldbreader.c, and ldifreader.c.
ldb_context_ldb_extended_match_entry
Data Fieldsconst struct ldb_extended_match_rule * rule struct ldb_extended_match_entry * prev struct ldb_extended_match_entry * next
ldb_context_ldb_opaque
Data Fieldsstruct ldb_opaque * next const char * name void * value
ldb_control
Data Fieldsconst char * oid int critical void * data
ldb_debug_ops
the user can optionally supply a debug function. The function is based on the vfprintf() style of interface, but with the addition of a severity level
ldb_delete
Data Fieldsstruct ldb_dn * dn
ldb_dirsync_control
Data Fieldsint flags int max_attributes int cookie_len char * cookie
ldb_dn_extended_syntax
Data Fieldsconst char * name ldb_attr_handler_t read_fn ldb_attr_handler_t write_clear_fn ldb_attr_handler_t write_hex_fn
ldb_errors.h
This header provides a set of result codes for LDB function calls. Many LDB function calls return an integer value (int). As shown in the function...
ldb_extended
Data Fieldsconst char * oid void * data
ldb_extended_dn_control
Data Fieldsint type
ldb_extended_match_rule
Data Fieldsconst char * oid int(* callback )(struct ldb_context *, const char *oid, const struct ldb_message *, const char *, const struct ldb_val *, bool *)
ldb.h
Samba's ldb database. This header file provides the main API for ldb.
ldb_handle
Data Fieldsint status enum ldb_state state struct ldb_context * ldb unsigned flags uint32_t custom_flags unsigned nesting struct ldb_request * parent const char...
ldb_ldif
LDIF record. This structure contains a LDIF record, as returned from ldif_read() and equivalent functions. Examples: ldbreader.c, and ldifreader.c.
ldb_message
a ldb_message represents all or part of a record. It can contain an arbitrary number of elements.
ldb_message_element
results are given back as arrays of ldb_message_element
ldb_modify
Data Fieldsconst struct ldb_message * message
ldb_module
Data Fieldsstruct ldb_module * prev struct ldb_module * next struct ldb_context * ldb void * private_data const struct ldb_module_ops * ops
ldb_module_ops
Data Fieldsconst char * name int(* init_context )(struct ldb_module *) int(* search )(struct ldb_module *, struct ldb_request *) int(* add )(struct ldb_module...
ldb_paged_control
Data Fieldsint size int cookie_len char * cookie
ldb_parse_tree
Data Fieldsenum ldb_parse_op operation union { struct { struct ldb_parse_tree * child } isnot struct { const char * attr struct ldb_val value } equality struct...
ldb_register_control
Data Fieldsconst char * oid
ldb_register_partition
Data Fieldsstruct ldb_dn * dn
ldb_rename
Data Fieldsstruct ldb_dn * olddn struct ldb_dn * newdn
ldb_reply
Data Fieldsint error enum ldb_reply_type type struct ldb_message * message struct ldb_extended * response struct ldb_control ** controls char * referral
ldb_request
Data Fieldsenum ldb_request_type operation union { struct ldb_search search struct ldb_add add struct ldb_modify mod struct ldb_delete del struct ldb_rename...
ldb_result
Examples: ldbreader.c.
ldb_schema
Data Fieldsvoid * attribute_handler_override_private ldb_attribute_handler_override_fn_t attribute_handler_override unsigned num_attributes struct...
ldb_schema_attribute
Data Fieldsconst char * name unsigned flags const struct ldb_schema_syntax * syntax
ldb_schema_syntax
Data Fieldsconst char * name ldb_attr_handler_t ldif_read_fn ldb_attr_handler_t ldif_write_fn ldb_attr_handler_t canonicalise_fn ldb_attr_comparison_t...
ldb_sd_flags_control
Data Fieldsunsigned secinfo_flags
ldb_search
Data Fieldsstruct ldb_dn * base enum ldb_scope scope struct ldb_parse_tree * tree const char *const * attrs struct ldb_result * res
ldb_search_options_control
Data Fieldsunsigned search_options
ldb_seqnum_request
Data Fieldsenum ldb_sequence_type type
ldb_seqnum_result
Data Fieldsuint64_t seq_num uint32_t flags
ldb_server_sort_control
Data Fieldsconst char * attributeName const char * orderingRule int reverse
ldb_sort_resp_control
Data Fieldsint result char * attr_desc
ldb_utf8_fns
The user can optionally supply a custom utf8 functions, to handle comparisons and casefolding.
ldb_val
Result value. An individual lump of data in a result comes in this format. The pointer will usually be to a UTF-8 string if the application is sensible, but it...
ldb_verify_name_control
Data Fieldsint flags size_t gc_len char * gc
ldb_vlv_req_control
Data Fieldsint beforeCount int afterCount int type union { struct { int offset int contentCount } byOffset struct { int value_len char * value } gtOrEq } match...
ldb_vlv_resp_control
Data Fieldsint targetPosition int contentCount int vlv_result int ctxid_len uint8_t * contextId
ldif_read_file_state
Data FieldsFILE * f size_t line_no