s3: nmbd: Add fd, triggered elements to struct socket_attributes.
commit5d160ee3eb9d6686bbb96be43086d101c5386969
authorJeremy Allison <jra@samba.org>
Fri, 23 Sep 2016 19:05:59 +0000 (23 12:05 -0700)
committerStefan Metzmacher <metze@samba.org>
Mon, 24 Oct 2016 08:56:11 +0000 (24 10:56 +0200)
tree9084aa2261fc93f0f361c973b75c61c1d9843156
parente4c48c9da183627b01928ef337272ed926061f6d
s3: nmbd: Add fd, triggered elements to struct socket_attributes.

Zero the attrs array on allocation, and mirror the fd's.

This will allow us to eventually remove source3/lib/events.c
dependency and make nmbd purely tevent based.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12283
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit d8ade0730797df22bfe28847e034eb6d116b0e00)
source3/nmbd/nmbd_packets.c