From 1946ab5a1b4be6d64307fb24847640f959a1e024 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 May 2010 07:35:43 +0200 Subject: s4-dns: ndr_dnsp helper functions these handle the dnsp_name type --- librpc/ndr/ndr_dnsp.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 librpc/ndr/ndr_dnsp.h (limited to 'librpc/ndr/ndr_dnsp.h') diff --git a/librpc/ndr/ndr_dnsp.h b/librpc/ndr/ndr_dnsp.h new file mode 100644 index 0000000000..07952cb8ce --- /dev/null +++ b/librpc/ndr/ndr_dnsp.h @@ -0,0 +1,25 @@ +/* + Unix SMB/CIFS implementation. + + Manually parsed structures found in the DNSP IDL + + Copyright (C) Andrew Tridgell 2010 + + 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 . +*/ + +void ndr_print_dnsp_name(struct ndr_print *ndr, const char *name, + const char *dns_name); +enum ndr_err_code ndr_pull_dnsp_name(struct ndr_pull *ndr, int ndr_flags, const char **name); +enum ndr_err_code ndr_push_dnsp_name(struct ndr_push *ndr, int ndr_flags, const char *name); -- cgit