add constructor to DeviceOptions

This commit is contained in:
Alexey Rybalchenko
2015-01-15 13:26:15 +01:00
committed by Florian Uhlig
parent ce58ee2302
commit eb33bc8280
11 changed files with 47 additions and 0 deletions

View File

@@ -53,6 +53,10 @@ static void s_catch_signals(void)
typedef struct DeviceOptions
{
DeviceOptions() :
id(), eventSize(0), eventRate(0), ioThreads(0),
outputSocketType(), outputBufSize(0), outputMethod(), outputAddress() {}
string id;
int eventSize;
int eventRate;