summaryrefslogtreecommitdiffstats
path: root/mboxd.h
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2019-03-15 12:40:41 +1030
committerAndrew Jeffery <andrew@aj.id.au>2019-03-19 16:40:59 +1030
commit5320f6e02453261e6c75d3bef101ad1bef6de82e (patch)
tree28d3df48b8fb56021a2bda3b3a7f460a3f5a46a4 /mboxd.h
parenta042978b03c91ca3a716e99f313ef5cda42820ba (diff)
downloadphosphor-mboxbridge-5320f6e02453261e6c75d3bef101ad1bef6de82e.tar.gz
phosphor-mboxbridge-5320f6e02453261e6c75d3bef101ad1bef6de82e.zip
mboxd: Add backend DBus interface and commandline options
Also implement a backend commandline option to mboxctl: `mboxctl --backend ...`, to allow easy run-time switching of the backend from the commandline. Switching between VPNOR and file backends via mboxctl was tested on Witherspoon, and MTD and file backends on Romulus. Change-Id: Iaf0e27ecf1d5cdd9e3a31729fb179096bbc37408 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'mboxd.h')
-rw-r--r--mboxd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mboxd.h b/mboxd.h
index 7930242..ef4f5be 100644
--- a/mboxd.h
+++ b/mboxd.h
@@ -76,7 +76,7 @@ struct mbox_context {
struct backend backend;
/* Commandline parameters */
- const char *path;
+ const char *source;
/* System State */
enum mbox_state state;
OpenPOWER on IntegriCloud