diff options
-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. ********************************************************************/ |