00001 // XGetopt.h 00002 // 00003 // Author: Hans Dietrich 00004 // hdietrich2@hotmail.com 00005 // 00006 // Adapted: Martin J. Moene <moene@biophys.LeidenUniv.nl> 00007 // doxygen documentation, MinGW32/GCC (2003-01-20) 00008 // 00009 // This software is released into the public domain. 00010 // You are free to use it in any way you like. 00011 // 00012 // This software is provided "as is" with no expressed 00013 // or implied warranty. I accept no liability for any 00014 // damage or loss of business that this software may cause. 00015 // 00017 00018 #ifndef XGETOPT_H 00019 #define XGETOPT_H 00020 00036 extern int optind; 00037 00044 extern int opterr; 00045 00054 extern char *optarg; 00055 00056 int getopt(int argc, char *argv[], char *optstring); 00057 00058 /* @} \endimplementation */ 00059 00060 #endif //XGETOPT_H