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 0F3F1D8030B for ; Tue, 20 Feb 2024 06:41:52 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=RKqfIM8Th4hpse9588RHTQcLBZ8P2wGwAwGG5xh8NWg=; 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=1708411311; v=1; b=hUqrTzq1865vAscMjw9GFgEfCoXzd8UZFEnGi2HXaKhtQI7xJbE6h77DOA0v5EqfxPbaEUe1 GNK2w+0I1nnTE/1PBMC2rO2npUc2BXQqNHLnOycmJqZTvkv7oXy8jgvvmFWJVbszxriO2o1K+bI /QOiQuHFZwWb1J/Mb4awpe+g= X-Received: by 127.0.0.2 with SMTP id 5WRCYY7687511x6GFFefyvtm; Mon, 19 Feb 2024 22:41:51 -0800 X-Received: from NAM12-DM6-obe.outbound.protection.outlook.com (NAM12-DM6-obe.outbound.protection.outlook.com [40.107.243.71]) by mx.groups.io with SMTP id smtpd.web10.8089.1708411311086303063 for ; Mon, 19 Feb 2024 22:41:51 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L6XvwrJcAue9seT63jkh6YvCZ4vFm5y0A9Qy+D5olAnS18wzIoFP2cCypoGY9lgcZzJF6u8NZBafWmpA4R85uJZqCFOLn49a2mXsrj0UplP8dQXBu2H/hDChfODr0EDzjAFBTEwSUi0s2SfZzlM1ew9ZF+wTh3vpfgcxjvSJ5CAK7991Bv+FrIe6e12djJ4dL9BKGNKj1TYOUIZ7nycLJ3UqOVWAvTwyM6QtSVCJ6Yc97/1nGcaIrqYjp09A4dD/3qTJuRgF3GtTLUpfkxD30qzm0oiVWYR+oobTZaTfMc7s3JhFVITh1zQ0drN6bEnWv4Cg4tRnHZZ3Mr975M9ylg== 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=FKXhJJvVjd6NHFUsz4+Zp3FrIrzFZHNlD+84k1Fyl+A=; b=W+vMMfGRk703mVv9/HQrQfGlDouiHvMkXIWzTxIWQcCoxw4uCTJ4hR6AUdExIkQN94lBi5i7YLYKwqnjiDkA8M9EGlX790rO48bLwinz8EcVcqiObkPQTSkuxqKCHd+zwExJArVY0uHkOmfYPtem3Ius+si2EevV8lkouKaDBrdoYgRmSN6IxBfq3BnanbKZB+aIaBOnlKnTe/UkXH7u7psYwZLNXnKwMaicme7h19dpxrTmrHXSm4uAxzKMU56ez8aMBcQyQcywMrj79gYMi/hgnDpPEz1SydhsvsSTMfhAHxJ73nBfYtrAUKl1ifqP3nJbWZrA6m619LZjWK1vww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) X-Received: from BYAPR07CA0042.namprd07.prod.outlook.com (2603:10b6:a03:60::19) by CO6PR12MB5475.namprd12.prod.outlook.com (2603:10b6:5:354::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.20; Tue, 20 Feb 2024 06:41:47 +0000 X-Received: from CO1PEPF000042AA.namprd03.prod.outlook.com (2603:10b6:a03:60:cafe::f2) by BYAPR07CA0042.outlook.office365.com (2603:10b6:a03:60::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.39 via Frontend Transport; Tue, 20 Feb 2024 06:41:47 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C X-Received: from mail.nvidia.com (216.228.118.233) by CO1PEPF000042AA.mail.protection.outlook.com (10.167.243.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25 via Frontend Transport; Tue, 20 Feb 2024 06:41:46 +0000 X-Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Mon, 19 Feb 2024 22:41:39 -0800 X-Received: from drhqmail202.nvidia.com (10.126.190.181) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Mon, 19 Feb 2024 22:41:39 -0800 X-Received: from NV-CL38DL3.nvidia.com (10.127.8.13) by mail.nvidia.com (10.126.190.181) with Microsoft SMTP Server id 15.2.1258.12 via Frontend Transport; Mon, 19 Feb 2024 22:41:38 -0800 From: "Nickle Wang via groups.io" To: CC: Abner Chang , Igor Kulchytskyy , "Nick Ramirez" Subject: [edk2-devel] [PATCH 4/6] RedfishPkg/RedfishLib: include RedfishServiceData.h Date: Tue, 20 Feb 2024 14:41:37 +0800 Message-ID: <20240220064138.28505-1-nicklew@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000042AA:EE_|CO6PR12MB5475:EE_ X-MS-Office365-Filtering-Correlation-Id: f1554505-8ff2-406d-cd70-08dc31df028e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: T8VdcUmTECRVhc6wPnDDtP2xqwWf8mh5MPAfke+YV+L3zcYL2uS2jJlQWzeaWiyaTS3GSuBvPe2B+dDJuaOLyeqbeF65QzaZt0mIdfCt9Xkd5BjzdE4jx+xKhBEAv4zLdzSJu2mnikihRJugC79kGMhxC/zoTb7ZEQo4p+q3jo1aDwZJ1oDPIeWDXszQEPXxqp2DREfhQj+PHjZUNxWCd7u1TLKPAJlNISjWUQCuJMqFzE4ESAYX8ul++rmpiRQPLvfuvWJHyk3eFaUtpJRPh3buh/HEIAJU3S5Ne4h3Pvd+qXJqvlh3n5caVMr1sP1Htcq0j/6wlYRgD+oxWJSPVYpFmzaNEPepUQ3OsekX/aXV8LrfOLYo4xjyPVNRviXVWHRwhsAF7+TeM9iS90INvMxNhrwmcuJ1dIcav4j1U/+hc9P2MLR6e2m6N/l7gxxDnm4PqsGIxPbm4XgEhO8WRQDWhNht5QBWIg8PlfuZz8/bBhLP4O1zel0uzGy11wbhrXZi/Nejg5j3yWNV/+N0nGIARakSo0iDgbD/NYhoFx0qRVK01Wbtvo79rXzhxI2qDQHQwvrmKCOWOO/rDIQGg9+DB88JPl++VB1di/apFLz1cS9BtGFWyA3HFmjwG54CXmC3RfU0RCdmxGQL0iRq0n0VZaLuPdT/cAuDHZsZ7Go= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2024 06:41:46.9367 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f1554505-8ff2-406d-cd70-08dc31df028e X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF000042AA.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR12MB5475 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,nicklew@nvidia.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: SErDW07o3rQ1n5ryxYFDwo2yx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-Spam-Flag: yes X-Spam-Level: ************ X-GND-Spam-Score: 190 X-GND-Status: SPAM Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=hUqrTzq1; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Redfish common structures are moved to RedfishServiceData.h. Remove them from RedfishLib.h Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Igor Kulchytskyy Cc: Nick Ramirez --- RedfishPkg/Include/Library/RedfishLib.h | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/RedfishPkg/Include/Library/RedfishLib.h b/RedfishPkg/Include/L= ibrary/RedfishLib.h index 8309a67c76..fb30ff68f6 100644 --- a/RedfishPkg/Include/Library/RedfishLib.h +++ b/RedfishPkg/Include/Library/RedfishLib.h @@ -70,6 +70,7 @@ #ifndef REDFISH_LIB_H_ #define REDFISH_LIB_H_ =20 +#include #include =20 #include @@ -78,22 +79,6 @@ #define ODATA_TYPE_NAME_MAX_SIZE 128 #define ODATA_TYPE_MAX_SIZE 128 =20 -/// -/// Library class public defines -/// -typedef VOID *REDFISH_SERVICE; -typedef VOID *REDFISH_PAYLOAD; - -/// -/// Library class public structures/unions -/// -typedef struct { - EFI_HTTP_STATUS_CODE *StatusCode; - UINTN HeaderCount; - EFI_HTTP_HEADER *Headers; - REDFISH_PAYLOAD Payload; -} REDFISH_RESPONSE; - /// /// Odata type-name mapping structure. /// --=20 2.34.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 (#115629): https://edk2.groups.io/g/devel/message/115629 Mute This Topic: https://groups.io/mt/104463407/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-