bios_table: Remove pldm_bios_table_attr_entry_enum_encode_check()
Deprecated prior to v0.9.0.
Change-Id: I693e37b1805b979d00ef76ca6ce8a26c1b7a3820
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0fbea16..a4b0f13 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -25,6 +25,7 @@
- `pldm_bios_table_attr_entry_enum_decode_def_num_check()`
- `pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()`
- `pldm_bios_table_attr_entry_enum_decode_pv_num_check()`
+ - `pldm_bios_table_attr_entry_enum_encode_check()`
## [0.9.1] - 2024-09-07
diff --git a/abi/x86_64/gcc.dump b/abi/x86_64/gcc.dump
index c044169..7f90f54 100644
--- a/abi/x86_64/gcc.dump
+++ b/abi/x86_64/gcc.dump
@@ -1598,7 +1598,7 @@
},
'17310' => {
'Header' => 'bios_table.h',
- 'Line' => '661',
+ 'Line' => '658',
'Param' => {
'0' => {
'name' => 'table',
@@ -1618,7 +1618,7 @@
},
'17455' => {
'Header' => 'bios_table.h',
- 'Line' => '652',
+ 'Line' => '649',
'Param' => {
'0' => {
'name' => 'src_table',
@@ -1654,7 +1654,7 @@
},
'18143' => {
'Header' => 'bios_table.h',
- 'Line' => '618',
+ 'Line' => '615',
'Param' => {
'0' => {
'name' => 'table',
@@ -1847,7 +1847,7 @@
},
'20633' => {
'Header' => 'bios_table.h',
- 'Line' => '637',
+ 'Line' => '634',
'Param' => {
'0' => {
'name' => 'table',
@@ -1872,7 +1872,7 @@
},
'20933' => {
'Header' => 'bios_table.h',
- 'Line' => '625',
+ 'Line' => '622',
'Param' => {
'0' => {
'name' => 'size_without_pad',
@@ -1884,7 +1884,7 @@
},
'21288' => {
'Header' => 'bios_table.h',
- 'Line' => '600',
+ 'Line' => '597',
'Param' => {
'0' => {
'name' => 'entry',
@@ -1899,7 +1899,7 @@
},
'21337' => {
'Header' => 'bios_table.h',
- 'Line' => '607',
+ 'Line' => '604',
'Param' => {
'0' => {
'name' => 'entry',
@@ -1911,7 +1911,7 @@
},
'21821' => {
'Header' => 'bios_table.h',
- 'Line' => '569',
+ 'Line' => '566',
'Param' => {
'0' => {
'name' => 'entry',
@@ -1926,7 +1926,7 @@
},
'21961' => {
'Header' => 'bios_table.h',
- 'Line' => '585',
+ 'Line' => '582',
'Param' => {
'0' => {
'name' => 'entry',
@@ -1961,13 +1961,13 @@
},
'22230' => {
'Header' => 'bios_table.h',
- 'Line' => '563',
+ 'Line' => '560',
'Return' => '1145',
'ShortName' => 'pldm_bios_table_attr_value_entry_encode_integer_length'
},
'22392' => {
'Header' => 'bios_table.h',
- 'Line' => '553',
+ 'Line' => '550',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2007,7 +2007,7 @@
},
'22792' => {
'Header' => 'bios_table.h',
- 'Line' => '534',
+ 'Line' => '531',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2023,7 +2023,7 @@
},
'22887' => {
'Header' => 'bios_table.h',
- 'Line' => '524',
+ 'Line' => '521',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2038,7 +2038,7 @@
},
'23028' => {
'Header' => 'bios_table.h',
- 'Line' => '518',
+ 'Line' => '515',
'Param' => {
'0' => {
'name' => 'string_length',
@@ -2053,7 +2053,7 @@
},
'23210' => {
'Header' => 'bios_table.h',
- 'Line' => '505',
+ 'Line' => '502',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2090,7 +2090,7 @@
},
'23529' => {
'Header' => 'bios_table.h',
- 'Line' => '486',
+ 'Line' => '483',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2110,7 +2110,7 @@
},
'23776' => {
'Header' => 'bios_table.h',
- 'Line' => '476',
+ 'Line' => '473',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2125,7 +2125,7 @@
},
'23825' => {
'Header' => 'bios_table.h',
- 'Line' => '470',
+ 'Line' => '467',
'Param' => {
'0' => {
'name' => 'count',
@@ -2140,7 +2140,7 @@
},
'23874' => {
'Header' => 'bios_table.h',
- 'Line' => '463',
+ 'Line' => '460',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2155,7 +2155,7 @@
},
'23923' => {
'Header' => 'bios_table.h',
- 'Line' => '456',
+ 'Line' => '453',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2170,7 +2170,7 @@
},
'24470' => {
'Header' => 'bios_table.h',
- 'Line' => '448',
+ 'Line' => '445',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2205,7 +2205,7 @@
},
'24606' => {
'Header' => 'bios_table.h',
- 'Line' => '433',
+ 'Line' => '430',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2230,7 +2230,7 @@
},
'24878' => {
'Header' => 'bios_table.h',
- 'Line' => '414',
+ 'Line' => '411',
'Param' => {
'0' => {
'name' => 'info',
@@ -2246,13 +2246,13 @@
},
'25182' => {
'Header' => 'bios_table.h',
- 'Line' => '421',
+ 'Line' => '418',
'Return' => '1145',
'ShortName' => 'pldm_bios_table_attr_entry_integer_encode_length'
},
'25358' => {
'Header' => 'bios_table.h',
- 'Line' => '388',
+ 'Line' => '385',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2275,7 +2275,7 @@
},
'25652' => {
'Header' => 'bios_table.h',
- 'Line' => '380',
+ 'Line' => '377',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2290,7 +2290,7 @@
},
'25721' => {
'Header' => 'bios_table.h',
- 'Line' => '372',
+ 'Line' => '369',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2305,7 +2305,7 @@
},
'25790' => {
'Header' => 'bios_table.h',
- 'Line' => '364',
+ 'Line' => '361',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2320,7 +2320,7 @@
},
'25859' => {
'Header' => 'bios_table.h',
- 'Line' => '353',
+ 'Line' => '350',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2340,7 +2340,7 @@
},
'25947' => {
'Header' => 'bios_table.h',
- 'Line' => '339',
+ 'Line' => '336',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2364,7 +2364,7 @@
},
'26311' => {
'Header' => 'bios_table.h',
- 'Line' => '318',
+ 'Line' => '315',
'Param' => {
'0' => {
'name' => 'info',
@@ -2383,7 +2383,7 @@
},
'26580' => {
'Header' => 'bios_table.h',
- 'Line' => '326',
+ 'Line' => '323',
'Param' => {
'0' => {
'name' => 'def_str_len',
@@ -2398,7 +2398,7 @@
},
'26830' => {
'Header' => 'bios_table.h',
- 'Line' => '292',
+ 'Line' => '289',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2422,7 +2422,7 @@
},
'27127' => {
'Header' => 'bios_table.h',
- 'Line' => '280',
+ 'Line' => '277',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2447,7 +2447,7 @@
},
'27292' => {
'Header' => 'bios_table.h',
- 'Line' => '263',
+ 'Line' => '260',
'Param' => {
'0' => {
'name' => 'entry',
@@ -2467,7 +2467,7 @@
},
'27372' => {
'Header' => 'bios_table.h',
- 'Line' => '253',
+ 'Line' => '250',
'Param' => {
'0' => {
'name' => 'entry',
@@ -9505,7 +9505,6 @@
'pldm_bios_table_attr_entry_enum_decode_pv_hdls' => 1,
'pldm_bios_table_attr_entry_enum_decode_pv_num' => 1,
'pldm_bios_table_attr_entry_enum_encode' => 1,
- 'pldm_bios_table_attr_entry_enum_encode_check' => 1,
'pldm_bios_table_attr_entry_enum_encode_length' => 1,
'pldm_bios_table_attr_entry_integer_decode' => 1,
'pldm_bios_table_attr_entry_integer_encode' => 1,
@@ -10446,7 +10445,7 @@
},
'16420' => {
'Header' => 'bios_table.h',
- 'Line' => '302',
+ 'Line' => '299',
'Memb' => {
'0' => {
'name' => 'name_handle',
@@ -10496,7 +10495,7 @@
},
'16542' => {
'Header' => 'bios_table.h',
- 'Line' => '398',
+ 'Line' => '395',
'Memb' => {
'0' => {
'name' => 'name_handle',
diff --git a/include/libpldm/bios_table.h b/include/libpldm/bios_table.h
index 63a27b4..6ec430e 100644
--- a/include/libpldm/bios_table.h
+++ b/include/libpldm/bios_table.h
@@ -205,7 +205,7 @@
/** @struct pldm_bios_table_attr_entry_enum_info
*
* An auxiliary structure for passing parameters to @ref
- * pldm_bios_table_attr_entry_enum_encode_check
+ * pldm_bios_table_attr_entry_enum_encode
*
*/
struct pldm_bios_table_attr_entry_enum_info {
@@ -239,9 +239,6 @@
int pldm_bios_table_attr_entry_enum_encode(
void *entry, size_t entry_length,
const struct pldm_bios_table_attr_entry_enum_info *info);
-int pldm_bios_table_attr_entry_enum_encode_check(
- void *entry, size_t entry_length,
- const struct pldm_bios_table_attr_entry_enum_info *info);
/** @brief Get the total number of possible values for the entry and check the
* validity of the parameters
diff --git a/meson.build b/meson.build
index f2cc6dd..a4b7160 100644
--- a/meson.build
+++ b/meson.build
@@ -37,10 +37,6 @@
libpldm_deprecated_aliases += [
['get_fru_record_by_option_check', 'get_fru_record_by_option'],
[
- 'pldm_bios_table_attr_entry_enum_encode_check',
- 'pldm_bios_table_attr_entry_enum_encode',
- ],
- [
'pldm_bios_table_attr_entry_integer_encode_check',
'pldm_bios_table_attr_entry_integer_encode',
],