diff options
Diffstat (limited to 'workspace/customdhcpcd/src/logwriter.h')
| -rw-r--r-- | workspace/customdhcpcd/src/logwriter.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/workspace/customdhcpcd/src/logwriter.h b/workspace/customdhcpcd/src/logwriter.h deleted file mode 100644 index 1a755fc..0000000 --- a/workspace/customdhcpcd/src/logwriter.h +++ /dev/null @@ -1,37 +0,0 @@ -/* - * logwriter.h - * - * Created on: Jul 7, 2011 - * Author: niklas - */ - -#ifndef LOGWRITER_H_ -#define LOGWRITER_H_ - -#include "dhcpcd.h" - -#define LOG_MSG_SIZE 1024 - -typedef struct _log_msg log_msg; -struct _log_msg { - int status; - int substatus; - char device[IF_NAMESIZE]; - char msg[LOG_MSG_SIZE]; -}; - -/** - * new functions for communicating with Qt - */ -void setSocketName(const char * sn); -void setInterfaceName(const char * in); -int initQtLoggerSocket (); -void closeQtLoggerSocket (); -void sendToQt (); -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); - - -#endif /* LOGWRITER_H_ */ |
