Message ID | 20211011112156.44192-17-sbabic@denx.de |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRB554SCFQMGQEW6OLENY@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=Oo7Iwcbn; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::43c; helo=mail-wr1-x43c.google.com; envelope-from=swupdate+bncbcxploxj6ikrb554scfqmgqew6oleny@googlegroups.com; receiver=<UNKNOWN>) Received: from mail-wr1-x43c.google.com (mail-wr1-x43c.google.com [IPv6:2a00:1450:4864:20::43c]) (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 4HSbxQ3WHLz9sPf for <incoming@patchwork.ozlabs.org>; Mon, 11 Oct 2021 22:22:34 +1100 (AEDT) Received: by mail-wr1-x43c.google.com with SMTP id 41-20020adf812c000000b00160dfbfe1a2sf9369363wrm.3 for <incoming@patchwork.ozlabs.org>; Mon, 11 Oct 2021 04:22:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1633951351; cv=pass; d=google.com; s=arc-20160816; b=rWFOOnZsgjlC+DtKa+t2kzcVFKMnSUV9MJKva6E+zxNsLz9jFyPETD0k8qTJ2D3ZHV Bpa6Q7VUvST1cH3bef6pThtkMJ+qd8hi4VXCKdRtoOZt3ZWfLeewM6s8lDaY5mFfvj+3 e0puCc1yv+3BYh+mWqx5GlR6wCUwMJxBPnNlN1YiHhLV0ZvRI4oQ9uLGcBjVJVK49it1 xG79OzcnwDn8WuQTXt90rCeEzcgutG+6BDLwZ//ap6r4BAx8Wy0taOiUHRcb086UIg4T 6/bgTnWliPaNobu27fXIaBjALwStCrFCAr2EIv49OX11orxGTe4iEO0ZLP/T8939QnMS aPGA== 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=P5kR9St7Orp37tCBs1MBuTjzWmI3SdaSaRYP2KidQeA=; b=XuPFkfd5eBQ3MhVOuIR7vEXhNrarLTnYWM3EvrC2uydKHKQftHjXd1edpgA/JFvGjA YICkiJgNVJpo5PkWWHmhdIKXG0dXnrqKVIj3mZZh2Jx7XPkznY08fX7j3XRdFnwmmk3o v8TSDpZ+4GLZ5CILhurczydDvGerJ9RX/WuJlUts0Ftj5ftSEVseez8cpAsGJX1/GE4L VmVcvvOrbe+4SO5O+SoHtoYIe0pk+jDJUZCfCbplp5vxUNb2wyOiknV1ulL4U9DWtzI5 9Mh7eUUyxYbl3Q1WMQrabpWpbMnjso5TDbdyf2LhkfbTm2miA7YHtBUE4+FBW+p06HVL 0Y5A== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 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=P5kR9St7Orp37tCBs1MBuTjzWmI3SdaSaRYP2KidQeA=; b=Oo7IwcbnVmnhUT7j0CQFeCrckjCPa9BoeZqyuOEf0Yid+/fddC0vmq+dh3NuAj4NsA itpAeASBwgYMWZepV0Djp8K4MMeTjy3rXbKlkUT5Lk68IG4o/Jh+OUb5XPFr0mmOcYNd OqUt+DCijhq6ZVz5ezcQkUP5dAvzfeom8ZkAeqZSZuj9yVJMNiTRfwYw2ah63QdqM5lk Lo1MrMN/l/AWB8C3c3hHYqNxPiBfDGOzDkd5K4UMVUBBZD1wzYOD1kliwP+yOaPhEz8B QfMO8ij9OzXGECdGYLhA9ySY3iYyC1wytD8E2CTeoYSrWs9BVs9kujdZYzy+/C52yNgk pwZQ== 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=P5kR9St7Orp37tCBs1MBuTjzWmI3SdaSaRYP2KidQeA=; b=twiNu1CWq/5q6oDt1xHloJKpW691yU04m6aDEtl1al0trKuQDYtTeX/cj6Ctruddn6 m8wOo/UX6CaI1AfdEGCQgRKnHGfVMah/alwPWtlaMe4iNdNaqDrfGzM9pRvg/rU8oBvf aoo1fz6H3LRklt+N2YnmmDzWUQ7UHsqbnBesyyTN6+zpm2BsX7pNIMftOmbZFusQ9tRY FEuIz1FbDvJc0E9DfBTh/DJMrI9vpFQLwKig3kepLYL7XXfEyJd1xPxjl1JSygT/qjjp 0H93tcvTt3HmPeOtd7YTfb7YLLF1770kTC2pjbTIBrhDidv8eLncnatxA3Wi3exMcdWa UhKQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM531QEIUb+DFQv6ManqGeRDn5SW2O6NjzU6S0TMemrKcU+HAOHIMf ok8vbZPtGlq8JYts965x5to= X-Google-Smtp-Source: ABdhPJw79gXtPuJK+PyxOC7/gRtIjAypnjLW2eHkiNTRVr2CmbcyYCNx637P2ih7JYJPq2MqSmcTCg== X-Received: by 2002:adf:eb47:: with SMTP id u7mr23896817wrn.333.1633951351181; Mon, 11 Oct 2021 04:22:31 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:600c:1caa:: with SMTP id k42ls7322433wms.3.canary-gmail; Mon, 11 Oct 2021 04:22:30 -0700 (PDT) X-Received: by 2002:a1c:7d0c:: with SMTP id y12mr20106031wmc.6.1633951350464; Mon, 11 Oct 2021 04:22:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633951350; cv=none; d=google.com; s=arc-20160816; b=hdGUSOIyiD/f9+FlzJ2bk8+zLc6e6ekCa1K9dNKzMSkm1Nc77ic85hKozaIQmqHs1I t/c79W214PQM2NwMiZ7yORxxBpDWYCc6wT+tENUm0hwk1BJZJr/wxgGHqICXZa/k0+5l Q2OrENnQpg4nVGhbb4u6twCbIInDtC/tJEUX0V+vOjsOwn8IDD9xZXJIY2ziU3jsTfAw 6HLuvn1yzYckZkV9fbaNjpHJRh5sA9dL+BRU6PDuPhHGjAuZSCrg+PAPaNTKK2NFz3ch a/6pWvJOUMuBnvW/uh/3CmoAp3+QO6dir+lhLVfqu8sB8jhwz+gOyaHl2rvnpNwXbMRZ n7GQ== 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=MhZ0EKl6BKYb6VL+BXOn4LFccdf05UxjCot2wqOKi+gnTsFz2NEYvaeLntgdEVFoJV VNShCLJt+N0ZdFH6hJKxexBizsxu1TWH4zDJamUnj/f/AYteiMAr5SqcLWJrofiMmh14 6E01GZOaOk0vWT4Vn8BhFRoDaNneklbQHRrCmOTtm52rQw5gUTdGGsm8Hko3PDFpwfoo CTcaUeP4WkTCq2EgbRENWnot+ydx2JettAWLCuJbquyPBEpY/ME0/I+5ejHZeRnM2D/k eRrcLekFFGMPvoxK8fLMlhYYgmhs52AUcbRVaH5CaCapEZ31qIDTddMpH00J9eEQTCaO obZQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 212.18.0.10 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.10]) by gmr-mx.google.com with ESMTPS id p3si368026wrg.2.2021.10.11.04.22.30 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Oct 2021 04:22:30 -0700 (PDT) Received-SPF: neutral (google.com: 212.18.0.10 is neither permitted nor denied by domain of sbabic@denx.de) client-ip=212.18.0.10; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HSbxL2CBXz1sByw; Mon, 11 Oct 2021 13:22:30 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HSbxL1zYDz1qqkC; Mon, 11 Oct 2021 13:22:30 +0200 (CEST) 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 rE2WYM95d5Ix; Mon, 11 Oct 2021 13:22:29 +0200 (CEST) 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; Mon, 11 Oct 2021 13:22:29 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id E9CF34540BF1; Mon, 11 Oct 2021 13:22:28 +0200 (CEST) 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 XMObNap9Wq8S; Mon, 11 Oct 2021 13:22:26 +0200 (CEST) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 9041A45426F7; Mon, 11 Oct 2021 13:22:05 +0200 (CEST) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de> Subject: [swupdate] [PATCH 16/29] channel_curl: add optional pointer for callbacks Date: Mon, 11 Oct 2021 13:21:43 +0200 Message-Id: <20211011112156.44192-17-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211011112156.44192-1-sbabic@denx.de> References: <20211011112156.44192-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.10 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(+)