projects
/
dosdemo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- added config file and commandline parsing
[dosdemo]
/
src
/
cfgopt.h
diff --git a/src/cfgopt.h
b/src/cfgopt.h
new file mode 100644
(file)
index 0000000..
7051501
--- /dev/null
+++ b/
src/cfgopt.h
@@ -0,0
+1,14
@@
+#ifndef CFGOPT_H_
+#define CFGOPT_H_
+
+struct options {
+ const char *start_scr;
+ int music;
+};
+
+extern struct options opt;
+
+int parse_args(int argc, char **argv);
+int load_config(const char *fname);
+
+#endif /* CFGOPT_H_ */