From patchwork Fri Jul 12 15:26:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Eggers X-Patchwork-Id: 1959940 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=QyU2Rqgp; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::103b; helo=mail-pj1-x103b.google.com; envelope-from=swupdate+bncbdk7hq7yrekrblmwyw2amgqehzjt2ci@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-pj1-x103b.google.com (mail-pj1-x103b.google.com [IPv6:2607:f8b0:4864:20::103b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WLFnD2X4Lz1xqx for ; Sat, 13 Jul 2024 01:26:40 +1000 (AEST) Received: by mail-pj1-x103b.google.com with SMTP id 98e67ed59e1d1-2c98c453912sf1773409a91.2 for ; Fri, 12 Jul 2024 08:26:40 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1720797998; cv=pass; d=google.com; s=arc-20160816; b=nzshr8tdVraeDoqQfu7iaigdVhKstP0tsvAqG5JTk1K44QS7AHpFrmrDJjBqysMSES g6UPDWpjyH4UvZnKtmKhnCqQPkIDjq8d3zT1SSGEnBkyiZlsg5iPrGukd8JEdtEwRVza hA8J3zwkozxhLyRc81GBo1tIglgq/CUQ8IC4MH1hPflCssnrUX/zto+/kVi4+rEbeXHB PyNK7ETOrWmsxTMBVskx2KqzzjQuU3ZO2/xb5BHgmRptH8+Xg2fTX3Mbf7vd75FW29Q1 Qe1tBvZmr+2XBWiAwv+RwlVH2/ZH20lKG0/3eXdnlKfbB79u3HcFXCYOxu4I9ky2y+vK beEA== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=O2FbzerJTF7cVaUN8QermAlT5J8Jd9Q04c2LhoRZ7Sk=; fh=+I4ug5CROpIS8jcmECz9SgpHRKF56uAxAAJ94RShJeM=; b=bU3GWpT4hcG9nCRAwsQ1GyrS7r8ZUh/V4hdlCGjkOjuixKcph89kN/243Q+wVh06gf BZOdRQjQNbMpYfje5HDU2CwNDmBFZW0Fnkq65Ox6F4dvIuaVVirnBu/pEE5bVcIO0CYv D4D3vNhYbQtS7tKldMfhoySJCCQBlF4P7MVYsRi3l7b2cehdYC41GbV0uETq4AC2V8l4 xooSyZpIKgZQVb1uhH9fwkJsLj9z7fYzaqwmNM9MqZS+xAPpMO0osQdqOwApS7Cei5rN meWYRyPzJZwn4birERM5kmQbwUyIMxOZxsozulvR36LeNX3QDHe0stEeYgRVFvWisiQY gh0w==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@arri.de header.s=selector1 header.b=B+Xhbxie; arc=pass (i=1); spf=pass (google.com: domain of ceggers@arri.de designates 2a01:111:f403:2612::623 as permitted sender) smtp.mailfrom=CEggers@arri.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arri.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1720797998; x=1721402798; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=O2FbzerJTF7cVaUN8QermAlT5J8Jd9Q04c2LhoRZ7Sk=; b=QyU2RqgpZBwdsSgFgkk+AkG7SmYSgm7hBy+HqGhOQgX0nXFd6xgebrA95jn/yBKg5e 2QbypXz74olbsgfNm+FSOslL/SgJG0AQfwHkQZshTgz2fSkbqZJS8GsjYBgQ42zlJY1e +1KvUL5MCMmNRqGzOJ0SlJJEdyMP97OfGR9qc6SDRF1RWkujkd7YP4cGl1lXBdArui2S cwrW1n1uVIheYGNtFCb+3aOrjk5nzc+schS1dnYwVBwBecdA5Kqv+cZLgyE7FtJvhUKr Ul1bDh4GoWgRDrat3X6XMspEawn+2hWwz5Gk8r0lUv7pLISEt1nMUB5UMpHIqazuYR8V MqVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720797998; x=1721402798; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=O2FbzerJTF7cVaUN8QermAlT5J8Jd9Q04c2LhoRZ7Sk=; b=ketpdnjGz2TgjFMcsk1a1fwzW+FW7l7F1Elc81Dzgl5OlbWLkYtJ2VUFSVTGbTPn8O /1G6n9rgQSa4I736LSn3eT7FP0k2lHFusKY6/UKpNNC/InguFh0Wit2eGQSl6Spckn+A jPUrAOhvaPsR0zn7XVx5g6xvc/syXi8tACcJBXUbvwfKcmtezQeIIenjTLaa8ap2gvck nnqTDoudfOf8UQMYeS4SZFTy3BGhvCMSTZtX6Dof6DcRurIT9IKMvxVTV+U8caZJmxmy 20/OB7mgqpwcrH6fJcCZiDSLZiIuwgSl2uljoPsSN2t0uCSquOfI4y/j3Sj2eqPv/PUe zJFQ== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=3; AJvYcCXfDQiRtUHwqRCUIBzQY4WHsK0vgkpUU5yDJH+oio/4rBoh0f+J3IJg9SziovFyAh7ldvEoD8lvb60quxpIHgAVWZ3G00oh1uvoW0xtnw== X-Gm-Message-State: AOJu0YxK8virT37W77RglnKnqZwIIMaiAjgSWDF15VYf44kpOeJ4GFEb pQgzRbswubL+ibUYXyHzYtUMYcuIC+aWiEl99CjyBwLaPRujIQur X-Google-Smtp-Source: AGHT+IEaMzY3jHRMY10Nn8/t39ymd5H7oTiyYzwTkFvr7rjIJci2N5RY2A2+jomcfG2QBJ3CfANnsA== X-Received: by 2002:a17:90a:71cb:b0:2c9:9b65:af4d with SMTP id 98e67ed59e1d1-2ca35bdffd5mr9444921a91.7.1720797998070; Fri, 12 Jul 2024 08:26:38 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a17:90a:d783:b0:2c7:c2a0:857e with SMTP id 98e67ed59e1d1-2ca9f96c702ls1062637a91.0.-pod-prod-05-us; Fri, 12 Jul 2024 08:26:36 -0700 (PDT) X-Received: by 2002:a17:90b:124c:b0:2c9:718b:2cc5 with SMTP id 98e67ed59e1d1-2ca35c299aamr9344726a91.16.1720797996293; Fri, 12 Jul 2024 08:26:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720797996; cv=pass; d=google.com; s=arc-20160816; b=cw5Fvvs4Nb6nC2uW8P8DNTHaXAmBK+wwcCiqsJ1ekJR6+3xZGK1tfPE2j7LkTT/QJQ FHtLdCuFc4dPYQ96bfeSNmKaUZAFIl/pEfbSsYXwehAM3kerBxlkAUO7cFeBAs/geeSg jtddGv+Mj/niXZduQTlYIhphF9I63zfaLUbXk2LBrYmMjALUfCnzP+xECTSDMd8qQpV6 WYYtQtisA0qEoTiV+JcoJtDzwDccHJLZaDGe3YAeu6oiiGYyRHJmDUdnnJ+FXLa2eDXL 6tULOtLtikcK6kIJKWHhlP2RLzOtk652RaE3x6MBChxcEvWYg1caKh0JIiV6tWKAhGzH ZPLg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=TCDYAkRiCE6hNUpob1hxeMjYh+jMIScILoO05vbcWzE=; fh=Zaas7zo9QAZR51NXyZEDKjGEOyAL/jH6m/nrwgSdorI=; b=khiSvCFQBG1Reu+9JxOyS1tx1KqHx5tPZ+OxIzQIPRUbPkvKhTslMxq7C8FtmFNsHQ tKwB8aenLXBwoXEPfoZ+FLytRgFA+Ve/bQzmndZ5B3zMN/C7zokmeLarDCdlYK+D0ywY gDjLcoxlQ15kmZDfRiIzLt7fT1n7tWRhtXLfPovb1qOTUVcrLz5PQgE6XtNOw1LOIYZ6 nag9QIoRA0+VNuxbtHytIc+DtYSdAHxnhUipDn3d5wydQ08r+BSMpP8efdP5btx3+Wt0 fkNzKLCI9CV9J4uK8tfG2SR/Dfn7p5CIYJ7m4+7ex4Ff8hxhoB1AJ0WBUTVu3Upf2YCP 7RUQ==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@arri.de header.s=selector1 header.b=B+Xhbxie; arc=pass (i=1); spf=pass (google.com: domain of ceggers@arri.de designates 2a01:111:f403:2612::623 as permitted sender) smtp.mailfrom=CEggers@arri.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arri.de Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20623.outbound.protection.outlook.com. [2a01:111:f403:2612::623]) by gmr-mx.google.com with ESMTPS id 98e67ed59e1d1-2ca3c750e78si623330a91.0.2024.07.12.08.26.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jul 2024 08:26:36 -0700 (PDT) Received-SPF: pass (google.com: domain of ceggers@arri.de designates 2a01:111:f403:2612::623 as permitted sender) client-ip=2a01:111:f403:2612::623; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=d9OOnF/T3CVw6TPfEXN5t53pZXPX+t94Etez3GzsTRoN0NYolnzja9nus+9clRC/KGFWxlWXd/5o5JrO8jhYEdwAU6318YuAq/7pvOyX873ynxtQ7SVbbJx17PcC5uf0wYtlbD6gdEh+50Qnl5dAz6GxKSpkjCM1bmXCS6KLvNJt/b6ojQ1f1I8xxoxKEfRJv/TyEkOyUzZvIjde99sN5VoTZIAy985BaqAAR3WWnYZZa9hDKUliU6pneC8Ieg9Wmyw7kZlLnK+/riziNbl7isTE5Uh/9ZvC8VSqZYjzY2zIwfpUIoWvY+nFmElGMiEctBYap6lZTfIfiAPKRhxdVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=TCDYAkRiCE6hNUpob1hxeMjYh+jMIScILoO05vbcWzE=; b=xKxpjzIrqeFm1WEOGHQk/WF4AdoKsOORjyEILbW99EgJ9BilxgjEF4IMTg0SL6aG0QcxKh+tXwIgMmhFGJiWlN13Gk9v9HMEvFWKJh0XX0ASsrKhX060DHQkCvoPH00WwbSE6PWEGxkKpdZ24F0sO8iLgFpvVQeyGWaars4n8WdkyvbsGTU14XZ/PpaO7CNux4avgUEocShcIKxDv9qv0q1qOqZcvAEyDawQYFV5hfsdE21RC3QYXtRX6Ijw7Tl8fC7okRj8OGWwQmk7xFBfioOcNZuricIZWiQnMoW1TtHTHVbZhsh47Y3t85KuM34XGHux6eaWEwQ0TgtXwQHOhA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 217.111.95.7) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=arri.de; dmarc=fail (p=none sp=none pct=100) action=none header.from=arri.de; dkim=none (message not signed); arc=none (0) Received: from DB8P191CA0009.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:130::19) by AS8PR07MB8135.eurprd07.prod.outlook.com (2603:10a6:20b:372::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.8; Fri, 12 Jul 2024 15:26:33 +0000 Received: from DB5PEPF00014B96.eurprd02.prod.outlook.com (2603:10a6:10:130:cafe::ca) by DB8P191CA0009.outlook.office365.com (2603:10a6:10:130::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.23 via Frontend Transport; Fri, 12 Jul 2024 15:26:33 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 217.111.95.7) smtp.mailfrom=arri.de; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=arri.de; Received-SPF: Fail (protection.outlook.com: domain of arri.de does not designate 217.111.95.7 as permitted sender) receiver=protection.outlook.com; client-ip=217.111.95.7; helo=mta.arri.de; Received: from mta.arri.de (217.111.95.7) by DB5PEPF00014B96.mail.protection.outlook.com (10.167.8.234) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.17 via Frontend Transport; Fri, 12 Jul 2024 15:26:33 +0000 Received: from N9W6SW14.arri.de (192.168.54.130) by mta.arri.de (10.10.18.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Fri, 12 Jul 2024 17:26:32 +0200 From: Christian Eggers To: CC: Christian Eggers Subject: [swupdate] [PATCH v2 08/10] parser: add forward declaration for struct swupdate_cfg Date: Fri, 12 Jul 2024 17:26:25 +0200 Message-ID: <20240712152625.4615-1-ceggers@arri.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240712152253.3702-1-ceggers@arri.de> References: <20240712152253.3702-1-ceggers@arri.de> MIME-Version: 1.0 X-Originating-IP: [192.168.54.130] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB5PEPF00014B96:EE_|AS8PR07MB8135:EE_ X-MS-Office365-Filtering-Correlation-Id: cbc927ac-33fe-4d8d-58d4-08dca28702d6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: HDtZI6+btdk0JVh3+mETpJFlupmsCQGzw8qzo7N4YsBeuxsTiUIIHGG8kTDUkFhlnain+FovmL/Fu1j259ngvOeaf/oyg/wEEfbOSdnRRF+iiATZmMTRLkXxE//SizvEAIbq4bdzwT/VEH3TejFl4szg4IoXnm5zG5xeCtV+l2mX4FgW2HXOnuD5qObx8J9FtkU5Pkj1lnRUGpvgkYJoyu0wBuNoJ8uR7RodZK2rtwiLPXtiTJc6toF4/cnKrGvXozG3c5J5FLb6mXQs1/Njp9qXW2h3QZUsOv7wUdcCxOH916FB3ppva5ZaNHTktQ+L/AqHY1TgxApfm2Id6ZIF9LigVsshEFGF9Fuh2sV4cIJUZIHibAVkIBmEi23WLImPYlg9NzzMbiRGvQYdyZtXAq/9vAAJXeonYz7rL26EVVgqs/Z885/nXnMSvHtkGdlytZZpkN002o/ahZJfs33+9Rp4OFKFhIT+Y1aFdpIGYhnZpeWzIbXomytVJ/86jWOOmoHy2Muv+qsBEaJ/8i9jz/nk3cht0aj3gF5gHrfcQeLmGq6eOCIEn0hhMuvfsrusZul8OoCBkCao5ELjgw+g0UioQNyjoKn/D/rh87/Sw08kCQWjVJF7igTkvCTah54evkFG/zT2PLYTsqv3kNm3nqaiuhZDBiXsxjop6YlLPym0VwcnHmYnsI+VynZFpjpev0vyMCG6F0Tee/b26h2QRcrvOXarXweBS8gl4OttxGaNKlBz3vzhTMY//R9rUFoxXOB2+RBLLYo0x3uvgCd9hC0Br3M5s7b2ZJbD4kIqfyYJ2/wyM2989DBwdxpklV97ZG8cGHJRzd6VGFVM+1pcVGdsZoOlmLiIJn3OyBdVWPo/5BJrwc+NhbasoX3+M4x5E2WdueNLIzBKWrW4OCcWkkUMQki/1yk7mdV2MAMRq/zHpPDGbUJr9OeMGiBqVJta3WDugK+Ajg0EKd4Toc/wZ5tmeXIb/O5juwtae7Q0itIMrtC7zzFiKB4pOWO9Z8+13FYWVz0B6i3pCUs5QS/IFzt08t+eUXhfAB333KqCvF+lVaXIYiK/lADFT8JJULp9zKxkPfQzqmf+Mjyp4kyyPbRWSMvnMcPUQLjCJfAmk36vhMheXJ7pSHLzMXCE1rCaEK5TkhvVNWhyrEZ6M0A9zoFcr8wXvQUOJKHgvPd/DhvGSTi9cxW+j3BTKbgDBPf0Mm3wcNWTWNN5pYbf5gB3QwHU+ko19YNLWy5aucpr6xeNWCAZYM6rZbUJUks4Tft9UNEq5UU3wnX3G5ulpPK0VE7NWbK20UaFBfjn6w7nEvbPyzLi/M6o5lBgAyS4MoCrTLdt17GRQhljvAT2uRja7BU9GY8ydfcIkrYfMJkelsDpz6/f3443rT6zXU3uoBu35yTp6ZLYx8kRvNsMfZERNTU+i9Qx/MV15rPaeRIvtLA8l57QtnvUZhnkAjhqtH5B X-Forefront-Antispam-Report: CIP:217.111.95.7;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mta.arri.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(1800799024)(36860700013)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: arri.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2024 15:26:33.0248 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cbc927ac-33fe-4d8d-58d4-08dca28702d6 X-MS-Exchange-CrossTenant-Id: e6a73a5a-614d-4c51-b3e3-53b660a9433a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e6a73a5a-614d-4c51-b3e3-53b660a9433a;Ip=[217.111.95.7];Helo=[mta.arri.de] X-MS-Exchange-CrossTenant-AuthSource: DB5PEPF00014B96.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB8135 X-Original-Sender: ceggers@arri.de X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@arri.de header.s=selector1 header.b=B+Xhbxie; arc=pass (i=1); spf=pass (google.com: domain of ceggers@arri.de designates 2a01:111:f403:2612::623 as permitted sender) smtp.mailfrom=CEggers@arri.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arri.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , make parsers.h self-containing Signed-off-by: Christian Eggers Acked-by: Stefano Babic --- include/parsers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/parsers.h b/include/parsers.h index 7d8abc1ff92c..a86c943b8890 100644 --- a/include/parsers.h +++ b/include/parsers.h @@ -15,6 +15,8 @@ #define SW_DESCRIPTION_FILENAME CONFIG_SWDESCRIPTION #endif +struct swupdate_cfg; + typedef int (*parser_fn)(struct swupdate_cfg *swcfg, const char *filename, char **error); int parse(struct swupdate_cfg *swcfg, const char *filename);