Message ID | 20230817111712.235063-2-stefano.babic@swupdate.org |
---|---|
State | Accepted |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <swupdate+bncBAABBR4D7CTAMGQEVXBVX2Q@googlegroups.com> 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=20221208 header.b=CfzL3zlP; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::33d; helo=mail-wm1-x33d.google.com; envelope-from=swupdate+bncbaabbr4d7ctamgqevxbvx2q@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-wm1-x33d.google.com (mail-wm1-x33d.google.com [IPv6:2a00:1450:4864:20::33d]) (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 4RRMtC12cKz1yfk for <incoming@patchwork.ozlabs.org>; Thu, 17 Aug 2023 21:17:38 +1000 (AEST) Received: by mail-wm1-x33d.google.com with SMTP id 5b1f17b1804b1-3fe1521678fsf50904815e9.1 for <incoming@patchwork.ozlabs.org>; Thu, 17 Aug 2023 04:17:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1692271049; cv=pass; d=google.com; s=arc-20160816; b=Q/d8YiPuNjrT6zkLTz973MedcKEOiedH6V3z2nrYSXTDB5xsizOEXaWaKlE5Mqb4LU NMbPpH6dnMtl1lfO9/NlKzF3NORAifeAiw2KlvYEAT3uyW4Jw+NoeqoQIvRGVpLDchvo jpQQwUzzfrHS8Apb/R1gpvqBLgIasqIy6VlbsglyCqjddw3/FuXk9gFZaoNeJKaJeauz 4cwBXYjLl0mn6Dd6ERushFkcIMF904mRjbk/mdtlM5geFxK6gSftUeY/rsZJEdU1Crjh RFWaX/Z7p2pfgK1UvMdZzUkrmUNBBMqIaJwLrszTTs3yWbfOJ1JaB8ettJu5Urdbe+u7 HhOQ== 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=oX0OfSzZJsZ55D8XxvSPNBavguw+2A9uD5SJHektc1w=; fh=8dElY+qPRRukreI1M8SqoUXvyuuvKbIPX0wU3Qm8B9Y=; b=njF94zNkgcX9rYwJDuB6R+nBGafviAujJ1E8+Rz+7R8RjltaoVLpYb0mq4a9Cm3U4i 0pD/eM8fH/Kf3HMhHyHbXb+HYnOOl7f7syJq7yl7/ue6KxeNiccEQC1S/EIbhuqlPKk4 /YnSM5jwVYEdw3Yb9sQYUC1DU3RPQNgWT770a12Ok0B3plk+JO/2LF4kYUirdUtwxsaX 9pV0D3r/MTlO+OaktMAi8NhtkuZBuXCWPM6nYPVQ6oIKJMF3FBsVv4sPRtBChGwl+6Z1 2ldfUqU7yQTr9U3We6cX7l6en54qyusXZJjA2WJ8iI/BwiiymSN8WvJebru+BhWuONuf efMQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=softfail (google.com: domain of transitioning stefano.babic@swupdate.org does not designate 212.18.0.10 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1692271049; x=1692875849; 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=oX0OfSzZJsZ55D8XxvSPNBavguw+2A9uD5SJHektc1w=; b=CfzL3zlPVGz49VQHqVTHsxV3mp49BsPMIKdowLg5cxLivefVfW2ZCzp+17aTtCoL6m gwaEOeCXFfKb5eZAJfwiTFSCmPtOYLK3QWDcqhPNMwn1nyZK038HcEhHizt2MmiN1QGj A2D/R06dEdhxAxtJsNX7ylt2mUzj1Tr8ZykQaI8Dt/6kxD9Tyx6wQ1oUTMkD5W9bHBnA ZitcBpp0wYepv1VRyQDn4yicWzsjwq59/qZ66TnBuWRfGjd53Z7mylm/hrXeDzICPQ5O Hqow5B5Chr00VZ4DgK8F6Js9A7Bii+azAJAar9IoH1a5dgqNXM6bl5OSyDgVlPRaA2H0 q+bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692271049; x=1692875849; 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=oX0OfSzZJsZ55D8XxvSPNBavguw+2A9uD5SJHektc1w=; b=LUJDqe0J/1J03rPU66ADL0ARDHeyJje3eagRsWWcZEIQsSNGc4Un7xDEviCckHrXjU PkAiXfm2SWynjoNd7VEC5z4BU0SBWWTPyhg9zdNnTqG+7O8T1wIGvEYFPM3rrVifpleK FeBz8pfskLHERtF8oSl0AuEXQObZJQPQQc75qk3Q40loAIvOUfzr9EstwNLsXvsBTzcp um8u6QQY8krQU+Drk7cbs0TooZYTFC1OMbFcXySrvx44WEWvLygwmHPJxssu/GuZrtbv eZ2vUOXAqN/g7f093Y9aAaQcyx0YeA7SCstiZnwV5OBIWqEAM0u3KDulpgZKrnlhLgxt AD/g== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOJu0YxLWQMz3fNiUFsCDp+TQvsXVN2Awazwg/FVqmuiWIMdXsktzU8o yvY4TvCcVzL89gE+Gu49AiI= X-Google-Smtp-Source: AGHT+IHG1BshQ/bu8R7qMUdz+x9Y/DCX67N567rYWoxUTkk2SH1JmLty/kYwzdPR8lpp6OhzcylqNA== X-Received: by 2002:a05:600c:21ce:b0:3fe:2859:a7b1 with SMTP id x14-20020a05600c21ce00b003fe2859a7b1mr3795567wmj.19.1692271048415; Thu, 17 Aug 2023 04:17:28 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:600c:5110:b0:3fe:1d45:c71d with SMTP id o16-20020a05600c511000b003fe1d45c71dls1284405wms.2.-pod-prod-07-eu; Thu, 17 Aug 2023 04:17:26 -0700 (PDT) X-Received: by 2002:a7b:cb91:0:b0:3fe:20aa:ada0 with SMTP id m17-20020a7bcb91000000b003fe20aaada0mr3488752wmi.15.1692271046831; Thu, 17 Aug 2023 04:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692271046; cv=none; d=google.com; s=arc-20160816; b=IQE54/PGtwU1kzy8wZOVY3GFjohPQWJ2A4pytdWjt91KGZg3hb8OEZS88v+kqwZFvU utQnlZkqtQW1L5Q5/KZzk0kUaEEW74oFqWPRBo9WDPSMH+IY0LT96dbTRgHca4E2+ix5 zxHAt9U2oTVSaAhHnOpUA+MG2yZjpzDVEGk+n3rDhuMpJf415/K0lDjtg0uMsQs/0irN 3a9BUoHQ1N+8kdu9I1bPAM73I+cHkPDF2jKdH0WcW4c2pqUsP401xkMoCx+ilMjqtz1h n290IQWNj5x+H7eyNdWA0FOH2zonzckyplIpPFakGqC84wuyt4P9QtHODOhugyBLCdfV 7UMg== 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=rkibHAFT9ElbV+oDWafhj/bRSclq/TItsYm/1WeblVg=; fh=8dElY+qPRRukreI1M8SqoUXvyuuvKbIPX0wU3Qm8B9Y=; b=hIGxMoF6IB+K9JWrw5uG2c2Lz7P/SzcWgJsMqYK5j4+724yADlPxImmu7z9WZHtTbd yvO23VJdbDAaTpUQSHsBu94ZCBM+9j92fyRS1Hq7umwnymQtWBSpr7X0qA4URv/JidxM M3FNYS2D3QviR0u6+pK99P2rvi6YkY05QbrM5O+U4Giev5P16krLwl1H4POB3zR+NVzF EDiWT4KAo7i3rVvI6wOzKigjnPv0xOl7mrVzOXyIQR2mFrZcC5zTMjplkvHxgdfKvSSC a6RkIeX+hy0jB7IBugXkcToYeY+APrStcvAwG3G2nqu8/qypQYdbE661832ptMpZeOr2 S5Zw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=softfail (google.com: domain of transitioning stefano.babic@swupdate.org does not designate 212.18.0.10 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mail-out.m-online.net (mail-out.m-online.net. [212.18.0.10]) by gmr-mx.google.com with ESMTPS id bd17-20020a05600c1f1100b003fe1c5703bdsi299182wmb.0.2023.08.17.04.17.26 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 17 Aug 2023 04:17:26 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning stefano.babic@swupdate.org does not designate 212.18.0.10 as permitted sender) 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 4RRMsy3rFmz1sCld; Thu, 17 Aug 2023 13:17:26 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 4RRMsy3br5z1qqlS; Thu, 17 Aug 2023 13:17:26 +0200 (CEST) X-Virus-Scanned: amavis at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavis, port 10024) with ESMTP id 2929W-X_7rYJ; Thu, 17 Aug 2023 13:17:25 +0200 (CEST) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Thu, 17 Aug 2023 13:17:25 +0200 (CEST) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id EE6FB4540D30; Thu, 17 Aug 2023 13:17:23 +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 ogPBlwPn2x_2; Thu, 17 Aug 2023 13:17:18 +0200 (CEST) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.48]) by babic.homelinux.org (Postfix) with ESMTP id 6557C4540B3C; Thu, 17 Aug 2023 13:17:17 +0200 (CEST) From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org> Subject: [swupdate] [PATCH 2/6] cosmetic: rename downloader Date: Thu, 17 Aug 2023 13:17:08 +0200 Message-Id: <20230817111712.235063-2-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230817111712.235063-1-stefano.babic@swupdate.org> References: <20230817111712.235063-1-stefano.babic@swupdate.org> MIME-Version: 1.0 X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; spf=softfail (google.com: domain of transitioning stefano.babic@swupdate.org does not designate 212.18.0.10 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org 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 |
None
|
expand
|
diff --git a/core/swupdate.c b/core/swupdate.c index 58e75418..6b536b83 100644 --- a/core/swupdate.c +++ b/core/swupdate.c @@ -889,7 +889,7 @@ int main(int argc, char **argv) read_settings_user_id(&handle, "download", &uid, &gid); start_subprocess(SOURCE_DOWNLOADER, "download", uid, gid, cfgfname, dwlac, - dwlav, start_download); + dwlav, start_download_server); freeargs(dwlav); } #endif diff --git a/corelib/downloader.c b/corelib/downloader.c index fcb1bb56..a301c224 100644 --- a/corelib/downloader.c +++ b/corelib/downloader.c @@ -117,7 +117,7 @@ static channel_data_t channel_options = { .headers = NULL, }; -int start_download(const char *fname, int argc, char *argv[]) +int start_download_server(const char *fname, int argc, char *argv[]) { if (fname) { swupdate_cfg_handle handle; diff --git a/include/download_interface.h b/include/download_interface.h index 09fed453..8e031306 100644 --- a/include/download_interface.h +++ b/include/download_interface.h @@ -12,7 +12,7 @@ /* * This is used by swupdate to start the Downloader Process */ -int start_download(const char *cfgfname, int argc, char *argv[]); +int start_download_server(const char *cfgfname, int argc, char *argv[]); void download_print_help(void);
start_download() is better called start_downloader:_server() in the case the download is not immediately started but will be triggered later. This is preparation to add IPC to the downloader to transfer URL via IPC. Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> --- core/swupdate.c | 2 +- corelib/downloader.c | 2 +- include/download_interface.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)