s3:util_cmdline: make struct user_auth_info private to util_cmdline.c
authorStefan Metzmacher <metze@samba.org>
Fri, 21 Oct 2016 08:23:21 +0000 (10:23 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 21 Oct 2016 18:44:23 +0000 (20:44 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/auth_info.h
source3/lib/util_cmdline.c

index 5764bb8f5231f9ca053337ac6d4f49bb2e108957..04ac4221574b722c8c2e7924871d5fc47645239e 100644 (file)
 #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);
index 0948bb7b2a65535280715e20cb69e8a0f103152d..68ba7aad24450f53a9501473bf56710f7926ce51 100644 (file)
   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;