pdr: Stabilise pldm_entity_association_pdr_add_check()
Having done so, also deprecate pldm_entity_association_pdr_add().
Use of pldm_entity_association_pdr_add_check() is demonstrated here:
https://gerrit.openbmc.org/c/openbmc/pldm/+/65040
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I48dc71078d54685992b152fb3c37fbd8e247ece0
diff --git a/src/pdr.c b/src/pdr.c
index 23044a9..1a8c80b 100644
--- a/src/pdr.c
+++ b/src/pdr.c
@@ -908,7 +908,7 @@
terminus_handle, record_handle);
}
-LIBPLDM_ABI_STABLE
+LIBPLDM_ABI_DEPRECATED
void pldm_entity_association_pdr_add(pldm_entity_association_tree *tree,
pldm_pdr *repo, bool is_remote,
uint16_t terminus_handle)
@@ -919,7 +919,7 @@
assert(!rc);
}
-LIBPLDM_ABI_TESTING
+LIBPLDM_ABI_STABLE
int pldm_entity_association_pdr_add_check(pldm_entity_association_tree *tree,
pldm_pdr *repo, bool is_remote,
uint16_t terminus_handle)