From 91ef692d7d21cfcc486a0b9c4a1a35ae54bc5d7d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 26 Aug 2009 14:46:17 +0200 Subject: netlogon: make netr_NegotiateFlags a public bitmap. Guenther --- librpc/gen_ndr/ndr_netlogon.c | 4 ++-- librpc/gen_ndr/ndr_netlogon.h | 2 ++ librpc/idl/netlogon.idl | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'librpc') diff --git a/librpc/gen_ndr/ndr_netlogon.c b/librpc/gen_ndr/ndr_netlogon.c index e7a4121f5f..95964ca57a 100644 --- a/librpc/gen_ndr/ndr_netlogon.c +++ b/librpc/gen_ndr/ndr_netlogon.c @@ -6467,13 +6467,13 @@ _PUBLIC_ void ndr_print_netr_CONTROL_DATA_INFORMATION(struct ndr_print *ndr, con } } -static enum ndr_err_code ndr_push_netr_NegotiateFlags(struct ndr_push *ndr, int ndr_flags, uint32_t r) +_PUBLIC_ enum ndr_err_code ndr_push_netr_NegotiateFlags(struct ndr_push *ndr, int ndr_flags, uint32_t r) { NDR_CHECK(ndr_push_uint32(ndr, NDR_SCALARS, r)); return NDR_ERR_SUCCESS; } -static enum ndr_err_code ndr_pull_netr_NegotiateFlags(struct ndr_pull *ndr, int ndr_flags, uint32_t *r) +_PUBLIC_ enum ndr_err_code ndr_pull_netr_NegotiateFlags(struct ndr_pull *ndr, int ndr_flags, uint32_t *r) { uint32_t v; NDR_CHECK(ndr_pull_uint32(ndr, NDR_SCALARS, &v)); diff --git a/librpc/gen_ndr/ndr_netlogon.h b/librpc/gen_ndr/ndr_netlogon.h index f1b250135e..63e9c71213 100644 --- a/librpc/gen_ndr/ndr_netlogon.h +++ b/librpc/gen_ndr/ndr_netlogon.h @@ -191,6 +191,8 @@ void ndr_print_netr_NETLOGON_INFO_4(struct ndr_print *ndr, const char *name, con void ndr_print_netr_CONTROL_QUERY_INFORMATION(struct ndr_print *ndr, const char *name, const union netr_CONTROL_QUERY_INFORMATION *r); void ndr_print_netr_LogonControlCode(struct ndr_print *ndr, const char *name, enum netr_LogonControlCode r); void ndr_print_netr_CONTROL_DATA_INFORMATION(struct ndr_print *ndr, const char *name, const union netr_CONTROL_DATA_INFORMATION *r); +enum ndr_err_code ndr_push_netr_NegotiateFlags(struct ndr_push *ndr, int ndr_flags, uint32_t r); +enum ndr_err_code ndr_pull_netr_NegotiateFlags(struct ndr_pull *ndr, int ndr_flags, uint32_t *r); void ndr_print_netr_NegotiateFlags(struct ndr_print *ndr, const char *name, uint32_t r); void ndr_print_SyncStateEnum(struct ndr_print *ndr, const char *name, enum SyncStateEnum r); void ndr_print_netr_ChangeLogFlags(struct ndr_print *ndr, const char *name, uint16_t r); diff --git a/librpc/idl/netlogon.idl b/librpc/idl/netlogon.idl index 8b74f14e6d..30a10789c8 100644 --- a/librpc/idl/netlogon.idl +++ b/librpc/idl/netlogon.idl @@ -937,7 +937,7 @@ interface netlogon /*****************/ /* Function 0x0F */ - typedef [bitmap32bit] bitmap { + typedef [public,bitmap32bit] bitmap { NETLOGON_NEG_ACCOUNT_LOCKOUT = 0x00000001, NETLOGON_NEG_PERSISTENT_SAMREPL = 0x00000002, NETLOGON_NEG_ARCFOUR = 0x00000004, -- cgit