From f531c369eb65ab9c0150bb1693a1b89006254a12 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 10 Sep 2013 01:19:05 +0200 Subject: net: rename "idmap_dump_ctx" to "net_idmap_ctx". This started specific, but is now generic. Signed-off-by: Michael Adam Reviewed-by: Volker Lendecke --- source3/utils/net_idmap.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3') diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c index 306b130f6e..b12039bde9 100644 --- a/source3/utils/net_idmap.c +++ b/source3/utils/net_idmap.c @@ -40,7 +40,7 @@ enum idmap_dump_backend { AUTORID }; -struct idmap_dump_ctx { +struct net_idmap_ctx { enum idmap_dump_backend backend; }; @@ -129,7 +129,7 @@ static int net_idmap_dump_one_tdb_entry(struct db_record *rec, } static const char* net_idmap_dbfile(struct net_context *c, - struct idmap_dump_ctx *ctx) + struct net_idmap_ctx *ctx) { const char* dbfile = NULL; const char *backend = NULL; @@ -190,7 +190,7 @@ static int net_idmap_dump(struct net_context *c, int argc, const char **argv) const char* dbfile; NTSTATUS status; int ret = -1; - struct idmap_dump_ctx ctx = { .backend = TDB }; + struct net_idmap_ctx ctx = { .backend = TDB }; if ( argc > 1 || c->display_usage) { d_printf("%s\n%s", @@ -292,7 +292,7 @@ static int net_idmap_restore(struct net_context *c, int argc, const char **argv) struct db_context *db; const char *dbfile = NULL; int ret = 0; - struct idmap_dump_ctx ctx = { .backend = TDB }; + struct net_idmap_ctx ctx = { .backend = TDB }; if (c->display_usage) { d_printf("%s\n%s", @@ -525,7 +525,7 @@ static int net_idmap_delete_mapping(struct net_context *c, int argc, TDB_DATA key; NTSTATUS status; const char* dbfile; - struct idmap_dump_ctx ctx = { .backend = TDB }; + struct net_idmap_ctx ctx = { .backend = TDB }; if ( !delete_args_ok(argc,argv) || c->display_usage) { d_printf("%s\n%s", @@ -714,7 +714,7 @@ static int net_idmap_check(struct net_context *c, int argc, const char **argv) { const char* dbfile; struct check_options opts; - struct idmap_dump_ctx ctx = { .backend = TDB }; + struct net_idmap_ctx ctx = { .backend = TDB }; if ( argc > 1 || c->display_usage) { d_printf("%s\n%s", -- cgit