path: root/vpnor/mboxd_msg.hpp
diff options
authorAndrew Jeffery <>2018-03-26 15:37:33 +1030
committerAndrew Jeffery <>2018-04-04 17:27:31 +0930
commit943aba060f143667d502792f11e95f42bc7da346 (patch)
tree2cc5dcc7e4e82a1672daa3fec77f2df0c8fac738 /vpnor/mboxd_msg.hpp
parentefb09def5e21959972adde9f5c092f1840eff908 (diff)
vpnor: Configure a handler table in init_vpnor()
Currently the table just mirrors that which is set by the regular implementation, however getting to that point requires massaging the code a little. Thus, separate out this change from one that changes the behaviour of the commands to improve the readability of the latter change. Change-Id: I4007a8a4d508c6d850b8cc878bab8f72bd343498 Signed-off-by: Andrew Jeffery <>
Diffstat (limited to 'vpnor/mboxd_msg.hpp')
1 files changed, 5 insertions, 0 deletions
diff --git a/vpnor/mboxd_msg.hpp b/vpnor/mboxd_msg.hpp
new file mode 100644
index 0000000..7485c38
--- /dev/null
+++ b/vpnor/mboxd_msg.hpp
@@ -0,0 +1,5 @@
+extern "C" {
+#include "mbox.h"
+extern const mboxd_mbox_handler vpnor_mbox_handlers[NUM_MBOX_CMDS];
OpenPOWER on IntegriCloud