aboutsummaryrefslogtreecommitdiffstats
path: root/pacredir.h
diff options
context:
space:
mode:
Diffstat (limited to 'pacredir.h')
-rw-r--r--pacredir.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pacredir.h b/pacredir.h
index 7423c54..97621d3 100644
--- a/pacredir.h
+++ b/pacredir.h
@@ -47,6 +47,8 @@
/* compile time configuration */
#include "config.h"
#include "version.h"
+#include "html.h"
+#include "favicon.h"
#define DNS_CLASS_IN 1U
#define DNS_TYPE_PTR 12U
@@ -76,6 +78,8 @@ struct hosts {
__time_t badtime;
/* count the number of bad requests */
unsigned int badcount;
+ /* count finds */
+ unsigned int finds;
/* pointer to next struct element */
struct hosts * next;
};
@@ -125,6 +129,10 @@ static int add_host(const char * host, const uint16_t port, const uint8_t mdns);
/* get_http_code */
static void * get_http_code(void * data);
+/* append_string */
+static char * append_string(char * string, const char *format, ...);
+/* status_page */
+static char * status_page(void);
/* ahc_echo */
static enum MHD_Result ahc_echo(void * cls,
struct MHD_Connection * connection,