script to generate libcli/util/hresult.c & libcli/util/hresult.h
commit4f9dd94819b5cebe53bbc34d69df408f2eb1e800
authorNoel Power <noel.power@suse.com>
Mon, 24 Mar 2014 15:02:45 +0000 (24 15:02 +0000)
committerStefan Metzmacher <metze@samba.org>
Wed, 2 Apr 2014 18:25:07 +0000 (2 20:25 +0200)
tree6fbb1ce401c688f8d18996b63f3e11f1d7b30764
parent57a4319baaee011f2604eadeac655ff1c84d4312
script to generate libcli/util/hresult.c & libcli/util/hresult.h

This hacky script was used to generate the contents of libcli/util/hresult.c
& libcli/util/hresult.h. It expects the table contents of
http://msdn.microsoft.com/en-us/library/cc704587.aspx cut'n'pasted into
the text file specified as it's single required input param

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/scripting/bin/gen_hresult.py [new file with mode: 0755]