diff options
author | ManikandanC <Manikandan.Chockalingam@in.bosch.com> | 2016-10-18 15:43:44 +0530 |
---|---|---|
committer | Christoph Lipka <clipka@users.noreply.github.com> | 2018-12-21 10:16:46 +0100 |
commit | e3c2501313d98ff9f4519116e6d2f36314e0240e (patch) | |
tree | d1472ee7047b598b4b25bb7c06748eaa6f9f61cf /src/offlinelogstorage/dlt_offline_logstorage.c | |
parent | 2262f8b3406ac903a37f96a63c6250de215d1866 (diff) | |
download | DLT-daemon-e3c2501313d98ff9f4519116e6d2f36314e0240e.tar.gz |
UnitTest: Updates
Gateway
Logstorage
Event Handler
Signed-off-by: Christoph Lipka <clipka@de.adit-jv.com>
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
Signed-off-by: Aditya Paluri <venkataaditya.paluri@in.bosch.com>
Signed-off-by: Saya Sugiura <ssugiura@jp.adit-jv.com>
Signed-off-by: ManikandanC <Manikandan.Chockalingam@in.bosch.com>
Diffstat (limited to 'src/offlinelogstorage/dlt_offline_logstorage.c')
-rw-r--r-- | src/offlinelogstorage/dlt_offline_logstorage.c | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/src/offlinelogstorage/dlt_offline_logstorage.c b/src/offlinelogstorage/dlt_offline_logstorage.c index 80dd3ec..c85af6e 100644 --- a/src/offlinelogstorage/dlt_offline_logstorage.c +++ b/src/offlinelogstorage/dlt_offline_logstorage.c @@ -32,6 +32,7 @@ #include <time.h> #include "dlt_offline_logstorage.h" +#include "dlt_offline_logstorage_internal.h" #include "dlt_offline_logstorage_behavior.h" #include "dlt_config_file_parser.h" @@ -41,36 +42,6 @@ #define GENERAL_BASE_NAME "General" -typedef struct { - char *key; /* The configuration key */ - int (*func)(DltLogStorage *handle, char *value); /* conf handler */ - int is_opt; /* If configuration is optional or not */ -} DltLogstorageGeneralConf; - -typedef enum { - DLT_LOGSTORAGE_GENERAL_CONF_COUNT = 0 -} DltLogstorageGeneralConfType; - -typedef struct { - char *key; /* Configuration key */ - int (*func)(DltLogStorageFilterConfig *config, char *value); /* conf handler */ - int is_opt; /* If configuration is optional or not */ -} DltLogstorageFilterConf; - -typedef enum { - DLT_LOGSTORAGE_FILTER_CONF_LOGAPPNAME = 0, - DLT_LOGSTORAGE_FILTER_CONF_CONTEXTNAME, - DLT_LOGSTORAGE_FILTER_CONF_LOGLEVEL, - DLT_LOGSTORAGE_FILTER_CONF_RESET_LOGLEVEL, - DLT_LOGSTORAGE_FILTER_CONF_FILE, - DLT_LOGSTORAGE_FILTER_CONF_FILESIZE, - DLT_LOGSTORAGE_FILTER_CONF_NOFILES, - DLT_LOGSTORAGE_FILTER_CONF_SYNCBEHAVIOR, - DLT_LOGSTORAGE_FILTER_CONF_ECUID, - DLT_LOGSTORAGE_FILTER_CONF_SPECIFIC_SIZE, - DLT_LOGSTORAGE_FILTER_CONF_COUNT -} DltLogstorageFilterConfType; - DLT_STATIC void dlt_logstorage_filter_config_free(DltLogStorageFilterConfig *data) { DltLogStorageFileList *n = NULL; |