Message ID | 20211114172733.71602-20-sbabic@denx.de |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRBNEOYWGAMGQEF6CU25Q@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=o0bcax3C; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::13f; helo=mail-lf1-x13f.google.com; envelope-from=swupdate+bncbcxploxj6ikrbneoywgamgqef6cu25q@googlegroups.com; receiver=<UNKNOWN>) Received: from mail-lf1-x13f.google.com (mail-lf1-x13f.google.com [IPv6:2a00:1450:4864:20::13f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HsfRr2GVdz9sWJ for <incoming@patchwork.ozlabs.org>; Mon, 15 Nov 2021 04:28:24 +1100 (AEDT) Received: by mail-lf1-x13f.google.com with SMTP id d2-20020a0565123d0200b0040370d0d2fbsf5818000lfv.23 for <incoming@patchwork.ozlabs.org>; Sun, 14 Nov 2021 09:28:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636910901; cv=pass; d=google.com; s=arc-20160816; b=fD2FttuauutTe6kLZo7ksLS64y1FhcX3aTxSCVtQV0TpjTMGdg1wv35IXWhI65ALNG 7Kh9px9ZRakB02LKDzqypQ+IfKWcNQPfGgrPW1E19nuhow7C99AIHXU8PutzHLaYZUxJ THFPwJCT0RsCdqYaEScxn2787S6lohWvP15b/pOUAy2nWb0Gpix602geyHEMeonaoQqc jDr8/klaOd1yJeSjvAFQg9a+lNuM4NY6VSUnTFQYrDDM6zJkLM4D1AgzzVEXgRayzS1F CTqzC3ZPXQ5feT8Q7dFk59NT86UOdPbohGpLwpa4gjxCmAbDbEDK5qa5twEzjqXSx73w XJjg== ARC-Message-Signature: i=2; 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=khx2IgDpcLpU3YCa4Q1oECj7+C1a9xzrbwZLTbjcLdk=; b=iSS0XaMtaq2rB2B2GeUssmQ3IUTOlPLi2Lfr8oQipyuB+yIMG4sUceYwg836f8HLrn tYABMh7KXRyI4bhGaRwOlxTFL9b7Ll/AlgRdfKFnxtWQdJ0sSdNpdAM9ypiNCpnKkuGM nvtybsXvNbbNgb9VRFnk8D6jawl7eF7osLo1fiC1g2ivSY7TQ9l0ewjPwgjdua5xHao6 xOLzuG7oWKqyYKj+3lUwB7knZiEKhUObayhFw4KdtHkihZBguQ+U3KD8FiewugOv9AwT 0smChtHZmSqDwyHFm6+TvDa1rQ1Uc9K+U176pQEjCzUlzDzLbvVZPRIl6yZYdrkcxvUZ rA9g== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=khx2IgDpcLpU3YCa4Q1oECj7+C1a9xzrbwZLTbjcLdk=; b=o0bcax3CMbJ01H33d7Dor+Z1OB2i65KPxcTGxKZwixNcEYwVPKMvZqRLHzX9oRJKdC XewNu5G5cJTwgIWIO7I+pPQKbE7KydCMJAqMQMYveUIGCZYfTlYnjz6kqSATpiEFKrxt d3DEor4Fth6UklmMcO00JGyx7uKlguB1nWa5nqP+CAGCAGmEc3j/yf9El7itfCVW4tR0 QA/6WrVsY2WKtNTZU4RjT1eqvHyVlFo/EO8XUy7HXsaR+ASmZis4cClnWltGEm2m2RIK FXo0K0EO4YUd4REsEMsVPQ3KVDYaarIdQiC7jsaws43D82URPd2gbSoSAMv0UZzXxicI Luvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=khx2IgDpcLpU3YCa4Q1oECj7+C1a9xzrbwZLTbjcLdk=; b=gJFo/n0GQ/frmBLV1+RmafwKa6A8NTsFh1WXIhQNEdaXiKPACiGtWuMrLNV/oEibrR rJLd+Z672tUp/+qKBjpclNeMmZTiR0X3BqUWnlo1m8QVs7BKTeuTVlP6zV7N6fz6JSr5 +oIXyox1c+STEL6tif4o3O79rNEg2fFPnLIL9a998/VCNvsiHXqahtpK2U05lUnnPXCQ jY4NGkDMCa7pWmmfLvoUauXbjoHhjrNvO1ETgH87mxzN607V1sSSmmXMuBRvRhqhDhP1 OrSjHpLed4YeipIYWw1433LIPJ549c7uABsls3Kx4jQKVWuJFsyfJwGacy54L8ApL2ti iT4A== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM5329bN3Y3Bi20m3OPv9fzNYV1adKoCTZPQWjdRfqX/FmjScJLXSG fFia0Mz34ZfDBV2YSfyruVY= X-Google-Smtp-Source: ABdhPJyW7cr7xnSQlZhhB93I010kmCMUZU36/Mr25yzQruLjeSRWE9Qw6Gqs0GboN3IuJLYmNPu4Ew== X-Received: by 2002:a05:651c:1799:: with SMTP id bn25mr31554112ljb.514.1636910900805; Sun, 14 Nov 2021 09:28:20 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:651c:b1f:: with SMTP id b31ls1835015ljr.0.gmail; Sun, 14 Nov 2021 09:28:20 -0800 (PST) X-Received: by 2002:a05:651c:2123:: with SMTP id a35mr32688132ljq.285.1636910900076; Sun, 14 Nov 2021 09:28:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636910900; cv=none; d=google.com; s=arc-20160816; b=Lrc32ClMe5faq0HgppPG2EElBBv8DgyRkKfdJMNBHtgw+VMlAnB2T5K9tZy75JYfWq eBR+DNxJhdOPH/BVOAnVjoVmLT6OiJznrM4goSYQ5xCgn70rXwB8crv6rQlfofUXfgWJ HcraZd5qfunoTT1eGu816Mj+tC5ht2hvybcvsRLHUkVn8KrMLDwyDevOYF9d4jm5vSa0 4QJsFw9gwtJp6FOzbfYmagpknGSRf5Xqho8ZuzMVzRKce1FuBFvnZ6+oYgPYXSFjjzkS 6qroMA+wbE/qBJRZTrvDA9oNFNby+knSY8w3PVIHrycPtnLR9yiY4sj5KYsUAkJpDKJo NDGQ== ARC-Message-Signature: i=1; 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; bh=g/Tv6HK/z0JagTkWPyHhOaFcr9ZhalgXU26WITZvq9w=; b=xbfC554ReaorNoPl947oNhZWSCF2gLbpKVJ6hc1U3f5KA8iu5aUvpWUATeSzEvA997 Hbap1Ow6RSL7TAwmfhQH/MlSNrkivMtDAfnslWttKBVio20WSeuB5t/knhO2zqU6GLPL ICMKhqpapml2KwZ6auHgs/LvriDJGNxSXLN8E0G8imFL96Aiz94NUKpbAAQyfQ/11FJX /h4/JgVGjQXsHuguv4Co8DZMf2vbyx0GuE9daVKwEzEHA3U8bmeQRh6O7ulwCeeyTpYF G1aU+Njx4E/oZym7CyfRRwkH3HaphqQBcJjxquyFqBsvtvmblrSNvEnA366rgNUdTV3I ltvw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.9]) by gmr-mx.google.com with ESMTPS id g21si474518lfv.11.2021.11.14.09.28.20 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Nov 2021 09:28:20 -0800 (PST) Received-SPF: neutral (google.com: 212.18.0.9 is neither permitted nor denied by domain of sbabic@denx.de) client-ip=212.18.0.9; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HsfRl4Pxtz1qwdP; Sun, 14 Nov 2021 18:28:19 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HsfRl4Jp4z1qqkB; Sun, 14 Nov 2021 18:28:19 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id ZNIQ6AnUrs88; Sun, 14 Nov 2021 18:28:19 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Sun, 14 Nov 2021 18:28:19 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id 79C6E45408E4; Sun, 14 Nov 2021 18:28:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nVb7MapbO5fi; Sun, 14 Nov 2021 18:28:15 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 305654542774; Sun, 14 Nov 2021 18:27:46 +0100 (CET) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de> Subject: [swupdate] [PATCH V2 19/36] channel_curl: add optional pointer for callbacks Date: Sun, 14 Nov 2021 18:27:16 +0100 Message-Id: <20211114172733.71602-20-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211114172733.71602-1-sbabic@denx.de> References: <20211114172733.71602-1-sbabic@denx.de> MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 212.18.0.9 is neither permitted nor denied by domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
DELTA Update
|
expand
|
diff --git a/include/channel_curl.h b/include/channel_curl.h index 456367d..7d1e892 100644 --- a/include/channel_curl.h +++ b/include/channel_curl.h @@ -79,4 +79,5 @@ typedef struct { struct dict *headers_to_send; struct dict *received_headers; unsigned int max_download_speed; + void *user; } channel_data_t;
Channel callbacks pass as parameter the channel_data_t structure used to set up the transfer. Add to this structure an optional pointer that cna be used by the callbacks for own data. Signed-off-by: Stefano Babic <sbabic@denx.de> --- include/channel_curl.h | 1 + 1 file changed, 1 insertion(+)