From 72879f491f0ef83da874fc6fe4a6f74fdc2b1d39 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 2 Nov 2011 18:31:40 +0100 Subject: nbt: merge in LIBCLI_NDR_NETLOGON helper into NDR_NBT. Guenther --- librpc/ndr/ndr_nbt.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 librpc/ndr/ndr_nbt.h (limited to 'librpc/ndr/ndr_nbt.h') diff --git a/librpc/ndr/ndr_nbt.h b/librpc/ndr/ndr_nbt.h new file mode 100644 index 0000000000..69863f0209 --- /dev/null +++ b/librpc/ndr/ndr_nbt.h @@ -0,0 +1,32 @@ +#/* + Unix SMB/CIFS implementation. + + CLDAP server structures + + Copyright (C) Andrew Bartlett 2008 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +/* The following definitions come from ../librpc/ndr/ndr_nbt.c */ + +#ifndef _LIBRPC_NDR_NDR_NBT_H +#define _LIBRPC_NDR_NDR_NBT_H + +enum ndr_err_code ndr_push_NETLOGON_SAM_LOGON_REQUEST(struct ndr_push *ndr, int ndr_flags, const struct NETLOGON_SAM_LOGON_REQUEST *r); +enum ndr_err_code ndr_pull_NETLOGON_SAM_LOGON_REQUEST(struct ndr_pull *ndr, int ndr_flags, struct NETLOGON_SAM_LOGON_REQUEST *r); +enum ndr_err_code ndr_push_NETLOGON_SAM_LOGON_RESPONSE_EX_with_flags(struct ndr_push *ndr, int ndr_flags, const struct NETLOGON_SAM_LOGON_RESPONSE_EX *r); +enum ndr_err_code ndr_pull_NETLOGON_SAM_LOGON_RESPONSE_EX_with_flags(struct ndr_pull *ndr, int ndr_flags, struct NETLOGON_SAM_LOGON_RESPONSE_EX *r, + uint32_t nt_version_flags); +#endif /* _LIBRPC_NDR_NDR_NBT_H */ -- cgit