From 5574d46a4083d783a915688e0e05593b9558497b Mon Sep 17 00:00:00 2001 From: Frederic Berat Date: Wed, 7 Oct 2015 19:35:25 +0900 Subject: 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 Signed-off-by: Christoph Lipka Signed-off-by: anitha.ba Signed-off-by: S. Hameed --- src/console/logstorage/dlt-logstorage-udev.h | 39 ++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/console/logstorage/dlt-logstorage-udev.h (limited to 'src/console/logstorage/dlt-logstorage-udev.h') diff --git a/src/console/logstorage/dlt-logstorage-udev.h b/src/console/logstorage/dlt-logstorage-udev.h new file mode 100644 index 0000000..d202453 --- /dev/null +++ b/src/console/logstorage/dlt-logstorage-udev.h @@ -0,0 +1,39 @@ +/** + * @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 ADIT 2015 + * \author Frederic Berat ADIT 2015 + * + * \file dlt-logstorage-udev.h + * For further information see http://www.genivi.org/. + * @licence end@ + */ + +#ifndef _DLT_LOGSTORAGE_UDEV_H_ +#define _DLT_LOGSTORAGE_UDEV_H_ + +/** + * Initialize udev connection + * + * @return 0 on success, -1 on error + */ +int dlt_logstorage_udev_init(void); + +/** + * Clean-up udev connection + * + * @return 0 on success, -1 on error + */ +int dlt_logstorage_udev_deinit(void); + +#endif -- cgit v1.2.1