blob: 37df82817f9b23619bd9a10a194b7e9c518723b6 [file] [log] [blame]
Andrew Jefferycc45aed2023-09-10 23:03:29 +09301#ifndef LIBPLDM_SRC_RESPONDER_H
2#define LIBPLDM_SRC_RESPONDER_H
3
4#include <libpldm/base.h>
5#include <libpldm/instance-id.h>
6
7#include <stdint.h>
8
9struct pldm_responder_cookie {
10 pldm_tid_t tid;
11 pldm_instance_id_t instance_id;
12 uint8_t type;
13 uint8_t command;
14 struct pldm_responder_cookie *next;
15};
16
17int pldm_responder_cookie_track(struct pldm_responder_cookie *jar,
18 struct pldm_responder_cookie *cookie);
19
20struct pldm_responder_cookie *
21pldm_responder_cookie_untrack(struct pldm_responder_cookie *jar, pldm_tid_t tid,
22 pldm_instance_id_t instance_id, uint8_t type,
23 uint8_t command);
24
25#endif