socket_wrapper: add swrap_sendmsg_before/after helper functions
authorStefan Metzmacher <metze@samba.org>
Sat, 30 Oct 2010 14:08:49 +0000 (16:08 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 3 Mar 2011 21:57:26 +0000 (22:57 +0100)
commit8c6d7d7b2797c051885e12e3cdf3da158cf4fe25
tree803a5468ac2f797634d951c75ab572ea21761acb
parentc9ae8102099ed66c776c79e88f1a582f3e213fbc
socket_wrapper: add swrap_sendmsg_before/after helper functions

Currently have almost the same logic in swrap_send(), swrap_sendto(),
swrap_writev() and swrap_sendmsg(), this helper functions
let combine all the logic in 2 places.

metze
lib/socket_wrapper/socket_wrapper.c