2a6d323f3f11f4e884c22fcff80b253f19ea209b
[matches/MCTX3420.git] / rpi / options.h
1 /**
2  * @file options.h
3  * @purpose Declaration of structure to handle options passed to program
4  */
5
6 #include <stdint.h>
7
8 typedef struct
9 {
10         const char * program; //name of program
11         uint8_t verbosity; // verbosity level
12         int port; // port to use for webserver
13         int bound_sfd; // socket webserver has bound to
14         int sfd; // socket connected to client
15         
16 } Options;
17
18
19
20 extern Options options;

UCC git Repository :: git.ucc.asn.au