swrap: New helper functions to treat next_free
authorMichael Adam <obnox@samba.org>
Wed, 12 Jul 2017 23:01:57 +0000 (01:01 +0200)
committerAndreas Schneider <asn@samba.org>
Wed, 2 May 2018 12:23:34 +0000 (14:23 +0200)
commitaec1e1207d70f1b2a12a3cb3641691bb99ba7581
tree90fcb399a28c943786a366c6e8c8763330b111bc
parent10b6cc0ff0891b345d7f71dac44be963792ca32d
swrap: New helper functions to treat next_free

- swrap_get_next_free
- swrap_set_next_free

to avoid accessing socket_info.next_free directly

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
src/socket_wrapper.c