diff options
author | Günther Deschner <gd@samba.org> | 2008-02-12 22:05:39 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-02-12 22:05:39 +0100 |
commit | e2b3aad8174daede0248ce96df624e575867cfd8 (patch) | |
tree | 071c9c3f8ce3caddb6160d229f788a8f13bee4e5 /source3/rpc_server | |
parent | befc71c942c044c9edc31d166f7b2ad6630fdb7c (diff) | |
download | samba-e2b3aad8174daede0248ce96df624e575867cfd8.tar.gz samba-e2b3aad8174daede0248ce96df624e575867cfd8.tar.bz2 samba-e2b3aad8174daede0248ce96df624e575867cfd8.zip |
Collect all init_lsa_string varients in one place.
Guenther
(This used to be commit f4581e9f4482566fba9436d5ae058b8d840fa394)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_lsa_nt.c | 14 | ||||
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 18 |
2 files changed, 0 insertions, 32 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c index 769dd8ad57..8041424627 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -47,20 +47,6 @@ const struct generic_mapping lsa_generic_mapping = { }; /******************************************************************* - inits a structure. -********************************************************************/ - -static void init_lsa_StringLarge(struct lsa_StringLarge *name, const char *s) -{ - name->string = s; -} - -static void init_lsa_String(struct lsa_String *name, const char *s) -{ - name->string = s; -} - -/******************************************************************* Function to free the per handle data. ********************************************************************/ diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 3e88f24ea2..3637560a7f 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -104,15 +104,6 @@ static const struct generic_mapping ali_generic_mapping = { GENERIC_RIGHTS_ALIAS_ALL_ACCESS}; /******************************************************************* - inits a structure. -********************************************************************/ - -static void init_lsa_String(struct lsa_String *name, const char *s) -{ - name->string = s; -} - -/******************************************************************* *******************************************************************/ static NTSTATUS make_samr_object_sd( TALLOC_CTX *ctx, SEC_DESC **psd, size_t *sd_size, @@ -1172,15 +1163,6 @@ NTSTATUS _samr_EnumDomainAliases(pipes_struct *p, } /******************************************************************* - inits a structure. -********************************************************************/ - -static void init_lsa_AsciiString(struct lsa_AsciiString *name, const char *s) -{ - name->string = s; -} - -/******************************************************************* inits a samr_DispInfoGeneral structure. ********************************************************************/ |