requester: Expose pldm_close() in header
The function was defined in the source but not visible in the header.
Make it so such that we don't have to forward-declare it in the source.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I1552a69a0f7a44bb69afb1b4adcb90427eeecc15
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9fb57b4..52ae6ed 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,7 @@
### Changed
1. requester: Mark pldm_close() as LIBPLDM_ABI_TESTING
+2. requester: Expose pldm_close() in header
### Removed
diff --git a/include/libpldm/requester/pldm.h b/include/libpldm/requester/pldm.h
index 9e3b08d..d7e2a0e 100644
--- a/include/libpldm/requester/pldm.h
+++ b/include/libpldm/requester/pldm.h
@@ -111,6 +111,11 @@
uint8_t **pldm_resp_msg,
size_t *resp_msg_len);
+/**
+ * @brief Shutdown the MCTP socket
+ */
+void pldm_close(void);
+
#ifdef __cplusplus
}
#endif