]> git.ipfire.org Git - thirdparty/samba.git/commit
libcli/smb: add struct smb_transports infrastructure
authorStefan Metzmacher <metze@samba.org>
Wed, 2 Apr 2025 17:51:50 +0000 (19:51 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 18 Apr 2025 10:17:29 +0000 (10:17 +0000)
commit43a5fd564ca2efd59b07416ef36c4f7defb9ce53
tree2421e095d5ec54b0b657d84d0892bef6dc9c2d6c
parent5889e43c40c85f428b3a7437a613c7c8bac807db
libcli/smb: add struct smb_transports infrastructure

This will be able to use a structure instead of
a string array with int string values for 'smb ports'.

We'll soon add support for smb over quic, so
we need something better than tcp ports with
139 being special.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
libcli/smb/smb_util.h
libcli/smb/util.c