Pass session options around; saves another use of global_loadparm.
[amitay/samba.git] / source4 / libcli / smb_composite / smb_composite.h
index 7f4b9d73e4b48da338817e9558b39018119b6a25..08ca40c833072ce4260e8b619f3f97762186a70b 100644 (file)
@@ -57,6 +57,7 @@ struct smb_composite_fetchfile {
                const char *workgroup;
                const char *filename;
                struct smbcli_options options;
+               struct smbcli_session_options session_options;
                struct resolve_context *resolve_ctx;
        } in;
        struct {
@@ -98,6 +99,7 @@ struct smb_composite_connect {
                bool fallback_to_anonymous;
                const char *workgroup;
                struct smbcli_options options;
+               struct smbcli_session_options session_options;
        } in;
        struct {
                struct smbcli_tree *tree;