errormap: Add unix_to_werror() function
commit795516f550e84f60e956b2673093017849eb985d
authorKai Blin <kai@samba.org>
Wed, 26 Jan 2011 21:17:43 +0000 (26 22:17 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 26 Jan 2011 22:22:49 +0000 (26 14:22 -0800)
treed787b9cff6966ff24b709550385e722711f9abea
parent7bc073743c9c9d892ab00ed236af3ab8c074e75d
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>
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Wed Jan 26 23:07:24 CET 2011 on sn-devel-104
(cherry picked from commit 278c6f8fc538ad8ee069f0682229fad34abb3513)
libcli/util/error.h
source3/lib/errmap_unix.c
source4/libcli/util/errormap.c