summaryrefslogtreecommitdiff
path: root/librpc/ndr/ndr_nbt.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-11-02 18:31:40 +0100
committerGünther Deschner <gd@samba.org>2011-11-03 18:35:08 +0100
commit72879f491f0ef83da874fc6fe4a6f74fdc2b1d39 (patch)
tree33a95977a3dcdfcd85e82ed078df968db5514599 /librpc/ndr/ndr_nbt.h
parent2417ea4923e058c802d0fdaa7961d502568553ae (diff)
downloadsamba-72879f491f0ef83da874fc6fe4a6f74fdc2b1d39.tar.gz
samba-72879f491f0ef83da874fc6fe4a6f74fdc2b1d39.tar.bz2
samba-72879f491f0ef83da874fc6fe4a6f74fdc2b1d39.zip
nbt: merge in LIBCLI_NDR_NETLOGON helper into NDR_NBT.
Guenther
Diffstat (limited to 'librpc/ndr/ndr_nbt.h')
-rw-r--r--librpc/ndr/ndr_nbt.h32
1 files changed, 32 insertions, 0 deletions
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 <abartlet@samba.org> 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 <http://www.gnu.org/licenses/>.
+*/
+
+/* 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 */