smbd: avoid a panic in close_directory()
[samba4-gss.git] / librpc / ndr / ndr_frsrpc.h
blobafdfd661cce9d8efe8a63e2d1ca2f4ea5bd0d52c
1 /*
2 Unix SMB/CIFS implementation.
4 helper routines for FRSRPC marshalling
6 Copyright (C) Stefan (metze) Metzmacher 2009
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #ifndef _LIBRPC_NDR_NDR_FRSRPC_H
23 #define _LIBRPC_NDR_NDR_FRSRPC_H
25 enum ndr_err_code ndr_push_frsrpc_CommPktChunkCtr(struct ndr_push *ndr,
26 ndr_flags_type ndr_flags,
27 const struct frsrpc_CommPktChunkCtr *r);
28 enum ndr_err_code ndr_pull_frsrpc_CommPktChunkCtr(struct ndr_pull *ndr,
29 ndr_flags_type ndr_flags,
30 struct frsrpc_CommPktChunkCtr *r);
31 size_t ndr_size_frsrpc_CommPktChunkCtr(const struct frsrpc_CommPktChunkCtr *r,
32 libndr_flags flags);
34 #endif /* _LIBRPC_NDR_NDR_FRSRPC_H */