00001 /* 00002 Copyright (C) 2018- The University of Notre Dame 00003 This software is distributed under the GNU General Public License. 00004 See the file COPYING for details. 00005 */ 00006 00020 #ifndef JX_GETOPT_H 00021 #define JX_GETOPT_H 00022 00023 #include <unistd.h> 00024 #include <getopt.h> 00025 00026 #include "jx.h" 00027 00028 extern struct jx *jx_optarg; 00029 00035 void jx_getopt_push(struct jx *j); 00036 00042 int jx_getopt(int argc, char *const argv[], const char *optstring, const struct option *longopts, int *longindex); 00043 00044 #endif