errormap: Add unix_to_werror() function
commit278c6f8fc538ad8ee069f0682229fad34abb3513
authorKai Blin <kai@samba.org>
Wed, 26 Jan 2011 21:17:43 +0000 (26 22:17 +0100)
committerKai Blin <kai@samba.org>
Wed, 26 Jan 2011 22:07:24 +0000 (26 23:07 +0100)
treea02ec1140558787fbf5c2f2435cdcddbac13d91e
parent67e578ab5aa604cc409480479c2f2b3bc9a969da
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
libcli/util/error.h
source3/lib/errmap_unix.c
source4/libcli/util/errormap.c