summaryrefslogtreecommitdiff
path: root/RedfishPkg/RedfishPkg.dec
diff options
context:
space:
mode:
authorAbner Chang <abner.chang@hpe.com>2020-12-04 23:59:59 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-01-09 03:08:51 +0000
commitea830b96fd271ab141a2e9d375fb13ba2f845d16 (patch)
tree600018bfd6a51b8cbcd176b40c99f38e8797197b /RedfishPkg/RedfishPkg.dec
parent6e9233f968735219b2038c5dd23a46be2c021807 (diff)
downloadedk2-ea830b96fd271ab141a2e9d375fb13ba2f845d16.zip
edk2-ea830b96fd271ab141a2e9d375fb13ba2f845d16.tar.gz
edk2-ea830b96fd271ab141a2e9d375fb13ba2f845d16.tar.bz2
RedfishPkg/library: EDK2 port of jansson library
edk2 JsonLib which is the edk2 port of open source jansson library. (https://github.com/akheron/jansson) jansson library is the open source project to manipulate JSON data structure. Signed-off-by: Abner Chang <abner.chang@hpe.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Nickle Wang <nickle.wang@hpe.com> Cc: Peter O'Hanley <peter.ohanley@hpe.com> Reviewed-by: Nickle Wang <nickle.wang@hpe.com> Acked-by: Leif Lindholm <leif@nuviainc.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'RedfishPkg/RedfishPkg.dec')
-rw-r--r--RedfishPkg/RedfishPkg.dec12
1 files changed, 12 insertions, 0 deletions
diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec
index 9f8b857..2985676 100644
--- a/RedfishPkg/RedfishPkg.dec
+++ b/RedfishPkg/RedfishPkg.dec
@@ -19,6 +19,13 @@
[Includes.Common.Private]
PrivateInclude # Private header files for C RTL.
PrivateInclude/Crt # Private header files for C RTL.
+ Library/JsonLib # Private header files for jansson
+ # configuration files.
+ # - jansson_config.h
+ # - jansson_private_config.h
+ # jansson.h refers to above two configuration
+ # files for building platform jansson library.
+ Library/JsonLib/jansson/src # For referring to jannson.h
[LibraryClasses]
## @libraryclass Platform Redfish Host Interface Library
@@ -38,6 +45,11 @@
# This library is only intended to be used by UEFI network stack modules.
RestExLib|Include/Library/RestExLib.h
+ ## @libraryclass Provides the library functions based on third party
+ # jansson library to manipulate JSON data structure.
+ #
+ JsonLib|Include/Library/JsonLib.h
+
[LibraryClasses.Common.Private]
## @libraryclass Provides the private C runtime library functions.
# CRT library is currently used by edk2 JsonLib (open source