wav: simplify extended fmt chunk handling [bug #198]
[sox.git] / src / win32-glob.h
blob30f417965602479c8625895d21f4a60610afab5d
1 /* libSoX minimal glob for MS-Windows: (c) 2009 SoX contributors
3 * This library is free software; you can redistribute it and/or modify it
4 * under the terms of the GNU Lesser General Public License as published by
5 * the Free Software Foundation; either version 2.1 of the License, or (at
6 * your option) any later version.
8 * This library is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
11 * General Public License for more details.
13 * You should have received a copy of the GNU Lesser General Public License
14 * along with this library; if not, write to the Free Software Foundation,
15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 #ifndef GLOB_H
19 #define GLOB_H 1
21 #define GLOB_NOCHECK (16)
22 #define GLOB_FLAGS (GLOB_NOCHECK)
24 typedef struct glob_t
26 unsigned gl_pathc;
27 char **gl_pathv;
28 } glob_t;
30 #ifdef __cplusplus
31 extern "C" {
32 #endif
34 int
35 glob(
36 const char *pattern,
37 int flags,
38 void *unused,
39 glob_t *pglob);
41 void
42 globfree(
43 glob_t* pglob);
45 #ifdef __cplusplus
47 #endif
49 #endif /* ifndef GLOB_H */