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 DA433A0C43; Fri, 8 Oct 2021 00:10:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C59EA41271; Fri, 8 Oct 2021 00:10:34 +0200 (CEST) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by mails.dpdk.org (Postfix) with ESMTP id 231AC411EA for ; Fri, 8 Oct 2021 00:10:34 +0200 (CEST) Received: by mail-lf1-f53.google.com with SMTP id z11so22530852lfj.4 for ; Thu, 07 Oct 2021 15:10:34 -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=AMxqN5l/TlBzG/VU27ZsXWtD+UrctK7G23pZLVo3c8Q=; b=iK9iJYYx+n3wOBKJ8uYZ8cTN21GBh3Rv5NJ1sDu8pOkCznA2fU4gBxWjjDP1HtYepp Qks4TUjP9nP436kf5yafXLJdR8EQeNvDTGpl9EmvNFK3XtVVK7SheXOWBRhx55W/8EZw j3ksb6L7bDH2xZY3pqNKLnsn5cCXNkGC6/QFnuHsQlgF4J4rM4lzTpntpY+HXgNaI8gz gTkTr5+GGOsIag9VKQ4VtNMDOiuX/nteOy129YKoST3jgcNYuilrTbn2kv9dDZcx9/+r R8g2usaHduk9eV+SekUG+ZiA1oHZI1hFrbJeTedTyFYAabpf/bcjMWHJzNJyomamB3n9 GUDw== 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=AMxqN5l/TlBzG/VU27ZsXWtD+UrctK7G23pZLVo3c8Q=; b=sZ1gepNcsOm3xtf0D0mJJ0o/F/H4+3s+rmiEtOPde85ibjs47xtoHyj4Ogwt4fuvAP y44tcq9eNW4HF4BU7A4gtQV/4dj2Dm66kzPeRCfseAhbyD4YlU2IURbHgeQ1slzBwqoB 8Ffx3DjyYT169v7ANh6p2RscFF2mGtAqubnef5KyKO5rB9d7P5LpJmQxuvXiLF2eQifT awEJmbnhkTy+O1AxNQl78cQyTXBP6JkwprWoWVbwHV6BnSlDJXm2Ccz7y0g3QDGJerTF LBD2wjJqXKwmp711yFLpmf85xO1G0Q2dcgYBbXCAn7/bemxTswP1Uh2/FNuLkp1A11t2 g66g== X-Gm-Message-State: AOAM5324jBCMTChS1ZceUtxR+Ni8Cwj0VJaan5s3scVitGK9rVm2pfyX slmhK/i/rvZh1HdVQjLbrfqjIBG/w5Y= X-Google-Smtp-Source: ABdhPJzQb3yPIGKc98+SDesT7YLJchL15lwcdHsI2F5GMANj/rp1pOyMxydcHMxkv+pLbObSlskudg== X-Received: by 2002:a2e:81da:: with SMTP id s26mr7143409ljg.210.1633644633549; Thu, 07 Oct 2021 15:10:33 -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 y5sm57050ljc.56.2021.10.07.15.10.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Oct 2021 15:10:33 -0700 (PDT) From: Dmitry Kozlyuk To: dev@dpdk.org Cc: Dmitry Kozlyuk Date: Fri, 8 Oct 2021 01:10:26 +0300 Message-Id: <20211007221028.314230-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.3 In-Reply-To: <20211005201545.179902-1-dmitry.kozliuk@gmail.com> References: <20211005201545.179902-1-dmitry.kozliuk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v5 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. v5: fix API documentation (Olivier), remove useless NULL assignment (Stephen). v4: rdline_create -> rdline_new, restore empty line (Olivier). 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 | 22 ++++--- 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_private.h | 57 ++++++++++++++++- lib/cmdline/cmdline_rdline.c | 43 ++++++++++++- lib/cmdline/cmdline_rdline.h | 86 ++++++++++---------------- lib/cmdline/version.map | 8 ++- 10 files changed, 156 insertions(+), 93 deletions(-) -- 2.29.3