From be8c5323526b7e2a5306324d74120ebaec601baf Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 6 Dec 2008 01:44:54 +0100 Subject: s3-samr: remove all init_samr_alias* functions. Guenther --- source3/include/proto.h | 6 ------ source3/rpc_client/init_samr.c | 28 ---------------------------- 2 files changed, 34 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index f881dae5fa..9c81cd7d8b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5572,12 +5572,6 @@ void init_netr_CryptPassword(const char *pwd, /* The following definitions come from rpc_client/init_samr.c */ -void init_samr_alias_info1(struct samr_AliasInfoAll *r, - const char *name, - uint32_t num_members, - const char *description); -void init_samr_alias_info3(struct lsa_String *r, - const char *description); void init_samr_CryptPasswordEx(const char *pwd, DATA_BLOB *session_key, struct samr_CryptPasswordEx *pwd_buf); diff --git a/source3/rpc_client/init_samr.c b/source3/rpc_client/init_samr.c index f99d011d5b..ecc6310510 100644 --- a/source3/rpc_client/init_samr.c +++ b/source3/rpc_client/init_samr.c @@ -19,34 +19,6 @@ #include "includes.h" -/******************************************************************* - inits a samr_AliasInfoAll structure. -********************************************************************/ - -void init_samr_alias_info1(struct samr_AliasInfoAll *r, - const char *name, - uint32_t num_members, - const char *description) -{ - DEBUG(5, ("init_samr_alias_info1\n")); - - init_lsa_String(&r->name, name); - r->num_members = num_members; - init_lsa_String(&r->description, description); -} - -/******************************************************************* -inits a lsa_String structure. -********************************************************************/ - -void init_samr_alias_info3(struct lsa_String *r, - const char *description) -{ - DEBUG(5, ("init_samr_alias_info3\n")); - - init_lsa_String(r, description); -} - /************************************************************************* inits a samr_CryptPasswordEx structure *************************************************************************/ -- cgit