Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5092861yba; Wed, 8 May 2019 07:47:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqzqtsraH4cjGLpdDal80UmzzXkCLFn4wlmxhgQIysKGiBxqIPebydp4hEwlyOdDLwAd0fpT X-Received: by 2002:a62:164f:: with SMTP id 76mr49618351pfw.172.1557326857217; Wed, 08 May 2019 07:47:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557326857; cv=none; d=google.com; s=arc-20160816; b=YpdbQKtZvHaLbNfXkGO4ucwOoUtGzQRGW34ZVQQ4AYR704whgo5OHCmB47wDtUpDwP KeFYo++wAo2DXM9HSXTGuoKgcRON7ooj3Xvb9D1snDX8MPqOJrTti53YvARQZZX6mDHQ 1XYc9nGAZwVaMVGH3zPFbr4VOHIMuaL7lR7et+SXs5l08mtLUjjMFc+xw0gH4D6A7BIx 3TJyA8tBJ1U3WMbxqY4FXKhKSh3oM2G/ySc2TCkg1aUWzZnxKc8ok6+9Jyygbty5ooJu dfFc+GDeWJJ+AB9ARyvPGM+Pq3LXXH/GkRnKzygarqkEI5wDrBqsklffKZTdv/22C4wo cZyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=y4pjMLEwPXW91l2kZqWaykFBLHcv8LhKQS62F02RhQw=; b=T23zpeGbISNci/xyBqrBr0EOUmzXzLP9Zzw9dPFB91sCYqwAz+KGGhcfvo+7ZYliiy 7Vx2uAPmCWGGyo2KNd11bPDfOIGSkR218rmXid7i1sbOLe72g0NRNop79yktEIud7dzF Vviz079JhT5cexhwWIMBZiXdg9JNiTK0E9glA5kaGo7pgsi5UcK/Q1dajmuHT4kTnK5I GyfXdzyqH63e12+fGlsC801UE+byvV9GCfeK8BCfm5+UkrkHfK3NYENH+jocjtDrmlF5 SSrXIoMKPsOruHCsoBu1kXzbpzkZVP2S35UI/g4N1ZIrGOOgOIt15emZGXmT1jCnaPYf pttQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@silvair-com.20150623.gappssmtp.com header.s=20150623 header.b=UudnHkeF; 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 67si24698510pfe.269.2019.05.08.07.47.07; Wed, 08 May 2019 07:47:37 -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=UudnHkeF; 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 S1726608AbfEHOYw (ORCPT + 99 others); Wed, 8 May 2019 10:24:52 -0400 Received: from mail-lj1-f169.google.com ([209.85.208.169]:33813 "EHLO mail-lj1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726589AbfEHOYw (ORCPT ); Wed, 8 May 2019 10:24:52 -0400 Received: by mail-lj1-f169.google.com with SMTP id s7so12229243ljh.1 for ; Wed, 08 May 2019 07:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=silvair-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=y4pjMLEwPXW91l2kZqWaykFBLHcv8LhKQS62F02RhQw=; b=UudnHkeFWN5NoW/RVGbHPsH9oMQTiHWMPiT6wEQe/t/9KrViGSiI+N5z/HmZ42VTGT xClCeO7ptbMQksExkHmcJXsWbKXGRBZHwddvZdhtNPnGRaO14VKERcXxhfYLSYd94glN gpXvkNPDixN2//bh9ylbduw9bN/kRhAbryk5oongUT46g7afiMfCSdCk5IrFe9ZaxYd2 uksb2KFKRdHyC2Oa4WadV0MMCOp5Ihn3oaR1LQwHcADqtYIu3vOAigmv3XqlC/+n3A+l Up+xvEdhqEDaG8tACsNRZY0eMAjeXWQX6j0TP128HfUqGV7RiRv9JkKO5oNn3BnoJZ56 Igug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=y4pjMLEwPXW91l2kZqWaykFBLHcv8LhKQS62F02RhQw=; b=WWFuYZJfyAtbUAyuhH+dUBx779/8bWnlN2+ukXmCvKI6c9aV0NSUEIu9DQx7S0fJFg cLxVC8AogTphNoZOZEJBeK1WBAY2WwSXKX7Txo6s62D2l6g9WLnMJn/7kNL8/EZ6CG6P 04+qo3ATWABNb4y8K5kAzdzEqJW3lU9qsohFsPszhcR3qH2K2JZLy2Vr+w4bfRT1JBhd qhg5LwWwG0T6wJ4iKsiAmbMU2iJGTa7X2aXxuKf7yOyGng/4p+WOBPzIP3ovcJ2ptek+ XXbR4vKaDsFRgqAnKDdMkgksbGw4/RwvoSN8MG99XnKnKPnLlSBD/jjFkH/w2oIAsx9Z 4yUw== X-Gm-Message-State: APjAAAXfzzZiu8KTGeN4BqWNJTike9vqB66pVo0rP2J+KAgr+1RcEFNm /EcjzVVYGoayxiiCV5qEBMEih1X5hb8= X-Received: by 2002:a2e:86c5:: with SMTP id n5mr21767861ljj.184.1557325489941; Wed, 08 May 2019 07:24:49 -0700 (PDT) Received: from scytale.silvair.lan ([217.153.94.18]) by smtp.gmail.com with ESMTPSA id v26sm2991939ljh.11.2019.05.08.07.24.48 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 May 2019 07:24:49 -0700 (PDT) From: =?UTF-8?q?Micha=C5=82=20Lowas-Rzechonek?= To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v3 0/1] mesh: Use node uuids as storage directory names Date: Wed, 8 May 2019 16:24:44 +0200 Message-Id: <20190508142445.4508-1-michal.lowas-rzechonek@silvair.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org This version of the patch drops direct asprintf() calls in favor of l_strdup_printf. MichaƂ Lowas-Rzechonek (1): mesh: Use node uuids as storage directory names doc/mesh-api.txt | 26 ++++++++++--- mesh/README | 7 ++-- mesh/mesh-db.c | 4 -- mesh/mesh-db.h | 1 - mesh/mesh.c | 7 ++++ mesh/node.c | 38 ++++++------------- mesh/node.h | 2 +- mesh/storage.c | 96 +++++++++++++++--------------------------------- 8 files changed, 72 insertions(+), 109 deletions(-) -- 2.19.1