summaryrefslogtreecommitdiffstats
path: root/workspace/customdhcpcd/src/logwriter.h
blob: 7248fed10b863a1593155b298bccfaaea61b5457 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * logwriter.h
 *
 *  Created on: Jul 7, 2011
 *      Author: niklas
 */

#ifndef LOGWRITER_H_
#define LOGWRITER_H_

/**
 * new functions for communicating with Qt
 */
void setSocketName(char * sn);
void setInterfaceName(char * in);
void initQtLoggerSocket ();
void closeQtLoggerSocket ();
void logToQt(char * status, char * substatus, char * msg);
void logToQt(int status, int substatus, char * msg);
void sendToQt ();

#endif /* LOGWRITER_H_ */