diff options
| author | Andrew Jeffery <andrew@aj.id.au> | 2018-08-09 14:56:08 +0930 |
|---|---|---|
| committer | Andrew Jeffery <andrew@aj.id.au> | 2018-09-12 15:05:51 +0930 |
| commit | 5335f0930db13a19e1c52b4f746e43db8f79fd76 (patch) | |
| tree | 7a8343e48fb9c0310059f03f4acfb6fae2ff1c35 /test | |
| parent | c48d07020273abbbb76817f3be899807aba020c3 (diff) | |
| download | phosphor-mboxbridge-5335f0930db13a19e1c52b4f746e43db8f79fd76.tar.gz phosphor-mboxbridge-5335f0930db13a19e1c52b4f746e43db8f79fd76.zip | |
protocol: Provide abstraction over event notification
How this works will be transport-dependent. Move the event notification
helpers into the protocol abstraction and call-back through the
registered flush handler as necessary.
Change-Id: I29e3a9a9785b92de46a2b2750257fb7f8480a184
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'test')
| -rw-r--r-- | test/bmc_event_ack_v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bmc_event_ack_v2.c b/test/bmc_event_ack_v2.c index 3bf1f37..c9056de 100644 --- a/test/bmc_event_ack_v2.c +++ b/test/bmc_event_ack_v2.c @@ -49,7 +49,7 @@ int main(void) rc = mbox_command_dispatch(ctx, get_info, sizeof(get_info)); assert(rc == 1); - set_bmc_events(ctx, FLAGS, SET_BMC_EVENT); + protocol_events_set(ctx, FLAGS, EVENT_TRIGGER); rc = mbox_command_dispatch(ctx, command, sizeof(command)); assert(rc == 1); |

