multiboot_tool/optarg.h

16 lines
337 B
C
Raw Normal View History

2014-12-26 11:36:32 +01:00
#ifndef _OPTARG_H_
#define _OPTARG_H_
#include <getopt.h>
int optarg_register(const struct option *opts, int count,
int (* parser_cb)(int val, const char *arg, void *privdata),
void *privdata);
void optarg_free(void);
int optarg_parse(int argc, char * const argv[]);
#endif /* _OPTARG_H_ */