Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp955480ybi; Wed, 19 Jun 2019 10:44:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPVfH8XIgc6iJTHTEwwCZKJB8RZ6L3HYowfmWrL8+pyzyK01WGmWwsQNh2kvaqKsYLz6s1 X-Received: by 2002:a62:1ec3:: with SMTP id e186mr128391141pfe.197.1560966278970; Wed, 19 Jun 2019 10:44:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560966278; cv=none; d=google.com; s=arc-20160816; b=Jpm6b581MFGoRJLMWsKcV4VS/WFZHw+uMHCTOD6w8TG+qX14W5WL3d8otFm/VJUKVn jST0SFjOmz7tplPBIvsQc3xoCd7ONaMz0yFAacPod8XYR6NkmUb0pAKf/vXGht+cy7/w W5srMS453GtEH6YRGfvt+i2Panbssj68JjSiTC1VNIdStOSjHOtq3AGs29RcfKcg4kk1 21mrWvDwJ3IxgCIhbbijmi0OR6kMwVWxMs3Ji0hfgSA/u/1tHxRYOeEqdDuUBnafkZIJ VX2e77gejTzamH0ZVZTpJpNE2wxfahGQWw7DyBGf9eQzDyq4FvF7RiN/+RntCh/NJA/S rZdg== 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:from:date :dkim-signature; bh=6KTItril6hQ+E5/uBSPn0qyoO+cdLTA7UA8viNvLfdA=; b=YCQkUW2cmYakCmC1u8ddOLZPpQh88TggVaGhmoyv12RkyKz0hFbd0yfKpFxxqTsipW qfEsrJFdghOJ+xHOarvmas2KwsKRR6Zzc741I8nwFQySqjoZMlJH+QfS4/ZX16n1tEJ9 yszMa9sqNiALAk1pwOl2sL04YEAuHT6PuxIIgc5wI/fwpRqLw5z3/M0DWaHT7hnjmFp4 r3G5imfiEZ0/YKSgrumvetAcIW662JysdZqdOC6bi2jhihbVuKlIJQW0onRIu2TTAPWz 9up7Pvsk8zueQaAjjs5cLYwdVtrWCnsff9mlVDqR0h29FUhkcg6+0qkyrCTIwcHx0qsa mcZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b="hnlnTQ/Z"; 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 m31si3624121pgb.512.2019.06.19.10.44.11; Wed, 19 Jun 2019 10:44:38 -0700 (PDT) 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="hnlnTQ/Z"; 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 S1726628AbfFSRoI (ORCPT + 99 others); Wed, 19 Jun 2019 13:44:08 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:41531 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726047AbfFSRoI (ORCPT ); Wed, 19 Jun 2019 13:44:08 -0400 Received: by mail-lf1-f65.google.com with SMTP id 136so268850lfa.8 for ; Wed, 19 Jun 2019 10:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=6KTItril6hQ+E5/uBSPn0qyoO+cdLTA7UA8viNvLfdA=; b=hnlnTQ/ZhWE8NR+2UlipayGS0ROFKqBDQ0PTXkoB7ebCVBBJbdBdDz8LCQ+XIb214K drtEsqWfp8+cW29yVczV7XOEqu1nMBvQjnPOemcMHTkX9/sU9bjQgAytdShrAc2FgAVT 0Q2oA33z3VkVz7QLkrvotTckSSSgwAd1dcJzR5O/dCtxcwMQ1Lh7i4rp8iKgHjYhC1jt SkdUq9HtzIJzkQzTDYI8m87ns4Uc7bTmHBROk4mzZHw+djN3dHB381HpGCk8X9ITKrr7 TQqurnQTv/gHdOW5G5yUaQbBVhp+FPcxs6jsC7CgWjdK+PM855Qj+bfY3Scz5jdzLI8S qTEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=6KTItril6hQ+E5/uBSPn0qyoO+cdLTA7UA8viNvLfdA=; b=l9ULdH/Zyc6g+NEmWxXBPsGooI7HeTOvBzkuAjQNlHnVDcsMeQQxVRaKkQMSxQCRcW xDAQqpeiAO6PhQLBfj9X7DKhN9MYSSY2Egeep+4Q6R9sNlTwFf1Cfw+dIixkVIcgv0Se AMfxK00uL5cTFV5cTEwgdngSC2FQUnaZJT6qUCzHDXyU7LgfSdlIY5E1Jy4G44PMK1kh PjkZtpdR3rMDmFGboormW7IbSHFHvUxeK44M5aM0QauqlvenujyGxCUT8PgzkdAFRBWV PpgjB17acD//TDb5nhheg+3b67HqKVJvv95G15vSmCQBVe5TBpMv/hTnsXEga5caTcAq nUrw== X-Gm-Message-State: APjAAAXqH5W1Gihgxw4qh4bs46Oga+J6D4hbLlfA7G9LEIVqB4L7S/j0 HRcTauDPfzaTk8dnJuCNbNFHRA== X-Received: by 2002:a19:f00a:: with SMTP id p10mr26727046lfc.68.1560966246449; Wed, 19 Jun 2019 10:44:06 -0700 (PDT) Received: from kynes (apn-46-76-45-65.dynamic.gprs.plus.pl. [46.76.45.65]) by smtp.gmail.com with ESMTPSA id y6sm3155954ljj.20.2019.06.19.10.44.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Jun 2019 10:44:05 -0700 (PDT) Date: Wed, 19 Jun 2019 19:44:03 +0200 From: "michal.lowas-rzechonek@silvair.com" To: "Stotland, Inga" Cc: "linux-bluetooth@vger.kernel.org" , "Gix, Brian" Subject: Re: [PATCH BlueZ] mesh: Clean up includes Message-ID: <20190619174403.yhrey4dkxges2ggi@kynes> Mail-Followup-To: "Stotland, Inga" , "linux-bluetooth@vger.kernel.org" , "Gix, Brian" References: <20190617213847.21705-1-inga.stotland@intel.com> <20190618073559.tmpaj2oellkf5354@mlowasrzechonek2133> <6b160fc3a67b72495bd533a884ae7edd2d39c47b.camel@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6b160fc3a67b72495bd533a884ae7edd2d39c47b.camel@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 Hi Inga, On 06/18, Stotland, Inga wrote: > I don't disagree, this was sort of an "intermediate" patch. I'd prefer > to remove the reference to json from storage.c and the rest of the code > and localize it in only one file that would deal with json-related > processing. > > So I might just as well go ahead and make mesh-db.h a generic API to > allow for different storage formats (even though for now we have only > json defined format). Sounds good! If that's the goal, please go ahead with the patch and any further ones. I'm very much interested in using non-JSON storage, as more granular format might be better suited for embedded devices (flash wear, power failures and whatnot). FYI, you've probably noticed I'm attempting a similar thing with mesh-io layer. best regards -- Michał Lowas-Rzechonek Silvair http://silvair.com Jasnogórska 44, 31-358 Krakow, POLAND