From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 37CA8A0C41; Tue, 5 Oct 2021 02:55:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1CB7A410DC; Tue, 5 Oct 2021 02:55:23 +0200 (CEST) Received: from mail-lf1-f54.google.com (mail-lf1-f54.google.com [209.85.167.54]) by mails.dpdk.org (Postfix) with ESMTP id 725484068F for ; Tue, 5 Oct 2021 02:55:21 +0200 (CEST) Received: by mail-lf1-f54.google.com with SMTP id j5so73957539lfg.8 for ; Mon, 04 Oct 2021 17:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3iwwV8DLkd6oo7fEQOjENEKfBC1KG7r4Vty/Wkst6hE=; b=GnlCg4G7b+FT8eKBnIRdMJ9GtBRA0dOzPApgDA721rIEtAZK1W/WPLMxbqU5nlIJhp dcLRMQ5dM/CtIFKIJqV02cE43+zb3nvzSTHXZD+nGPtH2+gP79V9D+x50LIzKwsjvunQ ZHU5qLvLyd4r87oVPxH4PdKOkcwL9LakbZp4baRPoZLsfMfHL+Vl9AMm7qIZZotna0bP vMiGh+8nB2N5sBs1iVbsQY+QjSNJrTOhVioxqyesr2Nyygpb4sGW06FuKF7/PaXTZJVo 3hDIkSAEB2iCjYJ3e0EJw+5giZ+wVvYx+N59M6FOkRtwvYMdJC25nku8x5oFwukX3xwJ cYOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3iwwV8DLkd6oo7fEQOjENEKfBC1KG7r4Vty/Wkst6hE=; b=M5EQ9TOCrrlhw2S6N7VPbswi1RF0W8GB8uMM6H1x9NwWzuVBhtCtCjxe6w287hPvfR xLUrZCa5PoS31wAbRVfbO/iCRj63xWO2hLLrNvVBvJgVfJiNE3hYJdV36YmHsEzzPkgK 35JdGrF0kxSj90yeODN0c9Weh2jup4T4NP9/dd5au0fRMoMSMl85MYgChTESGDeRLdRX YCMBVxoc6aMZyXQiae2MzgHVQSQcWz7JUwTlUl0/7wimxtgT2ZBz1lMK9Vq+uyHMzLae b+WknTJ56+zMO+GMGqLfsyn3qKnWP8+GW0u+7ohfHvHyLrLpx8ly4OgyHpFp1WtJlKex 5Qvg== X-Gm-Message-State: AOAM5315/s1qVDS5LnF+1x6KYSvK6TL88+16flgN4dZ8KuDXqvqlGnhg Ie19j4epZ6t4zX3FK4RewsFvLM8ciBc= X-Google-Smtp-Source: ABdhPJy3xdVW/BtD3iQpRrSE5zf4WWd8tYavRr5NVfFpmW3I8Ut7CyLPhbI0Kb7pOTNkKn/x/Uf6Xg== X-Received: by 2002:a05:651c:228:: with SMTP id z8mr18924938ljn.429.1633395320821; Mon, 04 Oct 2021 17:55:20 -0700 (PDT) Received: from sovereign.. (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id b3sm52840lfe.58.2021.10.04.17.55.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 17:55:20 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: David Marchand , Dmitry Kozlyuk Date: Tue, 5 Oct 2021 03:55:14 +0300 Message-Id: <20211005005516.132377-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.3 In-Reply-To: <20210928194714.365563-1-dmitry.kozliuk@gmail.com> References: <20210928194714.365563-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/2] cmdline: reduce ABI X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hide struct cmdline following the deprecation notice. Hide struct rdline following the v1 discussion. v3: add experimental tags and releae notes for rdline. v2: also hide struct rdline (David, Olivier). Dmitry Kozlyuk (2): cmdline: make struct cmdline opaque cmdline: make struct rdline opaque app/test-cmdline/commands.c | 2 +- app/test/test_cmdline_lib.c | 19 ++++-- doc/guides/rel_notes/deprecation.rst | 4 -- doc/guides/rel_notes/release_21_11.rst | 5 ++ lib/cmdline/cmdline.c | 3 +- lib/cmdline/cmdline.h | 19 ------ lib/cmdline/cmdline_cirbuf.c | 1 - lib/cmdline/cmdline_private.h | 57 ++++++++++++++++- lib/cmdline/cmdline_rdline.c | 50 ++++++++++++++- lib/cmdline/cmdline_rdline.h | 88 ++++++++++---------------- lib/cmdline/version.map | 8 ++- 11 files changed, 163 insertions(+), 93 deletions(-) -- 2.29.3