]> FriiDump Source - friidump.git/blob - src/getopt-win32.h
FriiDump 0.5.3.16 candidate: add native reports and Linux Xbox support
[friidump.git] / src / getopt-win32.h
1 /* $Id$ */
2 /*
3 ** Copyright (C) 2002 Martin Roesch <roesch@sourcefire.com>
4 **
5 ** This program is free software; you can redistribute it and/or modify
6 ** it under the terms of the GNU General Public License Version 2 as
7 ** published by the Free Software Foundation.  You may not use, modify or
8 ** distribute this program under any other version of the GNU General
9 ** Public License.
10 **
11 ** This program is distributed in the hope that it will be useful,
12 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 ** GNU General Public License for more details.
15 **
16 ** You should have received a copy of the GNU General Public License
17 ** along with this program; if not, write to the Free Software
18 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 */
20
21 #ifndef _SNORT_GETOPT_H_
22 #define _SNORT_GETOPT_H_
23
24 #ifdef SNORT_GETOPT
25 #define _next_char(string)  (char)(*(string+1))
26
27 extern char * optarg; 
28 extern int    optind; 
29
30 int getopt(int, char**, char*);
31
32 #else
33 #include "getopt1.h"
34 #endif
35
36 #endif /* _SNORT_GETOPT_H_ */