summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-04-28 07:05:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:51:36 -0500
commit6411aa483f9233af098b4893ad67ebd2fd9d5868 (patch)
tree53f33042ccebca4bb02187d44255a4a5da28f222 /source4/lib/ldb/include/ldb.h
parentee0489fff69533d04318de249aabd8d1d021d285 (diff)
downloadsamba-6411aa483f9233af098b4893ad67ebd2fd9d5868.tar.gz
samba-6411aa483f9233af098b4893ad67ebd2fd9d5868.tar.bz2
samba-6411aa483f9233af098b4893ad67ebd2fd9d5868.zip
r381: make the code more C++ friendly
(This used to be commit 8acecc7f27e25ab876fffffe43ae75b5f77aff77)
Diffstat (limited to 'source4/lib/ldb/include/ldb.h')
-rw-r--r--source4/lib/ldb/include/ldb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index dc1b1d7732..d010d8dd40 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -128,7 +128,7 @@ struct ldb_backend_ops {
int (*search_free)(struct ldb_context *, struct ldb_message **);
int (*add)(struct ldb_context *, const struct ldb_message *);
int (*modify)(struct ldb_context *, const struct ldb_message *);
- int (*delete)(struct ldb_context *, const char *);
+ int (*delete_record)(struct ldb_context *, const char *);
const char * (*errstring)(struct ldb_context *);
};
@@ -137,7 +137,7 @@ struct ldb_backend_ops {
*/
struct ldb_context {
/* a private pointer for the backend to use */
- void *private;
+ void *private_data;
/* the operations provided by the backend */
const struct ldb_backend_ops *ops;