2
* WinPR: Windows Portable Runtime
3
* Microsoft Remote Procedure Call (MSRPC)
5
* Copyright 2012 Marc-Andre Moreau <marcandre.moreau@gmail.com>
7
* Licensed under the Apache License, Version 2.0 (the "License");
8
* you may not use this file except in compliance with the License.
9
* You may obtain a copy of the License at
11
* http://www.apache.org/licenses/LICENSE-2.0
13
* Unless required by applicable law or agreed to in writing, software
14
* distributed under the License is distributed on an "AS IS" BASIS,
15
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
* See the License for the specific language governing permissions and
17
* limitations under the License.
20
#ifndef WINPR_RPC_NDR_PRIVATE_H
21
#define WINPR_RPC_NDR_PRIVATE_H
23
#include <winpr/rpc.h>
27
void NdrpAlignLength(unsigned long* length, unsigned int alignment);
28
void NdrpIncrementLength(unsigned long* length, unsigned int size);
30
extern const NDR_TYPE_SIZE_ROUTINE pfnSizeRoutines[];
31
extern const NDR_TYPE_MARSHALL_ROUTINE pfnMarshallRoutines[];
32
extern const NDR_TYPE_UNMARSHALL_ROUTINE pfnUnmarshallRoutines[];
33
extern const NDR_TYPE_FREE_ROUTINE pfnFreeRoutines[];
35
extern const char SimpleTypeAlignment[];
36
extern const char SimpleTypeBufferSize[];
37
extern const char SimpleTypeMemorySize[];
39
extern const char NdrTypeFlags[];
40
extern const char* FC_TYPE_STRINGS[];
42
#include "ndr_correlation.h"
46
#endif /* WINPR_RPC_NDR_PRIVATE_H */