2021-11-30 13:01:36 +00:00
|
|
|
/** @file
|
|
|
|
*
|
2016-02-29 21:29:19 +00:00
|
|
|
* Definition of a macro for the file wildcard pattern that matches
|
|
|
|
* all files
|
|
|
|
*
|
|
|
|
* Wireshark - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2018-04-30 07:47:58 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
*/
|
2016-02-29 21:29:19 +00:00
|
|
|
|
|
|
|
#ifndef __ALL_FILES_WILDCARD_H__
|
|
|
|
#define __ALL_FILES_WILDCARD_H__
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
/*
|
|
|
|
* On Windows, the wildcard for matching all files is "*.*", which
|
|
|
|
* even matches files with no extension.
|
|
|
|
*/
|
|
|
|
#define ALL_FILES_WILDCARD "*.*"
|
|
|
|
#else
|
|
|
|
/*
|
|
|
|
* On UN*X, the wildcard for matching all files is "*"; "*.*" only
|
|
|
|
* matches files with at least one extension.
|
|
|
|
*/
|
|
|
|
#define ALL_FILES_WILDCARD "*"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __ALL_FILES_WILDCARD_H__ */
|