From: Stefan Metzmacher Date: Wed, 2 Apr 2025 17:16:48 +0000 (+0200) Subject: s4:libcli/smb_composite: remove unused struct smb_composite_connectmulti X-Git-Tag: tevent-0.17.0~323 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5889e43c40c85f428b3a7437a613c7c8bac807db;p=thirdparty%2Fsamba.git s4:libcli/smb_composite: remove unused struct smb_composite_connectmulti Signed-off-by: Stefan Metzmacher Reviewed-by: Volker Lendecke --- diff --git a/source4/libcli/smb_composite/smb_composite.h b/source4/libcli/smb_composite/smb_composite.h index b41cf98d609..781c85954d1 100644 --- a/source4/libcli/smb_composite/smb_composite.h +++ b/source4/libcli/smb_composite/smb_composite.h @@ -243,24 +243,6 @@ NTSTATUS smb_composite_appendacl(struct smbcli_tree *tree, TALLOC_CTX *mem_ctx, struct smb_composite_appendacl *io); -/* - a composite API to fire connect() calls to multiple targets, picking the - first one. -*/ - -struct smb_composite_connectmulti { - struct { - int num_dests; - const char **hostnames; - const char **addresses; - int *ports; /* Either NULL for lpcfg_smb_ports() per - * destination or a list of explicit ports */ - } in; - struct { - struct smbcli_socket *socket; - } out; -}; - struct smbcli_session; struct resolve_context;