diff options
author | Günther Deschner <gd@samba.org> | 2008-12-06 01:41:38 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-01-06 16:02:11 +0100 |
commit | 0b26f84542dd61bb4af4843d46421fe16ecc70e9 (patch) | |
tree | cb63e0e0b0396abae09cb2de44f3de1e5c88e8d0 | |
parent | 05784d0fa865d630bf85f84f3797a53ed1e1a6db (diff) | |
download | samba-0b26f84542dd61bb4af4843d46421fe16ecc70e9.tar.gz samba-0b26f84542dd61bb4af4843d46421fe16ecc70e9.tar.bz2 samba-0b26f84542dd61bb4af4843d46421fe16ecc70e9.zip |
s3-samr: remove all init_samr_group* functions.
Guenther
-rw-r--r-- | source3/include/proto.h | 14 | ||||
-rw-r--r-- | source3/rpc_client/init_samr.c | 70 |
2 files changed, 0 insertions, 84 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 5404b50c5b..f881dae5fa 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5572,20 +5572,6 @@ void init_netr_CryptPassword(const char *pwd, /* The following definitions come from rpc_client/init_samr.c */ -void init_samr_group_info1(struct samr_GroupInfoAll *r, - const char *name, - uint32_t attributes, - uint32_t num_members, - const char *description); -void init_samr_group_info2(struct lsa_String *r, const char *group_name); -void init_samr_group_info3(struct samr_GroupInfoAttributes *r, - uint32_t attributes); -void init_samr_group_info4(struct lsa_String *r, const char *description); -void init_samr_group_info5(struct samr_GroupInfoAll *r, - const char *name, - uint32_t attributes, - uint32_t num_members, - const char *description); void init_samr_alias_info1(struct samr_AliasInfoAll *r, const char *name, uint32_t num_members, diff --git a/source3/rpc_client/init_samr.c b/source3/rpc_client/init_samr.c index c407d9e2b9..f99d011d5b 100644 --- a/source3/rpc_client/init_samr.c +++ b/source3/rpc_client/init_samr.c @@ -20,76 +20,6 @@ #include "includes.h" /******************************************************************* - inits a samr_GroupInfoAll structure. -********************************************************************/ - -void init_samr_group_info1(struct samr_GroupInfoAll *r, - const char *name, - uint32_t attributes, - uint32_t num_members, - const char *description) -{ - DEBUG(5, ("init_samr_group_info1\n")); - - init_lsa_String(&r->name, name); - r->attributes = attributes; - r->num_members = num_members; - init_lsa_String(&r->description, description); -} - -/******************************************************************* - inits a lsa_String structure -********************************************************************/ - -void init_samr_group_info2(struct lsa_String *r, const char *group_name) -{ - DEBUG(5, ("init_samr_group_info2\n")); - - init_lsa_String(r, group_name); -} - -/******************************************************************* - inits a samr_GroupInfoAttributes structure. -********************************************************************/ - -void init_samr_group_info3(struct samr_GroupInfoAttributes *r, - uint32_t attributes) -{ - DEBUG(5, ("init_samr_group_info3\n")); - - r->attributes = attributes; -} - -/******************************************************************* - inits a lsa_String structure -********************************************************************/ - -void init_samr_group_info4(struct lsa_String *r, const char *description) -{ - DEBUG(5, ("init_samr_group_info4\n")); - - init_lsa_String(r, description); -} - -/******************************************************************* - inits a samr_GroupInfoAll structure. -********************************************************************/ - -void init_samr_group_info5(struct samr_GroupInfoAll *r, - const char *name, - uint32_t attributes, - uint32_t num_members, - const char *description) -{ - DEBUG(5, ("init_samr_group_info5\n")); - - init_lsa_String(&r->name, name); - r->attributes = attributes; - r->num_members = num_members; - init_lsa_String(&r->description, description); -} - -/******************************************************************* inits a samr_AliasInfoAll structure. ********************************************************************/ |