errormap: Add unix_to_werror() function
commitdf88e66250375fec2d0991bf379f4fe6f2550a7c
authorKai Blin <kai@samba.org>
Wed, 26 Jan 2011 21:17:43 +0000 (26 22:17 +0100)
committerKai Blin <kai@samba.org>
Wed, 28 Sep 2011 00:02:35 +0000 (28 02:02 +0200)
treefc9aa689889c43e956c41f505bf47f09449dacce
parente8ed54d6c98ba4c0e8ac6b4cc7eb1df58e656d14
errormap: Add unix_to_werror() function

While this function technically is closest to the
map_nt_status_from_unix() function, I think it is better to keep the new
function in line with our usual fooerror_to_barerror() naming scheme.

Signed-off-by: Kai Blin <kai@samba.org>
libcli/util/error.h
libcli/util/errormap.c