From 3bfceafed7ad33d7bdf4cf9391f71b57dbe54220 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 30 Apr 2010 13:35:41 +0200 Subject: rap: add rap_status to IDL. Guenther --- librpc/ndr/ndr_rap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'librpc/ndr/ndr_rap.c') diff --git a/librpc/ndr/ndr_rap.c b/librpc/ndr/ndr_rap.c index f21e3675b6..ea18a08865 100644 --- a/librpc/ndr/ndr_rap.c +++ b/librpc/ndr/ndr_rap.c @@ -22,3 +22,7 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_rap.h" +_PUBLIC_ void ndr_print_rap_status(struct ndr_print *ndr, const char *name, enum rap_status r) +{ + ndr_print_WERROR(ndr, name, W_ERROR(r)); +} -- cgit