Add function for mapping NDR error codes to strings.
[ira/wip.git] / librpc / ndr / libndr.h
index fdecddc0fcc5090d38f7972c8dfe925cd45c7000..4ab0bf5f0bb6dddbd115cd9cd6c0b2bf3275be89 100644 (file)
@@ -342,6 +342,7 @@ struct ndr_interface_list {
  Map an NT error code from a NDR error code.
 *********************************************************************/
 NTSTATUS ndr_map_error2ntstatus(enum ndr_err_code ndr_err);
+const char *ndr_map_error2string(enum ndr_err_code ndr_err);
 
 /* FIXME: Use represent_as instead */
 struct dom_sid;