ProteoWizard
wglob.h
Go to the documentation of this file.
1 // $Id: wglob.h 2359 2010-11-09 23:01:39Z chambm $
2 #ifndef WGLOB_H
3 #define WGLOB_H
4 
5 /*
6 
7 Program : Glob for windows
8 Author : Nathan Heinecke <nate.heinecke@insilicos.com>
9 Date : 6.20.2007
10 
11 Glob for Windows
12  Emulates basic Glob (from unix) functionality (really very basic)
13  The following features of unix glob are currently unsupported:
14  -Passing any nonzero value as second or third argument (will force program exit)
15  -Using the same glob_t struct for multiple calls to glob (will cause memory leaks)
16 
17 Copyright (C) 2007 Nathan Heinecke
18 
19 This library is free software; you can redistribute it and/or
20 modify it under the terms of the GNU Lesser General Public
21 License as published by the Free Software Foundation; either
22 version 2.1 of the License, or (at your option) any later version.
23 
24 This library is distributed in the hope that it will be useful,
25 but WITHOUT ANY WARRANTY; without even the implied warranty of
26 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
27 Lesser General Public License for more details.
28 
29 You should have received a copy of the GNU Lesser General Public
30 License along with this library; if not, write to the Free Software
31 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
32 
33 Nathan Heinecke
34 Insilicos
35 2722 Eastlake ave. E #300
36 Seattle, WA 98102 USA
37 nate.heinecke@insilicos.com
38 
39 */
40 
41 struct glob_t
42  {
43  int gl_pathc;
44  char** gl_pathv;
45  };
46 
47 int glob(const char*,int,int*,glob_t*);
48 
49 void globfree(glob_t*);
50 
51 #endif