summaryrefslogtreecommitdiffstats
path: root/workspace/customdhcpcd/src/dhcpcd.h
diff options
context:
space:
mode:
authorNiklas2011-07-14 16:59:40 +0200
committerNiklas2011-07-14 16:59:40 +0200
commit635d6f901892cb7df028eb41f3d727e569a3af7e (patch)
tree1aa43facc6fc4eee386013556b663eb9e53d2035 /workspace/customdhcpcd/src/dhcpcd.h
parentmultiple clients possible. inserted something into _send_message (diff)
downloadfbgui-635d6f901892cb7df028eb41f3d727e569a3af7e.tar.gz
fbgui-635d6f901892cb7df028eb41f3d727e569a3af7e.tar.xz
fbgui-635d6f901892cb7df028eb41f3d727e569a3af7e.zip
customdhcpcd is now compiling and can communicate with the LogReceiver
started to implement the QProcess handling (parallel calls of dhcpcd out of fbgui/LogReceiver)
Diffstat (limited to 'workspace/customdhcpcd/src/dhcpcd.h')
-rw-r--r--workspace/customdhcpcd/src/dhcpcd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/workspace/customdhcpcd/src/dhcpcd.h b/workspace/customdhcpcd/src/dhcpcd.h
index 0b41ead..7deb5b7 100644
--- a/workspace/customdhcpcd/src/dhcpcd.h
+++ b/workspace/customdhcpcd/src/dhcpcd.h
@@ -40,6 +40,11 @@
#define DEFAULT_TIMEOUT 20
#define DEFAULT_LEASETIME 3600 /* 1 hour */
+/* added by Niklas Goby, additional field, storing the socket address path for
+ * communicating with Qt "server" */
+#define DEFAULT_QTSOCKETADDRESS "/var/tmp/qt_c_socket_default"
+#define QTSOCKETADDRESSLENGTH 255
+
#define CLASS_ID_MAX_LEN 48
#define CLIENT_ID_MAX_LEN 48
#define USERCLASS_MAX_LEN 255
@@ -52,6 +57,10 @@ extern char *dhcpcd_skiproutes;
#endif
typedef struct options_t {
+ /* added by Niklas Goby, additional field, storing the socket address path for
+ * communicating with Qt "server" */
+ char qtsocketaddress[QTSOCKETADDRESSLENGTH];
+ /*----*/
char interface[IF_NAMESIZE];
char hostname[MAXHOSTNAMELEN];
int fqdn;