Remove HTTP server, get ready to write basic threaded program
[matches/MCTX3420.git] / rpi / options.h
index 2a6d323..df78870 100644 (file)
@@ -3,18 +3,16 @@
  * @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
-       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