libpldm: add APIs for PDR operations

Add APIs for PDR operations such as:
- Creating/destroying a PDR repository
- Adding record to a PDR repository
- Finding records in a PDR repository

Tested with unit tests.

Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: Ied6ae1755a1a249b563bf0fa953586789810b3dc
diff --git a/libpldm/meson.build b/libpldm/meson.build
index 63bd8ad..9d24b2c 100644
--- a/libpldm/meson.build
+++ b/libpldm/meson.build
@@ -15,7 +15,8 @@
   'bios.c',
   'bios_table.c',
   'fru.c',
-  'utils.c'
+  'utils.c',
+  'pdr.c'
 ]
 
 libpldm_headers = ['.', '..']