first commit

This commit is contained in:
Eddy
2014-10-10 17:36:02 +04:00
commit 1a63497f04
62 changed files with 9055 additions and 0 deletions

18
getopt/getopt.h Normal file
View File

@@ -0,0 +1,18 @@
#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__