xref: /openbmc/libmctp/control.h (revision 4058b2cb7141f1193b76f34ac6376bf9532217b8)
1*4058b2cbSMatt Johnston #pragma once
2*4058b2cbSMatt Johnston 
3*4058b2cbSMatt Johnston #include <stdint.h>
4*4058b2cbSMatt Johnston #include <stdbool.h>
5*4058b2cbSMatt Johnston 
6*4058b2cbSMatt Johnston #include "libmctp.h"
7*4058b2cbSMatt Johnston 
8*4058b2cbSMatt Johnston /* Handle a MCTP control message. Returns true for control requests,
9*4058b2cbSMatt Johnston  * false otherwise */
10*4058b2cbSMatt Johnston bool mctp_control_handler(struct mctp_bus *bus, uint8_t src_eid, bool tag_owner,
11*4058b2cbSMatt Johnston 			  uint8_t msg_tag, const void *data, size_t len);
12