Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3638184ybl; Fri, 20 Dec 2019 12:50:46 -0800 (PST) X-Google-Smtp-Source: APXvYqyNxC1sBpImG2CjeLmX7J2GiiJ4OyJXtF/H4pV/iDuChxXn/0RuehyaqWEx85ySafhhkWc4 X-Received: by 2002:a9d:5550:: with SMTP id h16mr15963116oti.235.1576875046223; Fri, 20 Dec 2019 12:50:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576875046; cv=none; d=google.com; s=arc-20160816; b=DDq1c6buriBn7p9c4TYn4GA9/CzxPuo/5K4YUfnNyinTEhSY3tUUA8A69DM3Y3ZGDI 0iaDPmqa74JmXo/N8SSxawA2Ec4/bvtv73Zcjrd/0mmrFMHv3gAwohB5DHVDs4bnUu8/ ee/zOxiJEphzcHo/XfrN1pBkKdq9U8M3b/ghjkuqSTczksyiIfSbXeCvJ8R7JUAtEZ4R Kz4u5W6/mss3fSue7s125RqlHB7WlAM6H86N3N8nYmnG8WEFM1stY/eDUJVaWqzVLzAF yu1Bb0K2RNHFozGjECOswKpPT1HpucEIBPQabjd2EBd1Wn9jqf0h5eqwTdILpWtWzZPL CBiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:date:from :dkim-signature; bh=G/iJwAV3G5Mizs3c21wyBgc3jvEdl+VOKiGzT0GyuZo=; b=AolqH82KzSugOwtE4YhCWg4y95RnR9ic+iLSYzEtSX0dgsLTfKrNRAoYDWlQhTO5Qh gNk5A1FzYw9VBKuj4kiRyURoE1TuYuiWf0dWKHowQZfJCGY3f8rr4Uf/odOoixO7yyo7 4PPPlm7oBFWWRncDzyOYJlTWrLaQJF54CskLskAxA3oBuJRTyDMk0tADmid3oI6mcGZR +uE2Y3cZ2//DZzpR2NWYRKp6eWOwxRhs2YY4lBKuH+wNSQwhO+p/fHzz85XHVuMBVuQk TNl6Mjq++oLeQMJIovZFgmUA9ggZSjRauhjjne+yA0UA8+nP2auLH9C+dMIM/yAv0yAf bEEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=KsXtjHpz; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 73si5352453oii.60.2019.12.20.12.50.21; Fri, 20 Dec 2019 12:50:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=KsXtjHpz; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727402AbfLTUuQ (ORCPT + 99 others); Fri, 20 Dec 2019 15:50:16 -0500 Received: from mail-lj1-f176.google.com ([209.85.208.176]:33494 "EHLO mail-lj1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726525AbfLTUuQ (ORCPT ); Fri, 20 Dec 2019 15:50:16 -0500 Received: by mail-lj1-f176.google.com with SMTP id y6so3288873lji.0 for ; Fri, 20 Dec 2019 12:50:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=from:date:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=G/iJwAV3G5Mizs3c21wyBgc3jvEdl+VOKiGzT0GyuZo=; b=KsXtjHpzZC3UAB9WakJQ7UI9guYueUFmYe+2veXUperbLJ8HfwquvEbk5umFU3fO9x SAoJYITxJ1YtnYsHMIMp8ALQmkgWLFXwr6a0FSFaQJ0ivJ16/fM8+hOVW5QprW4zAk/x pfLwcIu4hw0A51n3e2ag438ljNFPFk6QKqXvYwrdV8y6heIcjdaFVTn39wLoHEXO3Q5C HregsCxN9e8YETts81RJp0+DE+hsvSPLdUFpaGYplMHpAnHm508q1JEu2kJ3pctre6G7 D4RnVIKnj1m0eyEgh9SmbyxZbrll4Wmr1YJ/k0Dwt7L9oA7BwlL85hU20ewUDS+8l+vk h8nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=G/iJwAV3G5Mizs3c21wyBgc3jvEdl+VOKiGzT0GyuZo=; b=k1J53tEiOVd685/CAljz3o+LBIl0OCCbKVy/z/oYpiUnH7gEqjYt5VLH/gCljvz2bz aXMwdTkSAJrJUIVoWLvNPH2I4HW9kLJ8itzpm1lDFONcKBlSAltLGUjUl31AwvXwNaR2 0YFiQwVS/ZX3QohTJikVTcASOzx4UbgK0VKNCCg4ZHwGG1fMWJB8Q+ebGtVUaMgLec3/ ETFZ2HqMq0ub33xf7R7EkXQp7I/9HxJghsruqCq7Cum3HHsgvNefFn8nbCEGMrFEsVkv LdZkUDpC5qIQXbDxO3jG62i4FSHWl3V+RmXPi1+ov4JJ9zf0hJov1TedSCmfiTojDL1H lx1w== X-Gm-Message-State: APjAAAXbfm7ULJr/HARhOsq8Iji8rBta80ysBYBaPehNjv0o0MAN6Lbf dPmsZNT982JkHqU5a9uAmw3yUg== X-Received: by 2002:a05:651c:2046:: with SMTP id t6mr1903657ljo.180.1576875013818; Fri, 20 Dec 2019 12:50:13 -0800 (PST) Received: from kynes (apn-46-215-206-57.dynamic.gprs.plus.pl. [46.215.206.57]) by smtp.gmail.com with ESMTPSA id s26sm5662972lji.9.2019.12.20.12.50.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2019 12:50:13 -0800 (PST) From: "=?utf-8?Q?Micha=C5=82?= Lowas-Rzechonek" X-Google-Original-From: =?utf-8?Q?Micha=C5=82?= Lowas-Rzechonek Date: Fri, 20 Dec 2019 21:50:11 +0100 To: Inga Stotland Cc: linux-bluetooth@vger.kernel.org, brian.gix@intel.com Subject: Re: [PATCH BlueZ] mesh: Base config json code on newer version of json-c Message-ID: <20191220205011.nte4wz3n5ujxwj4j@kynes> Mail-Followup-To: Inga Stotland , linux-bluetooth@vger.kernel.org, brian.gix@intel.com References: <20191220191329.5190-1-inga.stotland@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191220191329.5190-1-inga.stotland@intel.com> User-Agent: NeoMutt/20180716 Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org On 12/20, Inga Stotland wrote: > This removes a roundabout logic that was required to delete > a json entry from a json array using libjsonc utilities. > A new API function, json_object_array_del_idx(), implemented in > json-c version 0.13 simplifies array entry removal to one call. > > Also, add requirement to configure.ac for json-c version >= 0.13 Nice! -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND