reassamble TODO
[metze/wireshark/wip.git] / cli_main.h
1 /*
2  * Declaration of the real main routine, for all CLI programs where the
3  * main routine should get UTF-8 arguments on Windows.  In those programs,
4  * in the file that defines the main routine, include this header and link
5  * those programs with cli_main.c.
6  *
7  * This is used in software licensed under the GPLv2, and its license MUST
8  * be compatible with that license.
9  *
10  * This is used in software licensed under the Apache 2.0 license, and its
11  * license MUST be compatible with that license.
12  *
13  * For that purpose, we use the MIT (X11) license.
14  *
15  * SPDX-License-Identifier: MIT
16  */
17
18 #ifdef _WIN32
19 int real_main(int argc, char *argv[]);
20 #define main    real_main
21 #endif