From nobody Tue May 13 18:25:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1530481473103737.3777083208375; Sun, 1 Jul 2018 14:44:33 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BBD2B30820CD; Sun, 1 Jul 2018 21:44:31 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 7DEFE60851; Sun, 1 Jul 2018 21:44:31 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 1C72718037F2; Sun, 1 Jul 2018 21:44:31 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w61LiI0h009050 for ; Sun, 1 Jul 2018 17:44:18 -0400 Received: by smtp.corp.redhat.com (Postfix) id 775AC60BE5; Sun, 1 Jul 2018 21:44:18 +0000 (UTC) Received: from mx1.redhat.com (ext-mx20.extmail.prod.ext.phx2.redhat.com [10.5.110.49]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6F70960BE3 for ; Sun, 1 Jul 2018 21:44:15 +0000 (UTC) Received: from mail-pl0-f44.google.com (mail-pl0-f44.google.com [209.85.160.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BBD403086241 for ; Sun, 1 Jul 2018 21:44:04 +0000 (UTC) Received: by mail-pl0-f44.google.com with SMTP id bi1-v6so6941606plb.12 for ; Sun, 01 Jul 2018 14:44:04 -0700 (PDT) Received: from centos.localdomain ([157.37.164.55]) by smtp.gmail.com with ESMTPSA id v68-v6sm15006933pfv.143.2018.07.01.14.44.00 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Jul 2018 14:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=SUEPWIIm0My1eSn7P8Of+7oQ8M95NkJBk8e1SZVoDho=; b=dzIXHFaaknSMVhA0Z0oH0ca11AaGHqym+psScK/wiwkhBk/bLefB3QojOKDw56HNwl S1Ed+FKSox0ygUUbir54aHF2tcRSVCNZQOzDEDXY5DioQ3jqLAAOoWIa22kM2QkAN+dk 7PO9jWjoNS6tXl1V0KTlatRHs9Mpl415L8/yyzHeRrg9grrxNnqgSAZj85adIA5Gvu35 PTOCU5e6JoFP4q/3AU80MJO8DzjVoaS09ej1++uRAPVqjbuIr8Do/+fs1iOl+ZyE04cY NuG4TXeQQl4uNa0uUa2AfsB+CYM4qIZhvXMDqtmmvRz91S0G/YDV/CqA9lWMhjmSff03 K++g== 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:in-reply-to :references; bh=SUEPWIIm0My1eSn7P8Of+7oQ8M95NkJBk8e1SZVoDho=; b=bKTcOcoTTYssto64rN10Jfmwtu6tm37uGUZY7KjpG2V1a6Z8EzWJ9dFF25NavfOQ69 bbeaWpDY5sfg+7+2dgSOeXPmeY54u7VNqx/A9FrOzXxUr6whOjxskvfZI0nUGvZJkCqz rFRSVBKf8VdxwuivdzZGwXwsiVy12Gk/3dIN6EiY1HBUSbPCvfTfdGE2aF0lDGKKM6ZH S5YWyRBIf18Su3N67wMYF2CusGdmpsHRObGj+OH3CfyVruHktx7pK0RiyKZZ1I3LeEfr kxzBjXOQKXolwQdXwQH+YMzNRN5DIqeOeFCtUy9wbPJ/hMTKRr3UHL+39jk8ETFKYu7T TkKw== X-Gm-Message-State: APt69E2NH9A/CVaZbj3thjtkF9brXcRd//S3rR7WjaPjWO8AY2jIUpyX RR09vYC5l7sFnkEclx9nZYW5i4cN X-Google-Smtp-Source: ADUXVKLe/qWmMoRTyCD8Vn1jvm/MStlZ8KS485q1OtbQcbLwbguxjdk9alo2SanojNamDaejDDq4xQ== X-Received: by 2002:a17:902:bccc:: with SMTP id o12-v6mr23304411pls.169.1530481444061; Sun, 01 Jul 2018 14:44:04 -0700 (PDT) From: Sukrit Bhatnagar To: libvir-list@redhat.com Date: Sat, 30 Jun 2018 14:30:10 +0530 Message-Id: <1530349239-22049-7-git-send-email-skrtbhtngr@gmail.com> In-Reply-To: <1530349239-22049-1-git-send-email-skrtbhtngr@gmail.com> References: <1530349239-22049-1-git-send-email-skrtbhtngr@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Sun, 01 Jul 2018 21:44:04 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.49]); Sun, 01 Jul 2018 21:44:04 +0000 (UTC) for IP:'209.85.160.44' DOMAIN:'mail-pl0-f44.google.com' HELO:'mail-pl0-f44.google.com' FROM:'skrtbhtngr@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.785 * (DATE_IN_PAST_24_48, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, NML_ADSP_CUSTOM_MED, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_PASS, T_DKIM_INVALID) 209.85.160.44 mail-pl0-f44.google.com 209.85.160.44 mail-pl0-f44.google.com X-Scanned-By: MIMEDefang 2.84 on 10.5.110.49 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH v3 06/35] util: string: introduce typedef for string X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.47]); Sun, 01 Jul 2018 21:44:32 +0000 (UTC) X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Alias virString to (char *) so that the new cleanup macros can be used for a list of strings (char **). Signed-off-by: Sukrit Bhatnagar Reviewed-by: Erik Skultety --- src/util/virstring.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/virstring.h b/src/util/virstring.h index 607ae66..ac930fd 100644 --- a/src/util/virstring.h +++ b/src/util/virstring.h @@ -26,6 +26,8 @@ =20 # include "internal.h" =20 +typedef char *virString; + char **virStringSplitCount(const char *string, const char *delim, size_t max_tokens, --=20 1.8.3.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list