summaryrefslogtreecommitdiffstats
path: root/customdhcpcd/src/logwriter.h
diff options
context:
space:
mode:
authorNiklas2011-09-02 17:06:02 +0200
committerNiklas2011-09-02 17:06:02 +0200
commit603f6e47b2be2b5e03e63f6bee9c6364c92a251e (patch)
tree1cc7c4583e54691b031fe9de3a5e68f7a4bbddf3 /customdhcpcd/src/logwriter.h
parentjust minor changes. deltions of unuseful comments (diff)
downloadfbgui-603f6e47b2be2b5e03e63f6bee9c6364c92a251e.tar.gz
fbgui-603f6e47b2be2b5e03e63f6bee9c6364c92a251e.tar.xz
fbgui-603f6e47b2be2b5e03e63f6bee9c6364c92a251e.zip
added a new container class which holds config informations about an interface. also solved the message loss problem by setting the read an writing messages to the same size
Diffstat (limited to 'customdhcpcd/src/logwriter.h')
-rw-r--r--customdhcpcd/src/logwriter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/customdhcpcd/src/logwriter.h b/customdhcpcd/src/logwriter.h
index bb834cb..7e41411 100644
--- a/customdhcpcd/src/logwriter.h
+++ b/customdhcpcd/src/logwriter.h
@@ -8,6 +8,9 @@
#ifndef LOGWRITER_H_
#define LOGWRITER_H_
+#include <arpa/inet.h>
+#include "dhcp.h"
+#include "interface.h"
#include "dhcpcd.h"
#define LOG_MSG_SIZE 1024
@@ -32,6 +35,6 @@ void logToQt(int status, int substatus, const char * msg);
void logSendToQt(int type);
void logLoggerToQt(int level, const char *fmt, va_list args);
//void logToQt(char * status, char * substatus, char * msg);
-void logGatewayToFile(const interface_t iface, const dhcp_t dhcp);
+void logGatewayToFile(const interface_t *iface, const dhcp_t *dhcp);
#endif /* LOGWRITER_H_ */