From b9436f5348213cc2a1b7fd670854bed4e21c5ea9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 21 Oct 2016 10:23:21 +0200 Subject: [PATCH] s3:util_cmdline: make struct user_auth_info private to util_cmdline.c Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- source3/include/auth_info.h | 14 +------------- source3/lib/util_cmdline.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/source3/include/auth_info.h b/source3/include/auth_info.h index 5764bb8f523..04ac4221574 100644 --- a/source3/include/auth_info.h +++ b/source3/include/auth_info.h @@ -20,19 +20,7 @@ #ifndef _AUTH_INFO_H #define _AUTH_INFO_H -struct user_auth_info { - char *username; - char *domain; - char *password; - bool got_pass; - bool use_kerberos; - int signing_state; - bool smb_encrypt; - bool use_machine_account; - bool fallback_after_kerberos; - bool use_ccache; - bool use_pw_nt_hash; -}; +struct user_auth_info; struct user_auth_info *user_auth_info_init(TALLOC_CTX *mem_ctx); const char *get_cmdline_auth_info_username(const struct user_auth_info *auth_info); diff --git a/source3/lib/util_cmdline.c b/source3/lib/util_cmdline.c index 0948bb7b2a6..68ba7aad244 100644 --- a/source3/lib/util_cmdline.c +++ b/source3/lib/util_cmdline.c @@ -30,6 +30,20 @@ Used mainly in client tools. ****************************************************************************/ +struct user_auth_info { + char *username; + char *domain; + char *password; + bool got_pass; + bool use_kerberos; + int signing_state; + bool smb_encrypt; + bool use_machine_account; + bool fallback_after_kerberos; + bool use_ccache; + bool use_pw_nt_hash; +}; + struct user_auth_info *user_auth_info_init(TALLOC_CTX *mem_ctx) { struct user_auth_info *result; -- 2.11.4.GIT