summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-18 00:30:22 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-12-18 00:47:06 +0100
commite338bbd45030cade0c540d5ea71f60f899143c09 (patch)
tree535b738bd20fcc2f39a62786548c0a8cbf0ab2c6 /source4
parent24faeab4c5f97930cced7590fabfa6361402344b (diff)
downloadsamba-e338bbd45030cade0c540d5ea71f60f899143c09.tar.gz
samba-e338bbd45030cade0c540d5ea71f60f899143c09.tar.bz2
samba-e338bbd45030cade0c540d5ea71f60f899143c09.zip
ldb_map: Fix prefix for map functions.
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/ldb/ldb_map/ldb_map.h20
-rw-r--r--source4/lib/ldb/ldb_map/ldb_map_inbound.c8
-rw-r--r--source4/lib/ldb/ldb_map/ldb_map_outbound.c2
3 files changed, 15 insertions, 15 deletions
diff --git a/source4/lib/ldb/ldb_map/ldb_map.h b/source4/lib/ldb/ldb_map/ldb_map.h
index 21937bcfb3..5db3e02a08 100644
--- a/source4/lib/ldb/ldb_map/ldb_map.h
+++ b/source4/lib/ldb/ldb_map/ldb_map.h
@@ -157,17 +157,17 @@ int ldb_map_init(struct ldb_module *module, const struct ldb_map_attribute *attr
const char *add_objectclass,
const char *name);
-int map_add(struct ldb_module *module, struct ldb_request *req);
-int map_search(struct ldb_module *module, struct ldb_request *req);
-int map_rename(struct ldb_module *module, struct ldb_request *req);
-int map_delete(struct ldb_module *module, struct ldb_request *req);
-int map_modify(struct ldb_module *module, struct ldb_request *req);
+int ldb_map_add(struct ldb_module *module, struct ldb_request *req);
+int ldb_map_search(struct ldb_module *module, struct ldb_request *req);
+int ldb_map_rename(struct ldb_module *module, struct ldb_request *req);
+int ldb_map_delete(struct ldb_module *module, struct ldb_request *req);
+int ldb_map_modify(struct ldb_module *module, struct ldb_request *req);
#define LDB_MAP_OPS \
- .add = map_add, \
- .modify = map_modify, \
- .del = map_delete, \
- .rename = map_rename, \
- .search = map_search,
+ .add = ldb_map_add, \
+ .modify = ldb_map_modify, \
+ .del = ldb_map_delete, \
+ .rename = ldb_map_rename, \
+ .search = ldb_map_search,
#endif /* __LDB_MAP_H__ */
diff --git a/source4/lib/ldb/ldb_map/ldb_map_inbound.c b/source4/lib/ldb/ldb_map/ldb_map_inbound.c
index da537996d2..b61037222a 100644
--- a/source4/lib/ldb/ldb_map/ldb_map_inbound.c
+++ b/source4/lib/ldb/ldb_map/ldb_map_inbound.c
@@ -359,7 +359,7 @@ static int map_op_remote_callback(struct ldb_request *req,
/* Add a record. */
-int map_add(struct ldb_module *module, struct ldb_request *req)
+int ldb_map_add(struct ldb_module *module, struct ldb_request *req)
{
const struct ldb_message *msg = req->op.add.message;
struct ldb_context *ldb;
@@ -466,7 +466,7 @@ static int map_add_do_local(struct map_context *ac)
*****************************************************************************/
/* Modify a record. */
-int map_modify(struct ldb_module *module, struct ldb_request *req)
+int ldb_map_modify(struct ldb_module *module, struct ldb_request *req)
{
const struct ldb_message *msg = req->op.mod.message;
struct ldb_request *search_req;
@@ -602,7 +602,7 @@ static int map_modify_do_local(struct map_context *ac)
*****************************************************************************/
/* Delete a record. */
-int map_delete(struct ldb_module *module, struct ldb_request *req)
+int ldb_map_delete(struct ldb_module *module, struct ldb_request *req)
{
struct ldb_request *search_req;
struct ldb_context *ldb;
@@ -690,7 +690,7 @@ static int map_delete_do_local(struct map_context *ac)
*****************************************************************************/
/* Rename a record. */
-int map_rename(struct ldb_module *module, struct ldb_request *req)
+int ldb_map_rename(struct ldb_module *module, struct ldb_request *req)
{
struct ldb_request *search_req;
struct ldb_context *ldb;
diff --git a/source4/lib/ldb/ldb_map/ldb_map_outbound.c b/source4/lib/ldb/ldb_map/ldb_map_outbound.c
index 206dbd0a82..2c517a625d 100644
--- a/source4/lib/ldb/ldb_map/ldb_map_outbound.c
+++ b/source4/lib/ldb/ldb_map/ldb_map_outbound.c
@@ -1114,7 +1114,7 @@ int map_return_entry(struct map_context *ac, struct ldb_reply *ares)
}
/* Search a record. */
-int map_search(struct ldb_module *module, struct ldb_request *req)
+int ldb_map_search(struct ldb_module *module, struct ldb_request *req)
{
struct ldb_parse_tree *remote_tree;
struct ldb_parse_tree *local_tree;