s3:pylibsmb: Split out code into list_helper()
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 4 Dec 2018 02:43:53 +0000 (15:43 +1300)
committerTim Beale <timbeale@samba.org>
Mon, 7 Jan 2019 00:23:07 +0000 (01:23 +0100)
commit2033208a4a936912343f4dcc23576687a2a82c3a
treeeb9e8ae681190390f9cf908de1b1cef0c171e907
parent40f4e52732f73b8b7b90d3176e4a4536ef6bc678
s3:pylibsmb: Split out code into list_helper()

Refactor out the code so we can re-use it for the synchronous API as
well.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13676

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libsmb/pylibsmb.c