diff options
author | Michael Adam <obnox@samba.org> | 2013-09-10 01:19:05 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-10-02 00:06:31 +0200 |
commit | f531c369eb65ab9c0150bb1693a1b89006254a12 (patch) | |
tree | 058d4e028e8ca63ca6ca350932eadc620751c080 /source3 | |
parent | 29a94b0e1b9f7bb5824df5d66337a6b26a86a343 (diff) | |
download | samba-f531c369eb65ab9c0150bb1693a1b89006254a12.tar.gz samba-f531c369eb65ab9c0150bb1693a1b89006254a12.tar.bz2 samba-f531c369eb65ab9c0150bb1693a1b89006254a12.zip |
net: rename "idmap_dump_ctx" to "net_idmap_ctx".
This started specific, but is now generic.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/utils/net_idmap.c | 12 |
1 files changed, 6 insertions, 6 deletions
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", |