tdb: Add overflow-checking tdb_add_off_t
[Samba.git] / librpc / ndr / ndr_frsrpc.h
blob9e5ac92d6cbc389388b9bb6562f97cd7c63e0927
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 int ndr_flags,
27 const struct frsrpc_CommPktChunkCtr *r);
28 enum ndr_err_code ndr_pull_frsrpc_CommPktChunkCtr(struct ndr_pull *ndr,
29 int ndr_flags,
30 struct frsrpc_CommPktChunkCtr *r);
31 size_t ndr_size_frsrpc_CommPktChunkCtr(const struct frsrpc_CommPktChunkCtr *r,
32 int flags);
34 #endif /* _LIBRPC_NDR_NDR_FRSRPC_H */