diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-04-18 18:21:04 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-18 18:24:27 +1000 |
commit | 7aa4c11fc4c25df6ea25dfe28d3dca851b91f909 (patch) | |
tree | 90ec97e846d85a96717563bc50f5dad91f4035ea | |
parent | 1a73e967f594c739f7533fdce0e1c18579d0bf21 (diff) | |
download | samba-7aa4c11fc4c25df6ea25dfe28d3dca851b91f909.tar.gz samba-7aa4c11fc4c25df6ea25dfe28d3dca851b91f909.tar.bz2 samba-7aa4c11fc4c25df6ea25dfe28d3dca851b91f909.zip |
build: more adjustments for the ABI type name maps
- use 'va_list' instead of 'struct __va_list_tag *'
Using the C name for va_list is preferable
- add support for negative ABI name matches in abi_match=. That is
used to exlude ldb_*module_ops from the ldb ABI
- don't include the ldb module ops or backend ops in the ABI
-rw-r--r-- | buildtools/wafsamba/samba_abi.py | 16 | ||||
-rw-r--r-- | lib/talloc/ABI/talloc-2.0.2.sigs | 6 | ||||
-rw-r--r-- | lib/tevent/ABI/tevent-0.9.9.sigs | 2 | ||||
-rw-r--r-- | source4/lib/ldb/ABI/ldb-0.9.10.sigs | 11 | ||||
-rw-r--r-- | source4/lib/ldb/ABI/ldb-samba4-0.9.10.sigs | 53 | ||||
-rw-r--r-- | source4/lib/ldb/wscript | 2 |
6 files changed, 19 insertions, 71 deletions
diff --git a/buildtools/wafsamba/samba_abi.py b/buildtools/wafsamba/samba_abi.py index 6df3ac3187..e327e76d24 100644 --- a/buildtools/wafsamba/samba_abi.py +++ b/buildtools/wafsamba/samba_abi.py @@ -7,8 +7,7 @@ from TaskGen import feature, before, after # please add new type mappings into the list below abi_type_maps = { '_Bool' : 'bool', - '__va_list_tag' : 'va_list', - 'struct va_list' : 'va_list' + 'struct __va_list_tag *' : 'va_list' } def normalise_signature(sig): @@ -19,7 +18,14 @@ def normalise_signature(sig): sig = re.sub('0x[0-9a-f]+', '0xXXXX', sig) for t in abi_type_maps: - sig = re.sub('\\b%s\\b' % t, abi_type_maps[t], sig) + # we need to cope with non-word characters in mapped types + m = t + m = m.replace('*', '\*') + if m[-1].isalnum() or m[-1] == '_': + m += '\\b' + if m[0].isalnum() or m[0] == '_': + m = '\\b' + m + sig = re.sub(m, abi_type_maps[t], sig) return sig def normalise_varargs(sig): @@ -39,7 +45,9 @@ def parse_sigs(sigs, abi_match): if abi_match: matched = False for p in abi_match: - if fnmatch.fnmatch(sa[0], p): + if p[0] == '!' and fnmatch.fnmatch(sa[0], p[1:]): + break + elif fnmatch.fnmatch(sa[0], p): matched = True break if not matched: diff --git a/lib/talloc/ABI/talloc-2.0.2.sigs b/lib/talloc/ABI/talloc-2.0.2.sigs index b244fc1b8c..6e236d52ac 100644 --- a/lib/talloc/ABI/talloc-2.0.2.sigs +++ b/lib/talloc/ABI/talloc-2.0.2.sigs @@ -55,8 +55,8 @@ talloc_strndup_append_buffer: char *(char *, const char *, size_t) talloc_total_blocks: size_t (const void *) talloc_total_size: size_t (const void *) talloc_unlink: int (const void *, void *) -talloc_vasprintf: char *(const void *, const char *, struct va_list *) -talloc_vasprintf_append: char *(char *, const char *, struct va_list *) -talloc_vasprintf_append_buffer: char *(char *, const char *, struct va_list *) +talloc_vasprintf: char *(const void *, const char *, va_list) +talloc_vasprintf_append: char *(char *, const char *, va_list) +talloc_vasprintf_append_buffer: char *(char *, const char *, va_list) talloc_version_major: int (void) talloc_version_minor: int (void) diff --git a/lib/tevent/ABI/tevent-0.9.9.sigs b/lib/tevent/ABI/tevent-0.9.9.sigs index 9c9c7f98f3..9adaba579b 100644 --- a/lib/tevent/ABI/tevent-0.9.9.sigs +++ b/lib/tevent/ABI/tevent-0.9.9.sigs @@ -57,7 +57,7 @@ tevent_req_set_cancel_fn: void (struct tevent_req *, tevent_req_cancel_fn) tevent_req_set_endtime: bool (struct tevent_req *, struct tevent_context *, struct timeval) tevent_req_set_print_fn: void (struct tevent_req *, tevent_req_print_fn) tevent_set_abort_fn: void (void (*)(const char *)) -tevent_set_debug: int (struct tevent_context *, void (*)(void *, enum tevent_debug_level, const char *, struct va_list *), void *) +tevent_set_debug: int (struct tevent_context *, void (*)(void *, enum tevent_debug_level, const char *, va_list), void *) tevent_set_debug_stderr: int (struct tevent_context *) tevent_set_default_backend: void (const char *) tevent_signal_support: bool (struct tevent_context *) diff --git a/source4/lib/ldb/ABI/ldb-0.9.10.sigs b/source4/lib/ldb/ABI/ldb-0.9.10.sigs index 20d8bb80d1..012ac65bb7 100644 --- a/source4/lib/ldb/ABI/ldb-0.9.10.sigs +++ b/source4/lib/ldb/ABI/ldb-0.9.10.sigs @@ -1,7 +1,6 @@ ldb_add: int (struct ldb_context *, const struct ldb_message *) ldb_any_comparison: int (struct ldb_context *, void *, ldb_attr_handler_t, const struct ldb_val *, const struct ldb_val *) ldb_asprintf_errstring: void (struct ldb_context *, const char *, ...) -ldb_asq_module_ops: name = 0xXXXX "asq", init_context = 0xXXXX <asq_init>, search = 0xXXXX <asq_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_attr_casefold: char *(void *, const char *) ldb_attr_dn: int (const char *) ldb_attr_in_list: int (const char * const *, const char *) @@ -93,9 +92,6 @@ ldb_handler_copy: int (struct ldb_context *, void *, const struct ldb_val *, str ldb_handler_fold: int (struct ldb_context *, void *, const struct ldb_val *, struct ldb_val *) ldb_init: struct ldb_context *(TALLOC_CTX *, struct tevent_context *) ldb_init_module_chain: int (struct ldb_context *, struct ldb_module *) -ldb_ldap_backend_ops: name = 0xXXXX "ldap", connect_fn = 0xXXXX <lldb_connect> -ldb_ldapi_backend_ops: name = 0xXXXX "ldapi", connect_fn = 0xXXXX <lldb_connect> -ldb_ldaps_backend_ops: name = 0xXXXX "ldaps", connect_fn = 0xXXXX <lldb_connect> ldb_ldif_message_string: char *(struct ldb_context *, TALLOC_CTX *, enum ldb_changetype, const struct ldb_message *) ldb_ldif_read: struct ldb_ldif *(struct ldb_context *, int (*)(void *), void *) ldb_ldif_read_file: struct ldb_ldif *(struct ldb_context *, FILE *) @@ -162,13 +158,11 @@ ldb_next_remote_request: int (struct ldb_module *, struct ldb_request *) ldb_next_request: int (struct ldb_module *, struct ldb_request *) ldb_next_start_trans: int (struct ldb_module *) ldb_op_default_callback: int (struct ldb_request *, struct ldb_reply *) -ldb_paged_results_module_ops: name = 0xXXXX "paged_results", init_context = 0xXXXX <paged_request_init>, search = 0xXXXX <paged_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_parse_control_strings: struct ldb_control **(struct ldb_context *, void *, const char **) ldb_parse_tree: struct ldb_parse_tree *(void *, const char *) ldb_parse_tree_attr_replace: void (struct ldb_parse_tree *, const char *, const char *) ldb_parse_tree_copy_shallow: struct ldb_parse_tree *(TALLOC_CTX *, const struct ldb_parse_tree *) ldb_qsort: void (void * const, size_t, size_t, void *, ldb_qsort_cmp_fn_t) -ldb_rdn_name_module_ops: name = 0xXXXX "rdn_name", init_context = 0, search = 0, add = 0xXXXX <rdn_name_add>, modify = 0xXXXX <rdn_name_modify>, del = 0, rename = 0xXXXX <rdn_name_rename>, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_register_backend: int (const char *, ldb_connect_fn) ldb_register_module: int (const struct ldb_module_ops *) ldb_rename: int (struct ldb_context *, struct ldb_dn *, struct ldb_dn *) @@ -181,7 +175,6 @@ ldb_request_get_control: struct ldb_control *(struct ldb_request *, const char * ldb_request_get_status: int (struct ldb_request *) ldb_request_set_state: void (struct ldb_request *, int) ldb_reset_err_string: void (struct ldb_context *) -ldb_sample_module_ops: name = 0xXXXX "sample", init_context = 0, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_schema_attribute_add: int (struct ldb_context *, const char *, unsigned int, const char *) ldb_schema_attribute_add_with_syntax: int (struct ldb_context *, const char *, unsigned int, const struct ldb_schema_syntax *) ldb_schema_attribute_by_name: const struct ldb_schema_attribute *(struct ldb_context *, const char *) @@ -190,9 +183,8 @@ ldb_schema_attribute_set_override_handler: void (struct ldb_context *, ldb_attri ldb_search: int (struct ldb_context *, TALLOC_CTX *, struct ldb_result **, struct ldb_dn *, enum ldb_scope, const char * const *, const char *, ...) ldb_search_default_callback: int (struct ldb_request *, struct ldb_reply *) ldb_sequence_number: int (struct ldb_context *, enum ldb_sequence_type, uint64_t *) -ldb_server_sort_module_ops: name = 0xXXXX "server_sort", init_context = 0xXXXX <server_sort_init>, search = 0xXXXX <server_sort_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_set_create_perms: void (struct ldb_context *, unsigned int) -ldb_set_debug: int (struct ldb_context *, void (*)(void *, enum ldb_debug_level, const char *, struct va_list *), void *) +ldb_set_debug: int (struct ldb_context *, void (*)(void *, enum ldb_debug_level, const char *, va_list), void *) ldb_set_debug_stderr: int (struct ldb_context *) ldb_set_default_dns: void (struct ldb_context *) ldb_set_errstring: void (struct ldb_context *, const char *) @@ -206,7 +198,6 @@ ldb_set_utf8_default: void (struct ldb_context *) ldb_set_utf8_fns: void (struct ldb_context *, void *, char *(*)(void *, void *, const char *, size_t)) ldb_setup_wellknown_attributes: int (struct ldb_context *) ldb_should_b64_encode: int (struct ldb_context *, const struct ldb_val *) -ldb_skel_module_ops: name = 0xXXXX "skel", init_context = 0xXXXX <skel_init>, search = 0xXXXX <skel_search>, add = 0xXXXX <skel_add>, modify = 0xXXXX <skel_modify>, del = 0xXXXX <skel_delete>, rename = 0xXXXX <skel_rename>, request = 0xXXXX <skel_request>, extended = 0, start_transaction = 0xXXXX <skel_start_trans>, prepare_commit = 0, end_transaction = 0xXXXX <skel_end_trans>, del_transaction = 0xXXXX <skel_del_trans>, sequence_number = 0, private_data = 0xXXXX ldb_standard_syntax_by_name: const struct ldb_schema_syntax *(struct ldb_context *, const char *) ldb_strerror: const char *(int) ldb_string_to_time: time_t (const char *) diff --git a/source4/lib/ldb/ABI/ldb-samba4-0.9.10.sigs b/source4/lib/ldb/ABI/ldb-samba4-0.9.10.sigs index c5a920115d..7f9dbb5297 100644 --- a/source4/lib/ldb/ABI/ldb-samba4-0.9.10.sigs +++ b/source4/lib/ldb/ABI/ldb-samba4-0.9.10.sigs @@ -1,9 +1,6 @@ -ldb_acl_module_ops: name = 0xXXXX "acl", init_context = 0xXXXX <acl_module_init>, search = 0xXXXX <acl_search>, add = 0xXXXX <acl_add>, modify = 0xXXXX <acl_modify>, del = 0xXXXX <acl_delete>, rename = 0xXXXX <acl_rename>, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_add: int (struct ldb_context *, const struct ldb_message *) -ldb_anr_module_ops: name = 0xXXXX "anr", init_context = 0, search = 0xXXXX <anr_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_any_comparison: int (struct ldb_context *, void *, ldb_attr_handler_t, const struct ldb_val *, const struct ldb_val *) ldb_asprintf_errstring: void (struct ldb_context *, const char *, ...) -ldb_asq_module_ops: name = 0xXXXX "asq", init_context = 0xXXXX <asq_init>, search = 0xXXXX <asq_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_attr_casefold: char *(void *, const char *) ldb_attr_dn: int (const char *) ldb_attr_in_list: int (const char * const *, const char *) @@ -32,7 +29,6 @@ ldb_debug_add: void (struct ldb_context *, const char *, ...) ldb_debug_end: void (struct ldb_context *, enum ldb_debug_level) ldb_debug_set: void (struct ldb_context *, enum ldb_debug_level, const char *, ...) ldb_delete: int (struct ldb_context *, struct ldb_dn *) -ldb_descriptor_module_ops: name = 0xXXXX "descriptor", init_context = 0xXXXX <descriptor_init>, search = 0xXXXX <descriptor_search>, add = 0xXXXX <descriptor_change>, modify = 0xXXXX <descriptor_change>, del = 0, rename = 0xXXXX <descriptor_rename>, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_dn_add_base: bool (struct ldb_dn *, struct ldb_dn *) ldb_dn_add_base_fmt: bool (struct ldb_dn *, const char *, ...) ldb_dn_add_child: bool (struct ldb_dn *, struct ldb_dn *) @@ -77,17 +73,10 @@ ldb_dn_set_component: int (struct ldb_dn *, int, const char *, const struct ldb_ ldb_dn_set_extended_component: int (struct ldb_dn *, const char *, const struct ldb_val *) ldb_dn_update_components: int (struct ldb_dn *, const struct ldb_dn *) ldb_dn_validate: bool (struct ldb_dn *) -ldb_dsdb_cache_module_ops: name = 0xXXXX "dsdb_cache", init_context = 0xXXXX <dsdb_cache_init>, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_dump_results: void (struct ldb_context *, struct ldb_result *, FILE *) -ldb_entryuuid_module_ops: name = 0xXXXX "entryuuid", init_context = 0xXXXX <entryuuid_init>, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0xXXXX <entryuuid_extended>, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_errstring: const char *(struct ldb_context *) ldb_extended: int (struct ldb_context *, const char *, void *, struct ldb_result **) ldb_extended_default_callback: int (struct ldb_request *, struct ldb_reply *) -ldb_extended_dn_in_module_ops: name = 0xXXXX "extended_dn_in", init_context = 0, search = 0xXXXX <extended_dn_in_search>, add = 0, modify = 0xXXXX <extended_dn_in_modify>, del = 0xXXXX <extended_dn_in_del>, rename = 0xXXXX <extended_dn_in_rename>, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_extended_dn_out_fds_module_ops: name = 0xXXXX "extended_dn_out_fds", init_context = 0xXXXX <extended_dn_out_fds_init>, search = 0xXXXX <extended_dn_out_fds_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_extended_dn_out_ldb_module_ops: name = 0xXXXX "extended_dn_out_ldb", init_context = 0xXXXX <extended_dn_out_ldb_init>, search = 0xXXXX <extended_dn_out_ldb_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_extended_dn_out_openldap_module_ops: name = 0xXXXX "extended_dn_out_openldap", init_context = 0xXXXX <extended_dn_out_openldap_init>, search = 0xXXXX <extended_dn_out_openldap_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_extended_dn_store_module_ops: name = 0xXXXX "extended_dn_store", init_context = 0, search = 0, add = 0xXXXX <extended_dn_add>, modify = 0xXXXX <extended_dn_modify>, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_filter_from_tree: char *(void *, struct ldb_parse_tree *) ldb_get_config_basedn: struct ldb_dn *(struct ldb_context *) ldb_get_create_perms: unsigned int (struct ldb_context *) @@ -103,12 +92,6 @@ ldb_handler_copy: int (struct ldb_context *, void *, const struct ldb_val *, str ldb_handler_fold: int (struct ldb_context *, void *, const struct ldb_val *, struct ldb_val *) ldb_init: struct ldb_context *(TALLOC_CTX *, struct tevent_context *) ldb_init_module_chain: int (struct ldb_context *, struct ldb_module *) -ldb_instancetype_module_ops: name = 0xXXXX "instancetype", init_context = 0, search = 0, add = 0xXXXX <instancetype_add>, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_kludge_acl_module_ops: name = 0xXXXX "kludge_acl", init_context = 0xXXXX <kludge_acl_init>, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0xXXXX <kludge_acl_extended>, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_lazy_commit_module_ops: name = 0xXXXX "lazy_commit", init_context = 0xXXXX <unlazy_init>, search = 0xXXXX <unlazy_op>, add = 0xXXXX <unlazy_op>, modify = 0xXXXX <unlazy_op>, del = 0xXXXX <unlazy_op>, rename = 0xXXXX <unlazy_op>, request = 0xXXXX <unlazy_op>, extended = 0xXXXX <unlazy_op>, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_ldap_backend_ops: name = 0xXXXX "ldap", connect_fn = 0xXXXX <ildb_connect> -ldb_ldapi_backend_ops: name = 0xXXXX "ldapi", connect_fn = 0xXXXX <ildb_connect> -ldb_ldaps_backend_ops: name = 0xXXXX "ldaps", connect_fn = 0xXXXX <ildb_connect> ldb_ldif_message_string: char *(struct ldb_context *, TALLOC_CTX *, enum ldb_changetype, const struct ldb_message *) ldb_ldif_read: struct ldb_ldif *(struct ldb_context *, int (*)(void *), void *) ldb_ldif_read_file: struct ldb_ldif *(struct ldb_context *, FILE *) @@ -117,10 +100,8 @@ ldb_ldif_read_string: struct ldb_ldif *(struct ldb_context *, const char **) ldb_ldif_write: int (struct ldb_context *, int (*)(void *, const char *, ...), void *, const struct ldb_ldif *) ldb_ldif_write_file: int (struct ldb_context *, FILE *, const struct ldb_ldif *) ldb_ldif_write_string: char *(struct ldb_context *, TALLOC_CTX *, const struct ldb_ldif *) -ldb_linked_attributes_module_ops: name = 0xXXXX "linked_attributes", init_context = 0, search = 0, add = 0, modify = 0, del = 0, rename = 0xXXXX <linked_attributes_rename>, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_load_modules: int (struct ldb_context *, const char **) ldb_load_modules_list: int (struct ldb_context *, const char **, struct ldb_module *, struct ldb_module **) -ldb_local_password_module_ops: name = 0xXXXX "local_password", init_context = 0, search = 0xXXXX <local_password_search>, add = 0xXXXX <local_password_add>, modify = 0xXXXX <local_password_modify>, del = 0xXXXX <local_password_delete>, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_map_init: int (struct ldb_module *, const struct ldb_map_attribute *, const struct ldb_map_objectclass *, const char * const *, const char *, const char *) ldb_match_msg: int (struct ldb_context *, const struct ldb_message *, const struct ldb_parse_tree *, struct ldb_dn *, enum ldb_scope) ldb_match_msg_objectclass: int (const struct ldb_message *, const char *) @@ -169,8 +150,6 @@ ldb_msg_remove_element: void (struct ldb_message *, struct ldb_message_element * ldb_msg_rename_attr: int (struct ldb_message *, const char *, const char *) ldb_msg_sanity_check: int (struct ldb_context *, const struct ldb_message *) ldb_msg_sort_elements: void (struct ldb_message *) -ldb_naming_fsmo_module_ops: name = 0xXXXX "naming_fsmo", init_context = 0xXXXX <naming_fsmo_init>, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_new_partition_module_ops: name = 0xXXXX "new_partition", init_context = 0, search = 0, add = 0xXXXX <new_partition_add>, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_next_del_trans: int (struct ldb_module *) ldb_next_end_trans: int (struct ldb_module *) ldb_next_init: int (struct ldb_module *) @@ -178,28 +157,16 @@ ldb_next_prepare_commit: int (struct ldb_module *) ldb_next_remote_request: int (struct ldb_module *, struct ldb_request *) ldb_next_request: int (struct ldb_module *, struct ldb_request *) ldb_next_start_trans: int (struct ldb_module *) -ldb_nsuniqueid_module_ops: name = 0xXXXX "nsuniqueid", init_context = 0xXXXX <nsuniqueid_init>, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0xXXXX <entryuuid_extended>, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_objectclass_module_ops: name = 0xXXXX "objectclass", init_context = 0xXXXX <objectclass_init>, search = 0, add = 0xXXXX <objectclass_add>, modify = 0xXXXX <objectclass_modify>, del = 0, rename = 0xXXXX <objectclass_rename>, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_objectguid_module_ops: name = 0xXXXX "objectguid", init_context = 0, search = 0, add = 0xXXXX <objectguid_add>, modify = 0xXXXX <objectguid_modify>, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_op_default_callback: int (struct ldb_request *, struct ldb_reply *) -ldb_operational_module_ops: name = 0xXXXX "operational", init_context = 0xXXXX <operational_init>, search = 0xXXXX <operational_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_paged_results_module_ops: name = 0xXXXX "paged_results", init_context = 0xXXXX <paged_request_init>, search = 0xXXXX <paged_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_paged_searches_module_ops: name = 0xXXXX "paged_searches", init_context = 0xXXXX <ps_init>, search = 0xXXXX <ps_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_parse_control_strings: struct ldb_control **(struct ldb_context *, void *, const char **) ldb_parse_tree: struct ldb_parse_tree *(void *, const char *) ldb_parse_tree_attr_replace: void (struct ldb_parse_tree *, const char *, const char *) ldb_parse_tree_copy_shallow: struct ldb_parse_tree *(TALLOC_CTX *, const struct ldb_parse_tree *) -ldb_partition_module_ops: name = 0xXXXX "partition", init_context = 0, search = 0xXXXX <partition_search>, add = 0xXXXX <partition_add>, modify = 0xXXXX <partition_modify>, del = 0xXXXX <partition_delete>, rename = 0xXXXX <partition_rename>, request = 0, extended = 0xXXXX <partition_extended>, start_transaction = 0xXXXX <partition_start_trans>, prepare_commit = 0xXXXX <partition_prepare_commit>, end_transaction = 0xXXXX <partition_end_trans>, del_transaction = 0xXXXX <partition_del_trans>, sequence_number = 0, private_data = 0xXXXX -ldb_password_hash_module_ops: name = 0xXXXX "password_hash", init_context = 0, search = 0, add = 0xXXXX <password_hash_add>, modify = 0xXXXX <password_hash_modify>, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_pdc_fsmo_module_ops: name = 0xXXXX "pdc_fsmo", init_context = 0xXXXX <pdc_fsmo_init>, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_qsort: void (void * const, size_t, size_t, void *, ldb_qsort_cmp_fn_t) -ldb_ranged_results_module_ops: name = 0xXXXX "ranged_results", init_context = 0, search = 0xXXXX <rr_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_rdn_name_module_ops: name = 0xXXXX "rdn_name", init_context = 0, search = 0, add = 0xXXXX <rdn_name_add>, modify = 0xXXXX <rdn_name_modify>, del = 0, rename = 0xXXXX <rdn_name_rename>, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_register_backend: int (const char *, ldb_connect_fn) ldb_register_module: int (const struct ldb_module_ops *) ldb_register_samba_handlers: int (struct ldb_context *) ldb_rename: int (struct ldb_context *, struct ldb_dn *, struct ldb_dn *) -ldb_repl_meta_data_module_ops: name = 0xXXXX "repl_meta_data", init_context = 0xXXXX <replmd_init>, search = 0, add = 0xXXXX <replmd_add>, modify = 0xXXXX <replmd_modify>, del = 0xXXXX <replmd_delete>, rename = 0xXXXX <replmd_rename>, request = 0, extended = 0xXXXX <replmd_extended>, start_transaction = 0xXXXX <replmd_start_transaction>, prepare_commit = 0xXXXX <replmd_prepare_commit>, end_transaction = 0, del_transaction = 0xXXXX <replmd_del_transaction>, sequence_number = 0, private_data = 0xXXXX ldb_reply_add_control: int (struct ldb_reply *, const char *, bool, void *) ldb_reply_get_control: struct ldb_control *(struct ldb_reply *, const char *) ldb_request: int (struct ldb_context *, struct ldb_request *) @@ -209,29 +176,18 @@ ldb_request_get_control: struct ldb_control *(struct ldb_request *, const char * ldb_request_get_status: int (struct ldb_request *) ldb_request_set_state: void (struct ldb_request *, int) ldb_reset_err_string: void (struct ldb_context *) -ldb_resolve_oids_module_ops: name = 0xXXXX "resolve_oids", init_context = 0, search = 0xXXXX <resolve_oids_search>, add = 0xXXXX <resolve_oids_add>, modify = 0xXXXX <resolve_oids_modify>, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_rootdse_module_ops: name = 0xXXXX "rootdse", init_context = 0xXXXX <rootdse_init>, search = 0xXXXX <rootdse_search>, add = 0, modify = 0xXXXX <rootdse_modify>, del = 0, rename = 0, request = 0xXXXX <rootdse_request>, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_samba3sam_module_ops: name = 0xXXXX "samba3sam", init_context = 0xXXXX <samba3sam_init>, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_samba3sid_module_ops: name = 0xXXXX "samba3sid", init_context = 0, search = 0, add = 0xXXXX <samba3sid_add>, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_samba_dsdb_module_ops: name = 0xXXXX "samba_dsdb", init_context = 0xXXXX <samba_dsdb_init>, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_samba_secrets_module_ops: name = 0xXXXX "samba_secrets", init_context = 0xXXXX <samba_secrets_init>, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_samba_syntax_by_lDAPDisplayName: const struct ldb_schema_syntax *(struct ldb_context *, const char *) ldb_samba_syntax_by_name: const struct ldb_schema_syntax *(struct ldb_context *, const char *) -ldb_samldb_module_ops: name = 0xXXXX "samldb", init_context = 0, search = 0, add = 0xXXXX <samldb_add>, modify = 0xXXXX <samldb_modify>, del = 0xXXXX <samldb_delete>, rename = 0, request = 0, extended = 0xXXXX <samldb_extended>, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_sample_module_ops: name = 0xXXXX "sample", init_context = 0, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_schema_attribute_add: int (struct ldb_context *, const char *, unsigned int, const char *) ldb_schema_attribute_add_with_syntax: int (struct ldb_context *, const char *, unsigned int, const struct ldb_schema_syntax *) ldb_schema_attribute_by_name: const struct ldb_schema_attribute *(struct ldb_context *, const char *) ldb_schema_attribute_remove: void (struct ldb_context *, const char *) ldb_schema_attribute_set_override_handler: void (struct ldb_context *, ldb_attribute_handler_override_fn_t, void *) -ldb_schema_data_module_ops: name = 0xXXXX "schema_data", init_context = 0xXXXX <schema_data_init>, search = 0xXXXX <schema_data_search>, add = 0xXXXX <schema_data_add>, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_schema_load_module_ops: name = 0xXXXX "schema_load", init_context = 0xXXXX <schema_load_init>, search = 0, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0xXXXX <schema_load_extended>, start_transaction = 0xXXXX <schema_load_start_transaction>, prepare_commit = 0xXXXX <schema_load_prepare_commit>, end_transaction = 0, del_transaction = 0xXXXX <schema_load_del_transaction>, sequence_number = 0, private_data = 0xXXXX ldb_search: int (struct ldb_context *, TALLOC_CTX *, struct ldb_result **, struct ldb_dn *, enum ldb_scope, const char * const *, const char *, ...) ldb_search_default_callback: int (struct ldb_request *, struct ldb_reply *) ldb_sequence_number: int (struct ldb_context *, enum ldb_sequence_type, uint64_t *) -ldb_server_sort_module_ops: name = 0xXXXX "server_sort", init_context = 0xXXXX <server_sort_init>, search = 0xXXXX <server_sort_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_set_create_perms: void (struct ldb_context *, unsigned int) -ldb_set_debug: int (struct ldb_context *, void (*)(void *, enum ldb_debug_level, const char *, struct va_list *), void *) +ldb_set_debug: int (struct ldb_context *, void (*)(void *, enum ldb_debug_level, const char *, va_list), void *) ldb_set_debug_stderr: int (struct ldb_context *) ldb_set_default_dns: void (struct ldb_context *) ldb_set_errstring: void (struct ldb_context *, const char *) @@ -245,14 +201,10 @@ ldb_set_utf8_default: void (struct ldb_context *) ldb_set_utf8_fns: void (struct ldb_context *, void *, char *(*)(void *, void *, const char *, size_t)) ldb_setup_wellknown_attributes: int (struct ldb_context *) ldb_should_b64_encode: int (struct ldb_context *, const struct ldb_val *) -ldb_show_deleted_module_ops: name = 0xXXXX "show_deleted", init_context = 0xXXXX <show_deleted_init>, search = 0xXXXX <show_deleted_search>, add = 0, modify = 0, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_skel_module_ops: name = 0xXXXX "skel", init_context = 0xXXXX <skel_init>, search = 0xXXXX <skel_search>, add = 0xXXXX <skel_add>, modify = 0xXXXX <skel_modify>, del = 0xXXXX <skel_delete>, rename = 0xXXXX <skel_rename>, request = 0xXXXX <skel_request>, extended = 0, start_transaction = 0xXXXX <skel_start_trans>, prepare_commit = 0, end_transaction = 0xXXXX <skel_end_trans>, del_transaction = 0xXXXX <skel_del_trans>, sequence_number = 0, private_data = 0xXXXX ldb_standard_syntax_by_name: const struct ldb_schema_syntax *(struct ldb_context *, const char *) ldb_strerror: const char *(int) ldb_string_to_time: time_t (const char *) ldb_string_utc_to_time: time_t (const char *) -ldb_subtree_delete_module_ops: name = 0xXXXX "subtree_delete", init_context = 0, search = 0, add = 0, modify = 0, del = 0xXXXX <subtree_delete>, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX -ldb_subtree_rename_module_ops: name = 0xXXXX "subtree_rename", init_context = 0, search = 0, add = 0, modify = 0, del = 0, rename = 0xXXXX <subtree_rename>, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_timestring: char *(TALLOC_CTX *, time_t) ldb_timestring_utc: char *(TALLOC_CTX *, time_t) ldb_transaction_cancel: int (struct ldb_context *) @@ -260,15 +212,12 @@ ldb_transaction_cancel_noerr: int (struct ldb_context *) ldb_transaction_commit: int (struct ldb_context *) ldb_transaction_prepare_commit: int (struct ldb_context *) ldb_transaction_start: int (struct ldb_context *) -ldb_update_keytab_module_ops: name = 0xXXXX "update_keytab", init_context = 0xXXXX <update_kt_init>, search = 0, add = 0xXXXX <update_kt_add>, modify = 0xXXXX <update_kt_modify>, del = 0xXXXX <update_kt_delete>, rename = 0xXXXX <update_kt_rename>, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0xXXXX <update_kt_prepare_commit>, end_transaction = 0, del_transaction = 0xXXXX <update_kt_del_trans>, sequence_number = 0, private_data = 0xXXXX ldb_val_dup: struct ldb_val (void *, const struct ldb_val *) ldb_val_equal_exact: int (const struct ldb_val *, const struct ldb_val *) ldb_val_map_local: struct ldb_val (struct ldb_module *, void *, const struct ldb_map_attribute *, const struct ldb_val *) ldb_val_map_remote: struct ldb_val (struct ldb_module *, void *, const struct ldb_map_attribute *, const struct ldb_val *) ldb_val_to_time: int (const struct ldb_val *, time_t *) ldb_valid_attr_name: int (const char *) -ldb_validate_update_module_ops: name = 0xXXXX "validate_update", init_context = 0, search = 0, add = 0xXXXX <validate_update_add>, modify = 0xXXXX <validate_update_modify>, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_wait: int (struct ldb_handle *, enum ldb_wait_type) -ldb_wins_ldb_module_ops: name = 0xXXXX "wins_ldb", init_context = 0xXXXX <wins_ldb_init>, search = 0, add = 0xXXXX <wins_ldb_verify>, modify = 0xXXXX <wins_ldb_verify>, del = 0, rename = 0, request = 0, extended = 0, start_transaction = 0, prepare_commit = 0, end_transaction = 0, del_transaction = 0, sequence_number = 0, private_data = 0xXXXX ldb_wrap_connect: struct ldb_context *(TALLOC_CTX *, struct tevent_context *, struct loadparm_context *, const char *, struct auth_session_info *, struct cli_credentials *, unsigned int) ldb_wrap_fork_hook: void (void) diff --git a/source4/lib/ldb/wscript b/source4/lib/ldb/wscript index cc0f218b8f..3348070b50 100644 --- a/source4/lib/ldb/wscript +++ b/source4/lib/ldb/wscript @@ -164,7 +164,7 @@ def build(bld): pc_files='ldb.pc', cflags='-DLDB_MODULESDIR=\"%s\"' % modules_dir, abi_file=abi_file, - abi_match='ldb_*', + abi_match='!ldb_*module_ops !ldb_*backend_ops ldb_*', vnum=VERSION) bld.SAMBA_SUBSYSTEM('LIBLDB_CMDLINE', |