docs: Do not encourage unix passwords, and remove reference to password level
[Samba/id10ts.git] / librpc / ndr / ndr_compression.h
blob1c22fbf7595e4e8c253abbbe4cd53771d4739dce
1 /*
2 Unix SMB/CIFS implementation.
4 libndr compression support
6 Copyright (C) Stefan Metzmacher 2005
7 Copyright (C) Matthieu Suiche 2008
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #ifndef __LIBRPC_NDR_NDR_COMPRESSION_H__
24 #define __LIBRPC_NDR_NDR_COMPRESSION_H__
26 #undef _PRINTF_ATTRIBUTE
27 #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
28 /* This file was automatically generated by mkproto.pl. DO NOT EDIT */
30 /* this file contains prototypes for functions that are private
31 * to this subsystem or library. These functions should not be
32 * used outside this particular subsystem! */
35 /* The following definitions come from librpc/ndr/ndr_compression.c */
37 enum ndr_err_code ndr_pull_compression_start(struct ndr_pull *subndr,
38 struct ndr_pull **_comndr,
39 enum ndr_compression_alg compression_alg,
40 ssize_t decompressed_len);
41 enum ndr_err_code ndr_pull_compression_end(struct ndr_pull *subndr,
42 struct ndr_pull *comndr,
43 enum ndr_compression_alg compression_alg,
44 ssize_t decompressed_len);
45 enum ndr_err_code ndr_push_compression_start(struct ndr_push *subndr,
46 struct ndr_push **_uncomndr,
47 enum ndr_compression_alg compression_alg,
48 ssize_t decompressed_len);
49 enum ndr_err_code ndr_push_compression_end(struct ndr_push *subndr,
50 struct ndr_push *uncomndr,
51 enum ndr_compression_alg compression_alg,
52 ssize_t decompressed_len);
53 #undef _PRINTF_ATTRIBUTE
54 #define _PRINTF_ATTRIBUTE(a1, a2)
56 #endif /* __LIBRPC_NDR_NDR_COMPRESSION_H__ */