OpenVPN
basic.h
Go to the documentation of this file.
1 /*
2  * basic -- Basic macros
3  * https://community.openvpn.net/openvpn/wiki/Tapctl
4  *
5  * Copyright (C) 2002-2018 OpenVPN Inc <sales@openvpn.net>
6  * Copyright (C) 2018 Simon Rozman <simon@rozman.si>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2
10  * as published by the Free Software Foundation.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along
18  * with this program; if not, write to the Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20  */
21 
22 #ifndef BASIC_H
23 #define BASIC_H
24 
25 #ifdef _UNICODE
26 #define PRIsLPTSTR "ls"
27 #define PRIsLPOLESTR "ls"
28 #else
29 #define PRIsLPTSTR "s"
30 #define PRIsLPOLESTR "ls"
31 #endif
32 
33 #ifndef _In_
34 #define _In_
35 #endif
36 #ifndef _In_opt_
37 #define _In_opt_
38 #endif
39 #ifndef _In_z_
40 #define _In_z_
41 #endif
42 #ifndef _Inout_
43 #define _Inout_
44 #endif
45 #ifndef _Out_
46 #define _Out_
47 #endif
48 #ifndef _Out_opt_
49 #define _Out_opt_
50 #endif
51 #ifndef _Out_z_cap_
52 #define _Out_z_cap_(n)
53 #endif
54 
55 #endif /* ifndef BASIC_H */