summaryrefslogtreecommitdiffstats
path: root/RedfishPkg/RedfishPkg.dec
diff options
context:
space:
mode:
authorAbner Chang <abner.chang@hpe.com>2020-12-04 12:30:05 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-01-09 03:08:51 +0000
commit6e9233f968735219b2038c5dd23a46be2c021807 (patch)
treeb670be263c6cb774c6c9714501fba286cc10d3f4 /RedfishPkg/RedfishPkg.dec
parenta88731d5453fedaa389827139abc3c22a99ec460 (diff)
downloadedk2-6e9233f968735219b2038c5dd23a46be2c021807.tar.gz
edk2-6e9233f968735219b2038c5dd23a46be2c021807.tar.bz2
edk2-6e9233f968735219b2038c5dd23a46be2c021807.zip
RedfishPkg/RedfishCrtLib: Redfish C runtime library
Redfish CRT library is currently used by edk2 JsonLib (open source jansson project) and edk2 RedfishLib (libredfish open source project). Redfish CrtLib library provides the necessary C runtime equivalent edk2 functions for open source projects. 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 4cae8c3a4a..9f8b85778d 100644
--- a/RedfishPkg/RedfishPkg.dec
+++ b/RedfishPkg/RedfishPkg.dec
@@ -16,10 +16,15 @@
[Includes]
Include
+[Includes.Common.Private]
+ PrivateInclude # Private header files for C RTL.
+ PrivateInclude/Crt # Private header files for C RTL.
+
[LibraryClasses]
## @libraryclass Platform Redfish Host Interface Library
# Platform implementation-specific Redfish Host Interface.
RedfishPlatformHostInterfaceLib|Include/Library/RedfishHostInterfaceLib.h
+
## @libraryclass This library provides UCS2 to UTF8 manipulation
# functions.
#
@@ -33,6 +38,13 @@
# This library is only intended to be used by UEFI network stack modules.
RestExLib|Include/Library/RestExLib.h
+[LibraryClasses.Common.Private]
+ ## @libraryclass Provides the private C runtime library functions.
+ # CRT library is currently used by edk2 JsonLib (open source
+ # jansson project) and edk2 RedfishLib (libredfish open source
+ # project).
+ RedfishCrtLib|PrivateInclude/Library/RedfishCrtLib.h
+
[Protocols]
## Include/Protocol/RedfishDiscover.h
gEfiRedfishDiscoverProtocolGuid = { 0x5db12509, 0x4550, 0x4347, { 0x96, 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f }}