s4:libcli:smb2: make smbcli_options argument to smb2_connect_(send|ext) const
authorMichael Adam <obnox@samba.org>
Wed, 25 Sep 2013 05:16:39 +0000 (07:16 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 5 Oct 2013 12:04:07 +0000 (14:04 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/libcli/smb2/connect.c

index 5cdf258e7c0517c129546dbd28baf2b44058156b..18977d8523e5d46990b20219c8ea7bd163d4f8ed 100644 (file)
@@ -64,7 +64,7 @@ struct tevent_req *smb2_connect_send(TALLOC_CTX *mem_ctx,
                                     struct resolve_context *resolve_ctx,
                                     struct cli_credentials *credentials,
                                     uint64_t previous_session_id,
-                                    struct smbcli_options *options,
+                                    const struct smbcli_options *options,
                                     const char *socket_options,
                                     struct gensec_settings *gensec_settings)
 {
@@ -284,7 +284,7 @@ NTSTATUS smb2_connect_ext(TALLOC_CTX *mem_ctx,
                          uint64_t previous_session_id,
                          struct smb2_tree **tree,
                          struct tevent_context *ev,
-                         struct smbcli_options *options,
+                         const struct smbcli_options *options,
                          const char *socket_options,
                          struct gensec_settings *gensec_settings)
 {