summaryrefslogtreecommitdiff
path: root/src/daemon/dlt_daemon_offline_logstorage.h
diff options
context:
space:
mode:
authorChristoph Lipka <clipka@jp.adit-jv.com>2016-03-16 16:05:53 +0900
committerGernot Wirschal <gernot.wirschal@bmw.de>2016-04-25 14:34:34 +0200
commitbc09757d465d4ee5728157dce4fed0f71841daa7 (patch)
treec65dbe20fe43dc36e480ca85b74b41aa812e5de2 /src/daemon/dlt_daemon_offline_logstorage.h
parentab443bc109f1d6a957fc5a85cd0efc566299bd4d (diff)
downloadDLT-daemon-bc09757d465d4ee5728157dce4fed0f71841daa7.tar.gz
Offline logstorage: On Demand triggering for syncing Logstorage cache and support long options
Signed-off-by: Christoph Lipka <clipka@jp.adit-jv.com> Change-Id: I2bac5e48a5d210b544a96fe96dc322f28ac472fe
Diffstat (limited to 'src/daemon/dlt_daemon_offline_logstorage.h')
-rw-r--r--src/daemon/dlt_daemon_offline_logstorage.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/daemon/dlt_daemon_offline_logstorage.h b/src/daemon/dlt_daemon_offline_logstorage.h
index 148abd0..3ab092a 100644
--- a/src/daemon/dlt_daemon_offline_logstorage.h
+++ b/src/daemon/dlt_daemon_offline_logstorage.h
@@ -150,4 +150,34 @@ int dlt_daemon_logstorage_cleanup(DltDaemon *daemon,
DltDaemonLocal *daemon_local,
int verbose);
+/**
+ * Sync logstorage caches
+ *
+ * @param daemon Pointer to Dlt Daemon structure
+ * @param daemon_local Pointer to Dlt Daemon Local structure
+ * @param mount_point Logstorage device mount point
+ * @param verbose If set to true verbose information is printed out
+ * @return 0 on success, -1 otherwise
+ */
+int dlt_daemon_logstorage_sync_cache(DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ char *mnt_point,
+ int verbose);
+
+/**
+ * dlt_logstorage_get_device
+ *
+ * Get a Logstorage device handle for given the mount point.
+ *
+ * @param daemon Pointer to Dlt Daemon structure
+ * @param daemon_local Pointer to Dlt Daemon Local structure
+ * @param mount_point Logstorage device mount point
+ * @param verbose If set to true verbose information is printed out
+ * @return handle to Logstorage device on success, NULL otherwise
+ */
+DltLogStorage *dlt_daemon_logstorage_get_device(DltDaemon *daemon,
+ DltDaemonLocal *daemon_local,
+ char *mnt_point,
+ int verbose);
+
#endif /* DLT_DAEMON_OFFLINE_LOGSTORAGE_H */