Navit SVN

/work/compile/navit/src/navit/support/xgetopt/XGetopt.h

00001 // XGetopt.h  Version 1.2
00002 //
00003 // Author:  Hans Dietrich
00004 //          hdietrich2@hotmail.com
00005 //
00006 // This software is released into the public domain.
00007 // You are free to use it in any way you like.
00008 //
00009 // This software is provided "as is" with no expressed
00010 // or implied warranty.  I accept no liability for any
00011 // damage or loss of business that this software may cause.
00012 //
00014 
00015 #ifndef XGETOPT_H
00016 #define XGETOPT_H
00017 
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021 
00022 extern int optind, opterr;
00023 extern char *optarg;
00024 
00025 int getopt(int argc, char *argv[], char *optstring);
00026 #ifdef __cplusplus
00027 }
00028 #endif
00029 #endif //XGETOPT_H