git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove HTTP server, get ready to write basic threaded program
[matches/MCTX3420.git]
/
rpi
/
options.h
diff --git
a/rpi/options.h
b/rpi/options.h
index
2a6d323
..
df78870
100644
(file)
--- a/
rpi/options.h
+++ b/
rpi/options.h
@@
-3,18
+3,16
@@
* @purpose Declaration of structure to handle options passed to program
*/
* @purpose Declaration of structure to handle options passed to program
*/
-#include <stdint.h>
+#ifndef _OPTIONS_H
+#define _OPTIONS_H
typedef struct
{
const char * program; //name of program
typedef struct
{
const char * program; //name of program
- uint8_t verbosity; // verbosity level
- int port; // port to use for webserver
- int bound_sfd; // socket webserver has bound to
- int sfd; // socket connected to client
-
-} Options;
+ int verbosity; // verbosity level
+} Options;
+extern Options g_options;
-extern Options options;
+#endif //_OPTIONS_H
UCC
git Repository :: git.ucc.asn.au