s3: nmbd: Add fd, triggered elements to struct socket_attributes.
authorJeremy Allison <jra@samba.org>
Fri, 23 Sep 2016 19:05:59 +0000 (12:05 -0700)
committerVolker Lendecke <vl@samba.org>
Sat, 24 Sep 2016 17:52:08 +0000 (19:52 +0200)
commitd8ade0730797df22bfe28847e034eb6d116b0e00
tree2177b48253a42af45d64dec96aca0174b269abc6
parent4470f01605a2f09b054550ee5a8f8d3b4ebc2098
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>
source3/nmbd/nmbd_packets.c