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