Message ID | 20211114172733.71602-13-sbabic@denx.de |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRBKMOYWGAMGQEFEBQ3CQ@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=joVUl3fA; 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+bncbcxploxj6ikrbkmoywgamgqefebq3cq@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 4HsfRd1vLWz9sfG for <incoming@patchwork.ozlabs.org>; Mon, 15 Nov 2021 04:28:13 +1100 (AEDT) Received: by mail-ed1-x537.google.com with SMTP id f4-20020a50e084000000b003db585bc274sf12020375edl.17 for <incoming@patchwork.ozlabs.org>; Sun, 14 Nov 2021 09:28:13 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1636910890; cv=pass; d=google.com; s=arc-20160816; b=zAriCMc47N1bmf6tU7iE51VFX+BbRany0p3BRlrHlBadbpZEzHJ+tLRfRCkfvdrj8I qiYKGJXQCTre3W79izr32qQz38ahIqQ8vA1dlYYy/apHanasWI196FUf98ShxvuICMRI alGDQxiveGxIrX6K0zkwRKunWAcvVWgeXYqIaXvmocmpkwft1eWNRrBZE+WBvmdUS+HG oqwtOWoBCMDtlB8k8g4MtWp302K5mIl28S15Yr8Bb/yhJDVR2bLGs5Os05wt1HOKGYxb lnVCBqdxglwRTS+HhzNY2XQVmOwhGtUwGGRaZ93WvcoBIIACcrssnyUcd/uj3fFDnWz6 +U7g== 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=xfpksh5CDPvtSlvfUKxNuF0LjaOwNGOsj5e7eZXacMk=; b=xAuAnPZupCb3wwKkbWZfJ6xajQBAxwa46loAOgNJvBbqVmU0vVfCZ6jStvvkw/9C0P +7/tdbkjhVhz38JSN1huY3EH26DIB/J9fFyFGwmtzQ3vsqKRlISrPKodBF3Jo1kRayOv B6OohE9wWfWnERxMYzpAaIF4pY+z5/LRPzCps8lZ9qrRc/2fIDdZzoByOyk7/Sfes0i1 EpS/BPT0II8aRv2Jf/0Qk8onbF//rkBYyiWKfN6RBsSL0o3fdFHmJ8DXvHqRd6NAhfoo goCoxm/ndP8dGLSOYfoFKVFcbTv4bik+vQOHNo4UUBB1fV4X6jWUvaCAyTAsmZDqyLoz nmMA== 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=xfpksh5CDPvtSlvfUKxNuF0LjaOwNGOsj5e7eZXacMk=; b=joVUl3fAZiNq4aGdmumo70USu1kegDiC9ps9EKd0Ff66M7yg/jf7Kez+414wYEjq1W 79pOizgA1qHVfyEZMk+VYPFV/VBsw0jeJTx/AQrXxSFfc6oDuPCy/CFg5zUZW0w8v/t7 F1T1NO5AqAny9/3ulHGors3K/miVtccgu+kWlesOJ1BNXX0h4zEwaABtmjuaPM8f+eOi bNuqvpKRqBBzDtPIfl/G9NwToO4nv8dC6h0nOyJGZC5mq96fhtIJKGvQgdPD6SFNKccT xVQc/RAvQK3A2aT0FcykjOjHCUfwziHvIxDCzEmdJnw4aitAVUrLdwg5c8xetoSu9GZo t/hA== 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=xfpksh5CDPvtSlvfUKxNuF0LjaOwNGOsj5e7eZXacMk=; b=LB8vHK0eQm8BxAFt5GmEhRKFfxFAl2Cj8oYImxUYjqvDLCygOIsINJynvlVPYOPoMZ BgPOQinG88XI+p8N7Zhv2vT+gVdH6w/u7fWeQRKPDaIl9vMWthfMfhwGemdE+YQ7hJdG b37OSuLkkLmR6osc+W9zD7TOaMRV6SHNglTLvK246UvZCKtqnOls95mDjKP9ipt4S1U+ k5PvPBbSHHwEvKL41q1QrGsjcrH2cZ1pm63SUJZVvo/ulUk+QXG3O/QsQ0Dx87ZtAg7o AUrjMpLypaGDwjXpMJbv0XX5YtoTIN8AV2RI++DzFIiFdZitVwvFRl+MGxZdbcgaVkw6 P/uw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM5311xeemWFz9Nm7grSBxkAHegy+iw+H4zBu8JfgsMVSawJeuBl5M kXFgf62w/uRC4u20OwhQm+c= X-Google-Smtp-Source: ABdhPJx71VU7vft1+wYjKj+TSHtS0+He6Zr1WtDRS7Hr+huUbvFzQwYeUxBOzhwg/YzLFBFUesadIA== X-Received: by 2002:a17:907:6e91:: with SMTP id sh17mr41713953ejc.86.1636910890107; Sun, 14 Nov 2021 09:28:10 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6402:3587:: with SMTP id y7ls3824693edc.2.gmail; Sun, 14 Nov 2021 09:28:09 -0800 (PST) X-Received: by 2002:a05:6402:3596:: with SMTP id y22mr47782799edc.255.1636910889334; Sun, 14 Nov 2021 09:28:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636910889; cv=none; d=google.com; s=arc-20160816; b=GKckJUsxzHceO9JWIGkrCcit/hw6/mKOklrdxszhZyarvU13OqsAjkgPfuWwefFenH C/Yy+h5Ehv3q7TQh96SCze8V3gS6LCPRAH1iLFuXjwyV9Nz5UQFIYMVbGHSCNUtBJ8T4 sxk6t+4dVN9Toe/Nv0YIBjQi0ihjKrbxoAFwwGx7aBtD6n6SpRaS+2pjlG8UiDb01+CA EzE2xoNsTaXkbvVq5dvOkLusCa1oT5hTpnbRtBhNyejd+iEZ/zD2H3vvlt5x0W8TAWIe N6/13Pbedi0WzBlAmw5SSI8CmUYYWSZLXd3CVGpxcwo93Gdx6czi2txHGMC3i0RL1QVU sVNQ== 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=/ysHlb1iJ7tuVkZfSjxGgsxHT0yJAQced5rg1LXG0Ks=; b=i4BtEu2MsJLkVQsbWnJKRJz2f3F0RN3sIS46bX8JiSN47Kst3HqcfL8Fhq/0ZEQjKi pVkqMeU1GtdgojIFxsi9A6iQx586OMEZRzsWqkKsXxx7Yg02WEBjVBDgeKWO9MO1vN05 zpxAcx9lr80FHc17UlXhydq4aoAi4FdinW0MrCTk/560x60CBnztTRjBCrEqcBGKBqHC V8CWnrmm0fTilYdGtX7gu27x1w3QKj3kL4AikkQiRgF5BJnMZGngqsw50FObWTE4+mJL 5Hj7EhxikTIDCiZgTfKC0pxzUibjmb81+JshMObMHam8PP08nkb01FuT9DYvqUW4gG+1 y7mQ== 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 bi21si922463edb.0.2021.11.14.09.28.09 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Nov 2021 09:28:09 -0800 (PST) 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 4HsfRY0qWfz1rk5m; Sun, 14 Nov 2021 18:28:09 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4HsfRY0jVsz1qqkB; Sun, 14 Nov 2021 18:28:09 +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 w8Cqz1c7rqRG; Sun, 14 Nov 2021 18:28:08 +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:08 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id D4E854541B62; Sun, 14 Nov 2021 18:28:07 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([IPv6:::1]) by localhost (mail.babic.homelinux.org [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id qaIV-bAq_f3P; Sun, 14 Nov 2021 18:28:04 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 9BF4745426EE; Sun, 14 Nov 2021 18:27:45 +0100 (CET) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de> Subject: [swupdate] [PATCH V2 12/36] channel_curl: statify entry points functions Date: Sun, 14 Nov 2021 18:27:09 +0100 Message-Id: <20211114172733.71602-13-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.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/corelib/channel_curl.c b/corelib/channel_curl.c index f64ca93..06a030f 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(-)