From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id DAA467803D0 for ; Fri, 12 Jan 2024 03:27:03 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=X8EURbHxAzUbabyC3GUR3Yr1+TSwpJfhLEDtUuX6YU0=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:From:To:CC:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1705030022; v=1; b=uJLCKvbC6qP5M3T4UXq6fd3m/k/nXDjZg+asWaCOo5iWUULxz7trtv4lwwVcZ87md72SVpWL Jvd0p/YNKh7bFa13/TCsLL0ClujNu84BDzhDdkmYESpAyqU8YMvbep1znDD6pNeRucvm0t+39WM qVz4iDzziMI0an7JHd3Ryv5Q= X-Received: by 127.0.0.2 with SMTP id C0GmYY7687511xTTDRRr9ydi; Thu, 11 Jan 2024 19:27:02 -0800 X-Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.60]) by mx.groups.io with SMTP id smtpd.web11.11685.1705030021706151992 for ; Thu, 11 Jan 2024 19:27:02 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QDzbBMKBf9B2yhNWcMxu80F10VIZtCVgKr++8QJuLbL1/87Muwywaid5pYmaq5pYy6J/rl3MgsSBwPxQvunHdJ/zv3amsVx74X1Tp3uVpcj5UfAJXIIWXdMKjSYJfhFByBEP2pSb0GXYg1dHjF/ZKjn/3ZnXrAS9hTGHuJwJouMhb9n5AU9l3FAAt2AU0z7DBz7vnHE/4r9QdT8dvjURp6AW2bmBa+rZeV+8w0IESIgpypBUirJqdwDCyb8XNETNw5bOlHtTBajRzO6+Nm5bWGqkcaM9odxMNv0A/s1DN3GVJoeukRJmcY9126dQhGj0jASJBoeE5iStRlBYwQge5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6kJVhBOcP7eGiLCDWrOPzBuv1x1B+yELQ0RWed4md2o=; b=UfyygkgYRDDhpBJ90j6/2CByAcKYvc09O/rebeg9tmDPQR1YGX2kf3BxZXQ0GnhMhN3KTSrkxH6HLPrQEqRNWTBRCVhWIZAHz9nSMNk6ySreo8Cd6WgB9XnERuaq7lSpnq2doJ1iAGZ1/eycqz+ao4zgX+PtL4iNeMU+ItosYY9AoZU5UvLiagDTuRpL0d9gvwdoOkxkTZORfxLroJrz9+i+WcMaaN27ZG1KF86/3iou7CO0irrc7uagBljIvEGiIBZ8MG/iJZReqTijSgbSSYojId5WVI41PrndEm5rVjUJfYUG6xHwgquzQC7jgh8Niuq+Os+FAR1+GBj56zbnvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) X-Received: from BL6PEPF00013DF9.NAMP222.PROD.OUTLOOK.COM (2603:10b6:22e:400:0:1001:0:c) by MN2PR12MB4342.namprd12.prod.outlook.com (2603:10b6:208:264::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.23; Fri, 12 Jan 2024 03:26:59 +0000 X-Received: from BL6PEPF0001AB58.namprd02.prod.outlook.com (2a01:111:f403:f902::1) by BL6PEPF00013DF9.outlook.office365.com (2603:1036:903:4::4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.17 via Frontend Transport; Fri, 12 Jan 2024 03:26:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB58.mail.protection.outlook.com (10.167.241.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7181.14 via Frontend Transport; Fri, 12 Jan 2024 03:26:59 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 11 Jan 2024 21:26:58 -0600 From: "Chang, Abner via groups.io" To: CC: Nickle Wang , Igor Kulchytskyy Subject: [edk2-devel] [edk2-redfish-client][PATCH 1/3] RedfishClientPkg/jansson: Define json_object_del Date: Fri, 12 Jan 2024 11:26:20 +0800 Message-ID: <20240112032622.274-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB58:EE_|MN2PR12MB4342:EE_ X-MS-Office365-Filtering-Correlation-Id: ab000d82-c85d-4f6c-f418-08dc131e5632 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: 10CqIonMuDcYd6GRwUfgnY0twaM6stWjjNBTJgYb/5MY4Fcpl0sEYXCSaYSfHFy1DNzTU/xO+UqGszs3jbr3eTP3+cbCPULOT/dTBdA1jpjTOp2gXE5twaUcB5FP2h8Ze2Hj7sifzQTTkzOs1eIFX6oqhVYA85qBR95C++UnsCOngj+gdSKcwU3gmo3PH5eCbMSynhz2rVqOe9JWC8ii6zfdZrfodBwcgBrVp2H27vk/4ADGKQzsP3jLCwUfAqc8QcLMrayeYscgNk7VhtzJ9dLeVC9cX5bDR2E6WJAE6DG0w8mkkxUFdf2Oi+o8wU0hNEsBTXkSyi74YD8LZcN5cZMjH03OQCZuckUp6PO9P4KZsvkmyQoEBUSeo5SkX2+FETqjHsTsQ5XYMw7IhRH7Up0f6SlsZtToUNCkfbRfx3lY2NyISNMoNMUPploe21qwqHNMa6ahZiQb7e4kmlGOMivnaLHoFV8NicP5LjNI/5MXmcB5hK5XxxPt34pqgwpDws5gCXNzIci3kvOi2BJZ//Jyjd63C3ue9MnTKLpqFaOVsx5GMad8ak+NlypzRZPjvZ+OJgrZChcxE5nDbO4Y8B4L6CSGAwUSr08QkFR4jxUlpPFrEjpg+S11TT4+2aOsdpIWLLTR2+Tuxhr5ikpylo7MgQ7QOt77e19NuiJ7umfJeaGXAovgEzgtdlcdFiQM5BNcz4KLmn3xRnr0Z7yY3bZNkLmuEfe59A9r1J2UUm5DgXq1RdJxH7FqP/frw+Z1eaqxD1dOudcIrqgaK+0PFQ== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jan 2024 03:26:59.5425 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ab000d82-c85d-4f6c-f418-08dc131e5632 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB58.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB4342 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: T69KCf0hyDWvnQm0mOIABxCOx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=uJLCKvbC; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io From: Abner Chang Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Igor Kulchytskyy --- RedfishClientPkg/PrivateInclude/jansson.h | 1 + 1 file changed, 1 insertion(+) diff --git a/RedfishClientPkg/PrivateInclude/jansson.h b/RedfishClientPkg/P= rivateInclude/jansson.h index 900c7e39c6..6b6391428f 100644 --- a/RedfishClientPkg/PrivateInclude/jansson.h +++ b/RedfishClientPkg/PrivateInclude/jansson.h @@ -44,6 +44,7 @@ typedef EDKII_JSON_TYPE json_type; #define json_array_append_new(json_t_array, json_t) JsonArrayAppendValue(= json_t_array, json_t) #define json_object_set_new(json_t, key, value) JsonObjectSetValue(js= on_t, key, value) #define json_decref(json_t) JsonDecreaseReference= (json_t) +#define json_object_del(json_t, key) JsonObjectDelete(json= _t, key) #define json_integer_value(json_t) JsonValueGetInteger(j= son_t) #define json_is_object(json_t) JsonValueIsObject(jso= n_t) #define json_is_array(json_t) JsonValueIsArray(json= _t) --=20 2.37.1.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#113647): https://edk2.groups.io/g/devel/message/113647 Mute This Topic: https://groups.io/mt/103676918/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-