#ifndef _getopt_h
#define _getopt_h

struct option {
    const char *name;
    int has_arg;
    int *flag;
    int val;
};

int getopt_long(int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *indexptr);

#endif
