print: Avoid Variable Length Arrays.
[L-SMASH.git] / cli / cli.h
blobe85b87da5fc62cc1e5dc109d0685802961ab6c20
1 /*****************************************************************************
2 * cli.h:
3 *****************************************************************************
4 * Copyright (C) 2013-2014 L-SMASH project
6 * Authors: Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
8 * Permission to use, copy, modify, and/or distribute this software for any
9 * purpose with or without fee is hereby granted, provided that the above
10 * copyright notice and this permission notice appear in all copies.
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 *****************************************************************************/
21 /* This file is available under an ISC license. */
23 #ifndef CLI_H
24 #define CLI_H
26 #include "common/osdep.h"
27 #include "lsmash.h"
29 #ifdef _MSC_VER
30 #define strcasecmp _stricmp
31 #endif
33 #ifdef _WIN32
34 void lsmash_get_mainargs( int *argc, char ***argv );
35 #else
36 # define lsmash_get_mainargs( argc, argv ) (void)0
37 #endif
39 int lsmash_write_lsmash_indicator( lsmash_root_t *root );
41 #endif