mirror of
https://github.com/eddyem/eddys_snippets.git
synced 2025-12-06 10:45:12 +03:00
19 lines
337 B
C
19 lines
337 B
C
#ifndef __USAGE_H__
|
|
#define __USAGE_H__
|
|
|
|
#include "takepic.h"
|
|
#include <getopt.h>
|
|
#include <stdarg.h>
|
|
|
|
/*
|
|
* here are global variables and global data structures definition, like
|
|
* int val;
|
|
* enum{reset = 0, set};
|
|
*/
|
|
|
|
extern char *__progname;
|
|
void usage(char *fmt, ...);
|
|
void parse_args(int argc, char **argv);
|
|
|
|
#endif // __USAGE_H__
|