diff --git a/pandora_agents/win32/modules/pandora_module.cc b/pandora_agents/win32/modules/pandora_module.cc index fa77cf548d..a1936912f2 100644 --- a/pandora_agents/win32/modules/pandora_module.cc +++ b/pandora_agents/win32/modules/pandora_module.cc @@ -213,6 +213,8 @@ Pandora_Module::parseModuleTypeFromString (string type) { return TYPE_ASYNC_STRING; } else if (type == module_log_str) { return TYPE_LOG; + } else if (type == module_generic_data_inc_abs_str) { + return TYPE_GENERIC_DATA_INC_ABS; } else { return TYPE_0; } diff --git a/pandora_agents/win32/modules/pandora_module.h b/pandora_agents/win32/modules/pandora_module.h index 3d0905a7b0..4303b88eec 100644 --- a/pandora_agents/win32/modules/pandora_module.h +++ b/pandora_agents/win32/modules/pandora_module.h @@ -50,7 +50,9 @@ namespace Pandora_Modules { TYPE_ASYNC_DATA, /**< Asynchronous generic_data */ TYPE_ASYNC_PROC, /**< Asynchronous generic_proc */ TYPE_ASYNC_STRING, /**< Asynchronous generic_data_string */ - TYPE_LOG /**< Log data */ + TYPE_LOG, /**< Log data */ + TYPE_GENERIC_DATA_INC_ABS /**< The value is an integer with + * incremental diferences (timestamps are ignored) */ } Module_Type; const string module_generic_data_str = "generic_data"; @@ -61,6 +63,7 @@ namespace Pandora_Modules { const string module_async_proc_str = "async_proc"; const string module_async_string_str = "async_string"; const string module_log_str = "log"; + const string module_generic_data_inc_abs_str = "generic_data_inc_abs"; /** * Defines the kind of the module.