winbindd: add service routines to support a sorted client list
commitf065100639cc31de03970d41ee82a3e0ddce9c2d
authorUri Simchoni <urisimchoni@gmail.com>
Mon, 13 Jul 2015 18:08:16 +0000 (13 21:08 +0300)
committerJeremy Allison <jra@samba.org>
Wed, 15 Jul 2015 20:41:13 +0000 (15 22:41 +0200)
tree516e59973ce6ac7a0d934e1b3b3d3422e62da2a2
parent03282bfd41a90a1c725d8831ee6ae7ccea07e6a2
winbindd: add service routines to support a sorted client list

Add some routines that support keeping the client list sorted
(by last access time) and traversing the list from oldest to
newest

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

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_util.c