schannel: more work on reponse NL_AUTH_MESSAGES.
[ira/wip.git] / librpc / ndr / ndr_schannel.c
index 9cf0e09d669ea1cfa8f479913800a9310193d9e4..02796f7d9fd0e841106420c306d48996e51eb892 100644 (file)
@@ -54,3 +54,18 @@ _PUBLIC_ void ndr_print_NL_AUTH_MESSAGE_BUFFER(struct ndr_print *ndr, const char
 
        }
 }
+
+_PUBLIC_ void ndr_print_NL_AUTH_MESSAGE_BUFFER_REPLY(struct ndr_print *ndr, const char *name, const union NL_AUTH_MESSAGE_BUFFER_REPLY *r)
+{
+       int level;
+       level = ndr_print_get_switch_value(ndr, r);
+       switch (level) {
+               case NL_NEGOTIATE_RESPONSE:
+                       ndr_print_uint32(ndr, name, r->dummy);
+               break;
+
+               default:
+               break;
+
+       }
+}