Message ID | 20231120154731.44988-9-stefano.babic@swupdate.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBAABBGP75WVAMGQEQCKJMGA@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=20230601 header.b=tGxYtjAk; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::137; helo=mail-lf1-x137.google.com; envelope-from=swupdate+bncbaabbgp75wvamgqeqckjmga@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lf1-x137.google.com (mail-lf1-x137.google.com [IPv6:2a00:1450:4864:20::137]) (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 4SYsMy4gtwz1ySC for <incoming@patchwork.ozlabs.org>; Tue, 21 Nov 2023 02:47:42 +1100 (AEDT) Received: by mail-lf1-x137.google.com with SMTP id 2adb3069b0e04-507d2e150c2sf4857047e87.3 for <incoming@patchwork.ozlabs.org>; Mon, 20 Nov 2023 07:47:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700495258; cv=pass; d=google.com; s=arc-20160816; b=I3TUdQZnOkLzOxGStF9sZWd92eInZ5S/KUKy7TUsBVGdooxYJDIOscjoQv1jkLxwzk 4BxmZEJTqrwrwiP8w2PclLXWXHuc3d6AlUcDJ1RZusUb/3Q3k6zd3zc4EaEJ/jD0qQ08 WQYIRYHJfYhjSV9RwUzrfmoVvFWpcYyH6WSTBPY5IS/Ox8U3s0dV/7iWMtIbpG2OCy09 IgKmVTSRR66OzDW90iBe0K5ORD7reCNJ2ussAARWAqsVWJLXZP4U484X3mEFqIYJvk/w dFn6LWb1ZCXR6LHOBQDM6h5hbryq2A+Hn0Y8C482bEZQVBAXQEXcZUuIs6823tg2efSn Y0Cw== 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:ui-outboundreport:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=zGrP6eBR8cttmKAWZ2Dul0RGWh8f4WqihCoc8zbYK0c=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=Qe77rn201kw+dP3qzHhfoLSgIN8ddSNmQnIQXdDgSIHnS6IJz/BSf1pMZ3N023MAzI b9jhA/Kw71bryvxwXSiHveJlQoADc5sJ6F8iQL5oEtlO1Duvm99z6DjY2Q3EGSWTeq40 TzE/GZ0+l/8CNkvTkxod4DxAI+2WJonaz2BbqS7K1DVF6Xx2NQpDB0Q+Z6cwvTsgeHiW n7DB3eIVHPMUng8xXDMenJ8jX2xO4+QpW3AYLsrx/+bM+ij62TLztxxQtresUTDu+4V5 I5p6SBzt9tQpWj1DsARes+lJaIl1mxsJsTpZ6LYfp0SNzPiAdiSzwLIcWTsISB7ooY0N sc8g== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.10 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1700495258; x=1701100058; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:ui-outboundreport:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=zGrP6eBR8cttmKAWZ2Dul0RGWh8f4WqihCoc8zbYK0c=; b=tGxYtjAkzm6+H4qmR4eGMYzW+hKumd9sKw5oW7MphRSwm5G0fKev2AsDCOLlURDNrC iBipasiagQcaotU5ZDF4tFwdfN7FzPYDk+O6rKUnn9ne43S7S+G4SLbstFCGdjNLrp+m Lb/hckneHjR8wltE5Nr4CyQeOufvaeMq1rgjjBt++P55YIqtU6JTJqbPWzCMnce1+7Bx eDqNGf568Fn/QWtSmGUXpU0MOMM9e4OkIDsznioqr75jc2+KU/feYGKLujCoLUimaV+J ELU1WnKuBCO4SikI3qXC1xopTodqHQO7YGWC005D70k21wcOkYUIa+9X3aXVMTlCTcoj Ma9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700495258; x=1701100058; 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 :ui-outboundreport: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=zGrP6eBR8cttmKAWZ2Dul0RGWh8f4WqihCoc8zbYK0c=; b=pxrJl/iqoFecxVhldDAEIsTh+riva80MQi2t73pcLDasoQ0m/Hw0T5Sb8kY62vzyJj sgtV7wuC7Wn7HxPeB+YgoOqdAUfKIZuJ/4PuV5VlkTUT/6HxamVB/f1xZ+SnAgrorDbH 6WvEjXwLiOH/Lvw3xI5iSkeJ+YhK9zYSHN/fcftyLYerZNrrse09qXGcbASw2Ug1PvJU co8DxFVffi11qcwgbH0kdP5xr5wk6wcRoIYCJ8rWO7tLxXpfIO9PyItp6QUBrYvo3viV Ezdec9IG0jJd06l1Zn0FjSuWXXaj//qr6tBZ/dS5nUqnh0gBnbOOfq2dICu61JJ+SxFr SMhg== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOJu0YxR8nPtcXS06KyFZ6xkRx54xk6++jhM41RnC/X3RCIfeS9Zayp1 +Xa/4Q6PNmU0zeobPcAvZog= X-Google-Smtp-Source: AGHT+IHjX7oCZrGgGKo05JA8WBNyZYoB+AgjAmzWY1bCbkKmN12ma44X1sKgZ6FeZ++IKbdxeibWjg== X-Received: by 2002:a05:6512:3d1a:b0:50a:a8d3:3e06 with SMTP id d26-20020a0565123d1a00b0050aa8d33e06mr6146868lfv.42.1700495258247; Mon, 20 Nov 2023 07:47:38 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:ac2:4c42:0:b0:506:8b0b:f8bb with SMTP id o2-20020ac24c42000000b005068b0bf8bbls990435lfk.0.-pod-prod-08-eu; Mon, 20 Nov 2023 07:47:36 -0800 (PST) X-Received: by 2002:a05:6512:52d:b0:509:f82f:d87b with SMTP id o13-20020a056512052d00b00509f82fd87bmr5029997lfc.22.1700495256389; Mon, 20 Nov 2023 07:47:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700495256; cv=none; d=google.com; s=arc-20160816; b=wZMuTxo0XGy/0eyL4HwKjag+u6kDWQNxW0Y3bY3W5LX59hZCEEJNxyRzhMyXzFlu90 PPBgbl+pLMd29s9btWo3mtIhOsQyXxJ11nd+jkyP2rFLSQ/q6Bev4qOeR43s9yONF51l d+0/mddHmUCTphig9oEaIvVw/e2ZneIq/xkTsDFFx0ik4oH440ZUm3uWto4B4Ix1AzlT olYNEnc9fcV0GsmtD3o2T0oMutglAgyu1Kp+LcDzZkAlRbwDMfZYGQIGdF/fZQm/cTfr mtjP8qbJ7SfSgelZfCLYKFFhvxG/J+3IiRqGpE7aGbJV9VEUkBU8JBNcOoDkzCAOMmzO tR0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=B/y04mw8nmRXlGmDBM7G9MF/K4gxkeK97an9d4ovR/Y=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=kRaH7mfnhVotbB/dg06dChXYunJxVR5EWx/IXotM28JO1VtgWmU/pdWl5rhyy86cQK OJgrDBUnMVyxVttpoStETgHBFzHPOq1DzGmXtBxT9L0PXEXLVHUOjN1e5y9uVWuQpoWC 3gThRTEdIPbVWb0Q7BT1EWrDm2WVEmi7WY53lBMQbRIUuR3LiRLBi2SFI7rdHMOY8tEy 76vFSk6ILsYOCfL3sSXPNq0iAXebD/iHg+m7H+KY6/drU/LdwMgkEpW7xKosPVLPCe+o jIKIle9Pw26hxsFcS0xJ8FkZG3wk1ubTQ88cbMSeWAie7ZfxW7YcWscXxK3I3jNk+wXZ YM9g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.10 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mout.kundenserver.de (mout.kundenserver.de. [212.227.17.10]) by gmr-mx.google.com with ESMTPS id k10-20020a0565123d8a00b0050aa9bd7f72si198528lfv.1.2023.11.20.07.47.36 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 07:47:36 -0800 (PST) Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.10 as permitted sender) client-ip=212.227.17.10; Received: from paperino.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue109 [213.165.67.113]) with ESMTPSA (Nemesis) id 1MKbc2-1qmK7u2nq0-00L09o; Mon, 20 Nov 2023 16:47:34 +0100 From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org> Subject: [swupdate] [PATCH 08/13] channel API: add a put_file entry point Date: Mon, 20 Nov 2023 16:47:30 +0100 Message-Id: <20231120154731.44988-9-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231120154731.44988-1-stefano.babic@swupdate.org> References: <20231120154731.44988-1-stefano.babic@swupdate.org> MIME-Version: 1.0 X-Provags-ID: V03:K1:mEusA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JY vsa3+KtScnmEo8vX9ZlIrPLC7/DfkVX4iX+kA91+/druyqlARe3aDnRSazke9/Xo3sWgOJwF0 Lnk0H5NV10d2k4A== X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.17.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 |
Native Docker Support
|
expand
|
diff --git a/include/channel.h b/include/channel.h index d44b810a..50237d17 100644 --- a/include/channel.h +++ b/include/channel.h @@ -25,6 +25,7 @@ struct channel { channel_op_res_t (*get)(channel_t *this, void *data); channel_op_res_t (*get_file)(channel_t *this, void *data); channel_op_res_t (*put)(channel_t *this, void *data); + channel_op_res_t (*put_file)(channel_t *this, void *data); char *(*get_redirect_url)(channel_t *this); void *priv; };
Add an own entry point to upload large files, letting put to run POST query or to upload just small amount of data. Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> --- include/channel.h | 1 + 1 file changed, 1 insertion(+)