smbd: Add smbd_dirptr_push_overflow()
authorVolker Lendecke <vl@samba.org>
Sat, 27 May 2023 11:20:56 +0000 (13:20 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 13 Jun 2023 23:33:39 +0000 (23:33 +0000)
commit0b27175764c8b7718f85a455beda84f345243cd6
treebcdeaa50d04d9fc95c1655a2a8e461e4e6add5c6
parent91c76f6514b02f7f73b28fd4915fefd6a772f7f1
smbd: Add smbd_dirptr_push_overflow()

This saves the result of smbd_dirptr_get_entry() for later retrieval
in case we could not marshall it to the output buffer. Return this
entry when calling smbd_dirptr_get_entry() again.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/dir.c
source3/smbd/globals.h