From 943aba060f143667d502792f11e95f42bc7da346 Mon Sep 17 00:00:00 2001 From: Andrew Jeffery Date: Mon, 26 Mar 2018 15:37:33 +1030 Subject: 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 --- vpnor/mboxd_msg.hpp | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 vpnor/mboxd_msg.hpp (limited to 'vpnor/mboxd_msg.hpp') 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]; +}; -- cgit v1.2.1