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