cliquota: factor out building of FILE_QUOTA_INFORMATION
authorUri Simchoni <uri@samba.org>
Wed, 21 Sep 2016 15:37:40 +0000 (18:37 +0300)
committerJeremy Allison <jra@samba.org>
Tue, 4 Oct 2016 00:00:23 +0000 (02:00 +0200)
commit5e9b1f77add716168283b3557d0ddc0cf175b6d7
tree9341aa3c687c78943a4411d93c81af268a7a6d58
parenta1d9090e3c00283beb3ecf599a2b29a8fc08dfbf
cliquota: factor out building of FILE_QUOTA_INFORMATION

Add a function to build a FILE_QUOTA_INFORMATION buffer
out of a quota list, and a function that adds a record
to a quota list.

Some parameters of the new functions are unused by
client code, but will be used by server code.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/cliquota.c
source3/libsmb/proto.h
source3/utils/smbcquotas.c