ndr: merge ndr_map_error2string and ndr_errstr.
[ira/wip.git] / librpc / ndr / libndr.h
index 302a5ec7739287aaf6e7e6ecf6c3a050fea9b5c9..314df359071ddb87accbfced142a218f72332cdc 100644 (file)
@@ -363,6 +363,7 @@ struct ndr_interface_list {
 *********************************************************************/
 NTSTATUS ndr_map_error2ntstatus(enum ndr_err_code ndr_err);
 const char *ndr_map_error2string(enum ndr_err_code ndr_err);
+#define ndr_errstr ndr_map_error2string
 
 /* FIXME: Use represent_as instead */
 struct dom_sid;