s3:pylibsmb: Split code out into do_listing() helper
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 11 Dec 2018 22:28:22 +0000 (11:28 +1300)
committerTim Beale <timbeale@samba.org>
Mon, 7 Jan 2019 00:23:07 +0000 (01:23 +0100)
commit057161039f45baf4acb582a6a8e6d41e3de317bd
tree42433299906ca3f16485052a2cce220fcc36e09d
parent2033208a4a936912343f4dcc23576687a2a82c3a
s3:pylibsmb: Split code out into do_listing() helper

We'll want to reuse the directory listing function for the deltree API.
This patch splits the bulk of the work out into a do_listing() helper
function.

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