source: vendor/current/librpc/ndr/ndr_compression.h

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 2.1 KB
Line 
1/*
2 Unix SMB/CIFS implementation.
3
4 libndr compression support
5
6 Copyright (C) Stefan Metzmacher 2005
7 Copyright (C) Matthieu Suiche 2008
8
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.
13
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.
18
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/>.
21*/
22
23#ifndef __LIBRPC_NDR_NDR_COMPRESSION_H__
24#define __LIBRPC_NDR_NDR_COMPRESSION_H__
25
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 */
29
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! */
33
34
35/* The following definitions come from librpc/ndr/ndr_compression.c */
36
37enum 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);
41enum 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);
45enum 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);
49enum 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)
55
56#endif /* __LIBRPC_NDR_NDR_COMPRESSION_H__ */
57
Note: See TracBrowser for help on using the repository browser.