Message ID | 20211011112156.44192-10-sbabic@denx.de |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRB3V4SCFQMGQEFEGUT7Q@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=emWcfaMa; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::537; helo=mail-ed1-x537.google.com; envelope-from=swupdate+bncbcxploxj6ikrb3v4scfqmgqefegut7q@googlegroups.com; receiver=<UNKNOWN>) Received: from mail-ed1-x537.google.com (mail-ed1-x537.google.com [IPv6:2a00:1450:4864:20::537]) (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 4HSbxG2t92z9sPB for <incoming@patchwork.ozlabs.org>; Mon, 11 Oct 2021 22:22:26 +1100 (AEDT) Received: by mail-ed1-x537.google.com with SMTP id t28-20020a508d5c000000b003dad7fc5caesf15566150edt.11 for <incoming@patchwork.ozlabs.org>; Mon, 11 Oct 2021 04:22:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1633951342; cv=pass; d=google.com; s=arc-20160816; b=cIntR+kUXJjgwtZ4AfNOu1teB1skrGTnbNrky1/Fjs72Eh3qywLeUJvQp522TjQ1AV iumCsw9GtbDvrPjZ120/oxKK0aOPE3uvc4wzjL6w3etZ1qkui6E5v1mKylA67rdPl3Js SC+9ogFdb33QwDZ6WLcN2OQMCcdI2gRStvrAzDWzQmXtmpGloFlzgPUIvUFHQJ4H0pSv a/WYTdcoy+aVnGhw8xwy7sf8rZ9dD+GyxMehOoYh1exKXgGSA7k4eHcDBuZZlKlv04XX +G3KAnn98iTATf1T1PISL4XlLjp5Cu043P8ojRx1QmdguhVdn3FUTUNoHw64TJBdh7pk vSOA== 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=jQtuJA/rDxg+Tl16LSfyW9unMe2QnfQbzhiOChmLDYA=; b=VbVx7upHpc+xEQvZJOKBDNhBl3TrbPvsIjeG5GV1MJAgr9k0PKrm0OGYx31VutKnOB qvedIbMu+hhXYmugVeEyvue7MJA2GQ8vBzlWsxDXwTnxD8aOlI2tuU3evUK3SK38lmdw vy1AC6+X1/pno1Ns7WCYsKPTcpZtgQ17ff7BceO+WziSjZzrAmUQoXG0OznvASt7T9Yu 19Dnq156MnnfAZjW/NYRWHe8q8P8OJQKmIOKfLs4wMtxZdl2fYNANiU+sE6NJWbnvR9J brqCRIvJEO7GmYXrYWsKlrBHBOdME/yGOgUh0Piu1JnqLJAwfJb7EbN3sbv2uJC7z8V/ 4ToA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 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=jQtuJA/rDxg+Tl16LSfyW9unMe2QnfQbzhiOChmLDYA=; b=emWcfaMaEmOZdS/b+iXt6dxOedmdSDU0myoEP2dGaJH0VvHy/90uw0xlrmFEdAa9gV j0O6kdNZS5weqC1g8FDscAEZNB65FHvGVYgxp6ukY4ThlG6idPRWbtHUcE8NDshFqxQq KVwVlaBZlvBYvlnMpIkajqAJK45to+JOk6cDsItN1IU7EkjlT/M6x+kJ4BjYUMBiI7xl Cq3OY7lS1w485JLrFdMUWSiIH1ZkinonHwljMMmhz8vMSJVYApAA8gfKDvuT3LAVnvvr ThAg17mc9pC/hIJUoDgCkEzXRIwXoq9VxbYh5yA0y+wEKhevbOZES2RFpCzKt5+3wt0b OkEA== 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=jQtuJA/rDxg+Tl16LSfyW9unMe2QnfQbzhiOChmLDYA=; b=BHX9SEV18bS/sbuTmh/w7izK3anQHVMfstGUIPKxKLTOIyF1MU3X0v1tq6NZ5Me+EU WomSuLcRATPqTACUm0UaOI0dzTpDqTg5H1T38sCp0r62qHHrKJ/VRcVFBLmT5hoe2nwU kSvUjaZLEWZ73Al7d4Th5JhJdgjzIuOn9hDOnGzyCA8xHHXb1eU3J++UwCvVSWace5rp 2CtGZNOOrj1PiF4Z/+Q9RIRaQ1KNXKtq3jYfbV+5KLrebWhqf831DHyo48BzYHzMQGSp qgQa8e5Pi/hiZULre+XdKD4PLiuWZJ+gjUNApLT2ekl30OzeBn838uwERpcZQwnpVMtw JJ3Q== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM533TG85745MyF3SxfLl84RdgyJaLvZFviEyoIIyBLClwiqNEGKWm /ddWGtgwDmg/w+r3ONwh3Q0= X-Google-Smtp-Source: ABdhPJz5B4pcp3ywwjal1MX1bg/q6lUxb5Gg6IQr9wxNOjVWm+1zWBCv/7LWcSzOA/JeHPmu9IJJUQ== X-Received: by 2002:a05:6402:5244:: with SMTP id t4mr41063441edd.14.1633951342748; Mon, 11 Oct 2021 04:22:22 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6402:b34:: with SMTP id bo20ls10681380edb.0.gmail; Mon, 11 Oct 2021 04:22:22 -0700 (PDT) X-Received: by 2002:a05:6402:4309:: with SMTP id m9mr41947492edc.272.1633951342025; Mon, 11 Oct 2021 04:22:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633951342; cv=none; d=google.com; s=arc-20160816; b=zdjsfCdvMIngkKhR5XYDFtQb/ImwyLWOKGee1uNiMDvK3eknUfrPfh7hMTyd5XPoOv fXjYkEiQMN2h/wXAk0VaGJcXm1KSRLWkLFF6EvOVI9dR0xUvxNmcGZoEAlDowoDVmRZ8 QjpMLWdG9yG2axJryMz4UGOr8yo31CSm4XG07sd0JcTFpVNGtrsSCUx6PKy35wmXX1BR R7TnkD+OyDQ4r+hIYcRi+X/BndBFTCoFbnUQIfS+l3qJP7awDzpWkOMSN40oZegjDAC3 YbuZ/U5mPUccMB/o+RyQUKispve3vmDK1+Cri9P7sB2cntdPSUVRPQD3D+Dx4ypdTbnd pkPA== 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=tmgotaCZ9FTgfU7YQWR7yqZuJXPD56toud9XLqLHAUw=; b=jDz4YijtsZAcLogqdL67+uTlAqNx10X0FCZ79KjWLR0bc960zVObj/hTLKaFNZNuSJ mTUFjAmYvgxkBqh9/vcMEyg39677nuSXj8OIE9xDr3SI+8U+GpD3hqIjNsslsDaVB2V8 cY0YEg3EU/YfxNxyHU9dOGEq/i1/mMd9zXSjICzZ10aWMG7fF89U4qqfOApC2ucYSX6R ZujHrJrduQ3gFh+DcBKAQayXsGhJCyyZ1rF9MQpoNrOqCNqhV/uI+63vZOv5+YAOwQu7 jVEoNbsEqLyLFIodjLhW19irWwlXN3oS7KK3QeC1Y2zlBiN39uwTVHUYNB8eHtq0uv2Z 1jCQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 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. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id 14si332165edv.4.2021.10.11.04.22.21 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Oct 2021 04:22:22 -0700 (PDT) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by domain of sbabic@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4HSbx95dKpz1sByw; Mon, 11 Oct 2021 13:22:21 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HSbx95Cnxz1qqkB; Mon, 11 Oct 2021 13:22:21 +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 CetEjxG8aYsp; Mon, 11 Oct 2021 13:22:21 +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:21 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id BBB864540BF1; Mon, 11 Oct 2021 13:22:19 +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 YcDotKckszbS; Mon, 11 Oct 2021 13:22:17 +0200 (CEST) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 0D7F94541927; 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 09/29] channel_curl: statify entry points functions Date: Mon, 11 Oct 2021 13:21:36 +0200 Message-Id: <20211011112156.44192-10-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: 2001:a60:0:28:0:1:25:1 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/corelib/channel_curl.c b/corelib/channel_curl.c index ff2053d..62009de 100644 --- a/corelib/channel_curl.c +++ b/corelib/channel_curl.c @@ -75,12 +75,12 @@ char *channel_get_redirect_url(channel_t *this); static void channel_log_effective_url(channel_t *this); /* Prototypes for "public" functions */ +static channel_op_res_t channel_close(channel_t *this); +static channel_op_res_t channel_open(channel_t *this, void *cfg); +static channel_op_res_t channel_get(channel_t *this, void *data); +static channel_op_res_t channel_get_file(channel_t *this, void *data); +static channel_op_res_t channel_put(channel_t *this, void *data); channel_op_res_t channel_curl_init(void); -channel_op_res_t channel_close(channel_t *this); -channel_op_res_t channel_open(channel_t *this, void *cfg); -channel_op_res_t channel_get(channel_t *this, void *data); -channel_op_res_t channel_get_file(channel_t *this, void *data); -channel_op_res_t channel_put(channel_t *this, void *data); channel_t *channel_new(void);
Functions are defined as part of a generic channel and initialized via a channel_new() call. Scope can be set inside the module and not global. Signed-off-by: Stefano Babic <sbabic@denx.de> --- corelib/channel_curl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)