diff options
author | Jerry Trieu <jerry@advancedtelematic.com> | 2016-03-17 16:17:49 +0100 |
---|---|---|
committer | Jerry Trieu <jerry@advancedtelematic.com> | 2016-03-22 14:24:35 +0100 |
commit | aa02618f048140110127b6fb3c37c5b482bd48dd (patch) | |
tree | 958c818d0afcc26ca2ea9ff525e836ca43172d64 | |
parent | 58f4de456bbe744b10cc69865aa04aa974297418 (diff) | |
download | rvi_sota_client-aa02618f048140110127b6fb3c37c5b482bd48dd.tar.gz |
Move persistence.rs to src/remote/dw.rs
-rw-r--r-- | src/lib.rs | 1 | ||||
-rw-r--r-- | src/remote/dw.rs (renamed from src/persistence.rs) | 0 | ||||
-rw-r--r-- | src/remote/mod.rs | 1 | ||||
-rw-r--r-- | src/remote/parm.rs | 5 | ||||
-rw-r--r-- | src/remote/svc.rs | 2 |
5 files changed, 5 insertions, 4 deletions
@@ -61,7 +61,6 @@ macro_rules! try_msg_or { mod base; mod event; mod remote; -mod persistence; pub mod configuration; pub mod genivi; diff --git a/src/persistence.rs b/src/remote/dw.rs index bf7b296..bf7b296 100644 --- a/src/persistence.rs +++ b/src/remote/dw.rs diff --git a/src/remote/mod.rs b/src/remote/mod.rs index a5b8221..eff51fc 100644 --- a/src/remote/mod.rs +++ b/src/remote/mod.rs @@ -1,2 +1,3 @@ +mod dw; mod parm; pub mod svc; diff --git a/src/remote/parm.rs b/src/remote/parm.rs index 44a7b86..0b7d975 100644 --- a/src/remote/parm.rs +++ b/src/remote/parm.rs @@ -1,7 +1,8 @@ use event::UpdateId; use event::inbound::{InboundEvent, UpdateAvailable, GetInstalledSoftware, DownloadComplete}; -use persistence::Transfers; -pub use super::svc::{LocalServices, BackendServices, RemoteServices, ServiceHandler}; + +use super::dw::Transfers; +use super::svc::{BackendServices, RemoteServices}; use std::result; use std::sync::Mutex; diff --git a/src/remote/svc.rs b/src/remote/svc.rs index d50774f..92cb984 100644 --- a/src/remote/svc.rs +++ b/src/remote/svc.rs @@ -22,7 +22,7 @@ use event::outbound::{UpdateReport, InstalledSoftware}; use super::parm::{NotifyParams, StartParams, ChunkParams, ChunkReceived, FinishParams}; use super::parm::{ReportParams, AbortParams, ParamHandler}; -use persistence::Transfers; +use super::dw::Transfers; use configuration::Configuration; /// Encodes the list of service URLs the client registered. |