diff options
author | Frederic Berat <fberat@de.adit-jv.com> | 2015-10-07 19:35:25 +0900 |
---|---|---|
committer | Lutz Helwing <lutz_helwing@mentor.com> | 2015-11-24 09:48:42 +0100 |
commit | 5574d46a4083d783a915688e0e05593b9558497b (patch) | |
tree | 27284c79587b1576703424fb68d71e09d552b259 /src/console/logstorage/dlt-logstorage-prop.h | |
parent | 8ed28dc15429a736c8404d491ed73fd0b04235e2 (diff) | |
download | DLT-daemon-5574d46a4083d783a915688e0e05593b9558497b.tar.gz |
Control application: Control appliction to support offline log storage trigger
Features :
1. One shot trigger with path
2. Automounter based trigger
3. Udev based trigger
Signed-off-by: Frederic Berat <fberat@de.adit-jv.com>
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com>
Signed-off-by: anitha.ba <anithaammaji.baggam@in.bosch.com>
Signed-off-by: S. Hameed <shameed@jp.adit-jv.com>
Diffstat (limited to 'src/console/logstorage/dlt-logstorage-prop.h')
-rw-r--r-- | src/console/logstorage/dlt-logstorage-prop.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/src/console/logstorage/dlt-logstorage-prop.h b/src/console/logstorage/dlt-logstorage-prop.h new file mode 100644 index 0000000..836dc99 --- /dev/null +++ b/src/console/logstorage/dlt-logstorage-prop.h @@ -0,0 +1,72 @@ +/** + * @licence app begin@ + * Copyright (C) 2013 - 2015 Advanced Driver Information Technology. + * This code is developed by Advanced Driver Information Technology. + * Copyright of Advanced Driver Information Technology, Bosch and DENSO. + * + * This file is part of GENIVI Project Dlt - Diagnostic Log and Trace console apps. + * + * \copyright + * This Source Code Form is subject to the terms of the + * Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with + * this file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + * \author Christoph Lipka <clipka@jp.adit-jv.com> ADIT 2015 + * \author Frederic Berat <fberat@de.adit-jv.com> ADIT 2015 + * + * \file dlt-logstorage-udev.h + * For further information see http://www.genivi.org/. + * @licence end@ + */ + +#ifndef _DLT_LOGSTORAGE_PROP_H_ +#define _DLT_LOGSTORAGE_PROP_H_ + +#ifndef HAS_PROPRIETARY_LOGSTORAGE +/** @brief Initialize proprietary connection + * + * @return 0 + */ +static inline int dlt_logstorage_prop_init(void) { + return 0; +} + +/** @brief Clean-up proprietary connection + * + * @return 0 + */ +static inline int dlt_logstorage_prop_deinit(void) { + return 0; +} + +/** @brief Check whether user wants to use proprietary handler + * + * @return 0 + */ +static inline int check_proprietary_handling(char *type) { + (void)type; return 0; +} +#else +/** + * Initialize proprietary connection + * + * @return 0 on success, -1 on error + */ +int dlt_logstorage_prop_init(void); + +/** + * Clean-up proprietary connection + * + * @return 0 on success, -1 on error + */ +int dlt_logstorage_prop_deinit(void); + +/** + * Check whether user wants to use proprietary event handler + * + * @return 1 if yes, 0 either. + */ +int check_proprietary_handling(char *); +#endif /* HAS_PROPRIETARY_LOGSTORAGE */ + +#endif /* _DLT_LOGSTORAGE_PROP_H_ */ |