#ifndef H_FLAG_CONTROL
#define H_FLAG_CONTROL

#include <stdbool.h>

struct flag_control
{
	bool c;         /* Whether to use a different directory */
	char* cgi_dir;  /* The directory in question */
	bool d;         /* Debugging mode */
	bool h;         /* Short usage summary & exit */
	bool i;         /* Bind to given ip address */
	char* ip_addr;  /* Relevant ip address */
	bool l;         /* Log all requests to specific file */
	char* log_file; /* File to log requests to */
	bool p;         /* Listen on a given port */
	int port;       /* User-provided port */
};
#endif