automotive-dlt
|
Go to the source code of this file.
Functions | |
int | dlt_logstorage_udev_init (void) |
Initialize the private data. More... | |
int | dlt_logstorage_udev_deinit (void) |
Clean-up the udev data. More... | |
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.
For further information see http://www.genivi.org/. end@
Definition in file dlt-logstorage-udev.h.
int dlt_logstorage_udev_deinit | ( | void | ) |
Clean-up the udev data.
Clean-up udev connection
That will destroy all the private data.
Definition at line 340 of file dlt-logstorage-udev.c.
References get_logstorage_control(), lctrl, LogstorageCtrlUdev::mon, NULL, DltLogstorageCtrl::prvt, and LogstorageCtrlUdev::udev.
Referenced by dlt_logstorage_deinit_handler(), and dlt_logstorage_udev_init().
int dlt_logstorage_udev_init | ( | void | ) |
Initialize the private data.
Initialize udev connection
That function will create the udev device and monitor.
Definition at line 374 of file dlt-logstorage-udev.c.
References DltLogstorageCtrl::callback, dlt_logstorage_udev_check_mounted(), dlt_logstorage_udev_deinit(), DltLogstorageCtrl::fd, get_logstorage_control(), lctrl, logstorage_udev_udevd_callback(), LogstorageCtrlUdev::mon, NULL, pr_error, pr_verbose, DltLogstorageCtrl::prvt, and LogstorageCtrlUdev::udev.
Referenced by dlt_logstorage_init_handler().