From nobody Fri May 3 04:22:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1626695296; cv=none; d=zohomail.com; s=zohoarc; b=T/yZVTM5gQscu7lWeNlEe6qQRgSxqoe63BKCF0FnrhqOA3lI1wwdXHUmK3wQ3jNE4vr6BeShNElxDkroVFjB7DVzAc8uHCGP7FA+pxXuyJcLrjkX00jBwZn3/PAPXwS8Qvausa3OI3EHFYw8a/X37FnRLRe9A6wZ8FbXe3uMdzk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626695296; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=+99S/4VsvYkTQ3t73iG42b4MFNamInpE98EjJxfMvXA=; b=aatA++m1fTiuSkQsFdybG5wKu9YlE0wkwihP+Q+gCQdMANnhrbxLWg1FoYP580j7g8OZWS5PBNsN/Kub3EGWjwrjYFg9o3yyBYDcg7e0ohEyNzqVPeKqkVzEIdPPsKTsyL2d1HT32C8eOEYDy44/OCKr2++QYB051b7ybyK6V1s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 162669529635935.49612167715259; Mon, 19 Jul 2021 04:48:16 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-388-BZgCSN61PG6Br_m1u1DxBg-1; Mon, 19 Jul 2021 07:48:13 -0400 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id EFF63100C609; Mon, 19 Jul 2021 11:48:08 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BF83260916; Mon, 19 Jul 2021 11:48:07 +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 967404A712; Mon, 19 Jul 2021 11:48:03 +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 16JBm1Jf012154 for ; Mon, 19 Jul 2021 07:48:01 -0400 Received: by smtp.corp.redhat.com (Postfix) id B798E60C82; Mon, 19 Jul 2021 11:48:01 +0000 (UTC) Received: from andariel.local (unknown [10.40.194.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 24C3F60CC9 for ; Mon, 19 Jul 2021 11:48:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626695295; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=+99S/4VsvYkTQ3t73iG42b4MFNamInpE98EjJxfMvXA=; b=SjtR/wzt3eGA7TRcqgb2w6L1U2VLsj+J9ab37k1YhFDUS7bMsWca5wGBAsjEqcvg5S10lT GfxT6HY8k3cZlRKKkwPlLFJmGG9i1/f/c2ZeaVMwRNqWUN23ZPwWXbOWAyJadmYdf5G4ek 6mdJnqHbfjOvanTZ85CgB5wnpBGB7rY= X-MC-Unique: BZgCSN61PG6Br_m1u1DxBg-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/5] virsh-host: Avoid 'vir' prefix for locally declared VIR_ENUM* helpers Date: Mon, 19 Jul 2021 13:47:51 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1626695306683100003 Content-Type: text/plain; charset="utf-8" Stuff used in virsh should use 'virsh'. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- tools/virsh-completer-host.c | 2 +- tools/virsh-domain.c | 2 +- tools/virsh-host.c | 4 ++-- tools/virsh-host.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/virsh-completer-host.c b/tools/virsh-completer-host.c index d17bc5f5ce..3795d1fd3a 100644 --- a/tools/virsh-completer-host.c +++ b/tools/virsh-completer-host.c @@ -183,7 +183,7 @@ virshNodeSuspendTargetCompleter(vshControl *ctl G_GNUC_= UNUSED, ret =3D g_new0(char *, VIR_NODE_SUSPEND_TARGET_LAST + 1); for (i =3D 0; i < VIR_NODE_SUSPEND_TARGET_LAST; i++) - ret[i] =3D g_strdup(virNodeSuspendTargetTypeToString(i)); + ret[i] =3D g_strdup(virshNodeSuspendTargetTypeToString(i)); return ret; } diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index 29748b0257..f59be4e29d 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -3488,7 +3488,7 @@ cmdDomPMSuspend(vshControl *ctl, const vshCmd *cmd) if (vshCommandOptStringReq(ctl, cmd, "target", &target) < 0) goto cleanup; - if ((suspendTarget =3D virNodeSuspendTargetTypeFromString(target)) < 0= ) { + if ((suspendTarget =3D virshNodeSuspendTargetTypeFromString(target)) <= 0) { vshError(ctl, "%s", _("Invalid target")); goto cleanup; } diff --git a/tools/virsh-host.c b/tools/virsh-host.c index f42e995122..7b47b7583d 100644 --- a/tools/virsh-host.c +++ b/tools/virsh-host.c @@ -951,7 +951,7 @@ cmdNodeMemStats(vshControl *ctl, const vshCmd *cmd) * "nodesuspend" command */ -VIR_ENUM_IMPL(virNodeSuspendTarget, +VIR_ENUM_IMPL(virshNodeSuspendTarget, VIR_NODE_SUSPEND_TARGET_LAST, "mem", "disk", @@ -998,7 +998,7 @@ cmdNodeSuspend(vshControl *ctl, const vshCmd *cmd) if (vshCommandOptLongLong(ctl, cmd, "duration", &duration) < 0) return false; - if ((suspendTarget =3D virNodeSuspendTargetTypeFromString(target)) < 0= ) { + if ((suspendTarget =3D virshNodeSuspendTargetTypeFromString(target)) <= 0) { vshError(ctl, "%s", _("Invalid target")); return false; } diff --git a/tools/virsh-host.h b/tools/virsh-host.h index 840f0b4538..f12258018d 100644 --- a/tools/virsh-host.h +++ b/tools/virsh-host.h @@ -25,4 +25,4 @@ extern const vshCmdDef hostAndHypervisorCmds[]; -VIR_ENUM_DECL(virNodeSuspendTarget); +VIR_ENUM_DECL(virshNodeSuspendTarget); --=20 2.31.1 From nobody Fri May 3 04:22:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1626695343; cv=none; d=zohomail.com; s=zohoarc; b=CGMTmgUKwnTKBWlIVsyAAwtYsak4tHgMU5uMlgApSf9wWj2irZqNELUFoWqFuPhuJmWp/rL0JTQT+1H/WrVCQstzg0rgSc+J34BD2hoCjAeNbAcfZloEvImGGT6jnjICP2up8nAD4yO8b8B9COl+92wsFORp9jqKB9njDXqG4LA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626695343; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=akqV6kts/LnF7tcexG4jvHxhcMuugKg50LZjpyzOYjk=; b=IXzDgLcMvg5K3ajVDK8t8b9Y5rEj9G+VhsGdEKyY7Up0i5ys6ns/K82d1C4FyCdeP1BWv9093Zbj00Cvq/3Hyseaq2VeFVqfzSwNtaoGAhvUVfVIBssrN1tSlFMVl2mmEjnlmY2SJd1BhOKAqv9ck8/vis9wSeBd9BGvsItomhY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1626695343083401.4188276663954; Mon, 19 Jul 2021 04:49:03 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-507-emUjTTRVNLCLqCvRb8-BWw-1; Mon, 19 Jul 2021 07:48:26 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C9C0C1084F57; Mon, 19 Jul 2021 11:48:20 +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 AC3AE5DEFA; Mon, 19 Jul 2021 11:48:20 +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 7A1491809CB4; Mon, 19 Jul 2021 11:48:20 +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 16JBm2JN012164 for ; Mon, 19 Jul 2021 07:48:02 -0400 Received: by smtp.corp.redhat.com (Postfix) id AE67C60CA0; Mon, 19 Jul 2021 11:48:02 +0000 (UTC) Received: from andariel.local (unknown [10.40.194.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1FBC160C82 for ; Mon, 19 Jul 2021 11:48:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626695342; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=akqV6kts/LnF7tcexG4jvHxhcMuugKg50LZjpyzOYjk=; b=B+e3RKqCjJC8FrjUt6JeYAptBL0RsUl+OqpaDRRxIuHUqWXd5VU7RLQSrAFffC0+EU4Bmh muOTpmsB0ZwO80zkLkapMVkouLfjeZ0YeZtLCtSlajREpc2tLebVhhw1quu3EpuWyovReR yTwK60YIk0trCRAM9BBlOEO6q04C5Z0= X-MC-Unique: emUjTTRVNLCLqCvRb8-BWw-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 2/5] virsh-domain: Avoid 'vir' prefix for locally declared VIR_ENUM* helpers Date: Mon, 19 Jul 2021 13:47:52 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1626695344579100001 Content-Type: text/plain; charset="utf-8" Stuff used in virsh should use 'virsh'. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- tools/virsh-completer-domain.c | 8 ++++---- tools/virsh-domain.c | 16 ++++++++-------- tools/virsh-domain.h | 8 ++++---- 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tools/virsh-completer-domain.c b/tools/virsh-completer-domain.c index 14e4d95ec3..0df11807e1 100644 --- a/tools/virsh-completer-domain.c +++ b/tools/virsh-completer-domain.c @@ -762,7 +762,7 @@ virshDomainSignalCompleter(vshControl *ctl G_GNUC_UNUSE= D, tmp =3D g_new0(char *, VIR_DOMAIN_PROCESS_SIGNAL_LAST + 1); for (i =3D 0; i < VIR_DOMAIN_PROCESS_SIGNAL_LAST; i++) { - const char *name =3D virDomainProcessSignalTypeToString(i); + const char *name =3D virshDomainProcessSignalTypeToString(i); tmp[i] =3D g_strdup(name); } @@ -783,7 +783,7 @@ virshDomainLifecycleCompleter(vshControl *ctl G_GNUC_UN= USED, tmp =3D g_new0(char *, VIR_DOMAIN_LIFECYCLE_LAST + 1); for (i =3D 0; i < VIR_DOMAIN_LIFECYCLE_LAST; i++) { - const char *name =3D virDomainLifecycleTypeToString(i); + const char *name =3D virshDomainLifecycleTypeToString(i); tmp[i] =3D g_strdup(name); } @@ -804,7 +804,7 @@ virshDomainLifecycleActionCompleter(vshControl *ctl G_G= NUC_UNUSED, tmp =3D g_new0(char *, VIR_DOMAIN_LIFECYCLE_ACTION_LAST + 1); for (i =3D 0; i < VIR_DOMAIN_LIFECYCLE_ACTION_LAST; i++) { - const char *action =3D virDomainLifecycleActionTypeToString(i); + const char *action =3D virshDomainLifecycleActionTypeToString(i); tmp[i] =3D g_strdup(action); } @@ -956,7 +956,7 @@ virshDomainCoreDumpFormatCompleter(vshControl *ctl G_GN= UC_UNUSED, ret =3D g_new0(char *, VIR_DOMAIN_CORE_DUMP_FORMAT_LAST + 1); for (i =3D 0; i < VIR_DOMAIN_CORE_DUMP_FORMAT_LAST; i++) - ret[i] =3D g_strdup(virDomainCoreDumpFormatTypeToString(i)); + ret[i] =3D g_strdup(virshDomainCoreDumpFormatTypeToString(i)); return ret; } diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c index f59be4e29d..6fb057736b 100644 --- a/tools/virsh-domain.c +++ b/tools/virsh-domain.c @@ -5410,7 +5410,7 @@ static const vshCmdOptDef opts_dump[] =3D { {.name =3D NULL} }; -VIR_ENUM_IMPL(virDomainCoreDumpFormat, +VIR_ENUM_IMPL(virshDomainCoreDumpFormat, VIR_DOMAIN_CORE_DUMP_FORMAT_LAST, "elf", "kdump-zlib", @@ -5463,7 +5463,7 @@ doDump(void *opaque) } if (vshCommandOptStringQuiet(ctl, cmd, "format", &format) > 0) { - if ((dumpformat =3D virDomainCoreDumpFormatTypeFromString(form= at)) < 0) { + if ((dumpformat =3D virshDomainCoreDumpFormatTypeFromString(fo= rmat)) < 0) { vshError(ctl, _("format '%s' is not supported, expecting " "'kdump-zlib', 'kdump-lzo', 'kdump-snappy'= , " "'win-dmp' or 'elf'"), format); @@ -5711,13 +5711,13 @@ static const vshCmdOptDef opts_setLifecycleAction[]= =3D { {.name =3D NULL} }; -VIR_ENUM_IMPL(virDomainLifecycle, +VIR_ENUM_IMPL(virshDomainLifecycle, VIR_DOMAIN_LIFECYCLE_LAST, "poweroff", "reboot", "crash"); -VIR_ENUM_IMPL(virDomainLifecycleAction, +VIR_ENUM_IMPL(virshDomainLifecycleAction, VIR_DOMAIN_LIFECYCLE_ACTION_LAST, "destroy", "restart", @@ -5754,13 +5754,13 @@ cmdSetLifecycleAction(vshControl *ctl, const vshCmd= *cmd) return false; } - if ((tmpVal =3D virDomainLifecycleTypeFromString(typeStr)) < 0) { + if ((tmpVal =3D virshDomainLifecycleTypeFromString(typeStr)) < 0) { vshError(ctl, _("Invalid lifecycle type '%s'."), typeStr); return false; } type =3D tmpVal; - if ((tmpVal =3D virDomainLifecycleActionTypeFromString(actionStr)) < 0= ) { + if ((tmpVal =3D virshDomainLifecycleActionTypeFromString(actionStr)) <= 0) { vshError(ctl, _("Invalid lifecycle action '%s'."), actionStr); return false; } @@ -8894,7 +8894,7 @@ static const vshCmdOptDef opts_send_process_signal[] = =3D { {.name =3D NULL} }; -VIR_ENUM_IMPL(virDomainProcessSignal, +VIR_ENUM_IMPL(virshDomainProcessSignal, VIR_DOMAIN_PROCESS_SIGNAL_LAST, "nop", "hup", "int", "quit", "ill", /* 0-4 */ "trap", "abrt", "bus", "fpe", "kill", /* 5-9 */ @@ -8928,7 +8928,7 @@ static int getSignalNumber(const char *signame) else if (STRPREFIX(p, "sig")) p +=3D 3; - return virDomainProcessSignalTypeFromString(p); + return virshDomainProcessSignalTypeFromString(p); } static bool diff --git a/tools/virsh-domain.h b/tools/virsh-domain.h index 0c1cc7a630..a1ac1cf1d4 100644 --- a/tools/virsh-domain.h +++ b/tools/virsh-domain.h @@ -40,7 +40,7 @@ VIR_ENUM_DECL(virshDomainHostnameSource); extern const vshCmdDef domManagementCmds[]; -VIR_ENUM_DECL(virDomainProcessSignal); -VIR_ENUM_DECL(virDomainLifecycle); -VIR_ENUM_DECL(virDomainLifecycleAction); -VIR_ENUM_DECL(virDomainCoreDumpFormat); +VIR_ENUM_DECL(virshDomainProcessSignal); +VIR_ENUM_DECL(virshDomainLifecycle); +VIR_ENUM_DECL(virshDomainLifecycleAction); +VIR_ENUM_DECL(virshDomainCoreDumpFormat); --=20 2.31.1 From nobody Fri May 3 04:22:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1626695310; cv=none; d=zohomail.com; s=zohoarc; b=X+8FXKP/gJe3s5DgFIHQ8X2KWCOvIc41rMUO9jv4Yeo+SCR5//cbn9CDL+zkGkXDzl1CRVQ98uWF4gk11TOJx0QBeY2IBNpJ/jGpZS74LydIn+Qt4yVE8b2guBQZXF+rhoGqm/Ie+YSjL4dGIY3KrLdKM8ga1R+pZ8oHGHJysuA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626695310; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=KrG7hF+dj+lbdsB2AeCVfDLNBMTYp6RYZkEsN+s5+CQ=; b=PLLitPrkbrD7720zPFEei1+aktktvduTbWJMwCIIExSjBxIvCdhmuj7hm+cXEsMYK8f8aXUUCGNMZAX1T7bJs1z+lrS8mhsMJatIeUQ142YMNHLGalnBUHI9QZLBwu8vMBhL0ULMvT31a4vIVdGjdvG2gmcF5I5TfcpmrhJcjS0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1626695310925798.5843397022757; Mon, 19 Jul 2021 04:48:30 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-218-sG0jt7WxMh6Bzr69a-h6Nw-1; Mon, 19 Jul 2021 07:48:28 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 917B28018A7; Mon, 19 Jul 2021 11:48:23 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6F9705C23A; Mon, 19 Jul 2021 11:48:23 +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 3D4A04EA29; Mon, 19 Jul 2021 11:48:23 +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 16JBm3xN012172 for ; Mon, 19 Jul 2021 07:48:03 -0400 Received: by smtp.corp.redhat.com (Postfix) id A880360C9D; Mon, 19 Jul 2021 11:48:03 +0000 (UTC) Received: from andariel.local (unknown [10.40.194.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1680A60C82 for ; Mon, 19 Jul 2021 11:48:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626695309; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=KrG7hF+dj+lbdsB2AeCVfDLNBMTYp6RYZkEsN+s5+CQ=; b=RbDGB+sU72gIuGEuzozTzrQFplYm0OLY0OV1Q3KPU3csV3GaTUhS4Mzmli9yfeFug3uzwR RiVUoRY7PUiE/wpcMl8hYOyEON8aVIellTF1+6l7lrXikuaKKzdpunWPTZYaHHpto4EtC2 b034FNLNjw1Vj+tO1vyqhmg2Ehws43I= X-MC-Unique: sG0jt7WxMh6Bzr69a-h6Nw-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 3/5] virsh-network: Avoid 'vir' prefix for locally declared VIR_ENUM* helpers Date: Mon, 19 Jul 2021 13:47:53 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1626695313252100005 Content-Type: text/plain; charset="utf-8" Stuff used in virsh should use 'virsh'. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- tools/virsh-network.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/virsh-network.c b/tools/virsh-network.c index d95db7f6d1..152df1086b 100644 --- a/tools/virsh-network.c +++ b/tools/virsh-network.c @@ -943,13 +943,13 @@ static const vshCmdOptDef opts_network_update[] =3D { {.name =3D NULL} }; -VIR_ENUM_DECL(virNetworkUpdateCommand); -VIR_ENUM_IMPL(virNetworkUpdateCommand, +VIR_ENUM_DECL(virshNetworkUpdateCommand); +VIR_ENUM_IMPL(virshNetworkUpdateCommand, VIR_NETWORK_UPDATE_COMMAND_LAST, "none", "modify", "delete", "add-last", "add-first"); -VIR_ENUM_DECL(virNetworkSection); -VIR_ENUM_IMPL(virNetworkSection, +VIR_ENUM_DECL(virshNetworkSection); +VIR_ENUM_IMPL(virshNetworkSection, VIR_NETWORK_SECTION_LAST, "none", "bridge", "domain", "ip", "ip-dhcp-host", "ip-dhcp-range", "forward", "forward-interface", @@ -983,7 +983,7 @@ cmdNetworkUpdate(vshControl *ctl, const vshCmd *cmd) /* "add" is a synonym for "add-last" */ command =3D VIR_NETWORK_UPDATE_COMMAND_ADD_LAST; } else { - command =3D virNetworkUpdateCommandTypeFromString(commandStr); + command =3D virshNetworkUpdateCommandTypeFromString(commandStr); if (command <=3D 0 || command >=3D VIR_NETWORK_UPDATE_COMMAND_LAST= ) { vshError(ctl, _("unrecognized command name '%s'"), commandStr); goto cleanup; @@ -993,7 +993,7 @@ cmdNetworkUpdate(vshControl *ctl, const vshCmd *cmd) if (vshCommandOptStringReq(ctl, cmd, "section", §ionStr) < 0) goto cleanup; - section =3D virNetworkSectionTypeFromString(sectionStr); + section =3D virshNetworkSectionTypeFromString(sectionStr); if (section <=3D 0 || section >=3D VIR_NETWORK_SECTION_LAST) { vshError(ctl, _("unrecognized section name '%s'"), sectionStr); goto cleanup; --=20 2.31.1 From nobody Fri May 3 04:22:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1626695318; cv=none; d=zohomail.com; s=zohoarc; b=lM5syQT7rC1M1UnJiijuc1joLDhfawJ9RkmdirexdNt8ziwC8ZNljxfal0RQGXjDo7nTntdUIbOth1bnu9KeTZYG37eT9zwzb/w6RSZZISYv2Y5HgjY9kILYL9dl2FgtCtjme86uY+J8McpCGVZhD614DyzeCYKv4SZhc0oojyk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626695318; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=b75I7iX/dn5Ykr6DkqfA5mdNLk6t3FMFjLT3zSfkD2s=; b=Fpp9kvVErmmtH0i70sY5hMhNhb9UaIjIB4A0UJD6hij8Y+vlLntvzFex/ly/cOnO/wc/j63PxAmhubqdliwIarQlJ85Yheowc0gcT7bFPVGmnfsCjHQrNbTc7KpSvydUkOVj8zISfB4o5te4yQYiulrhmGWOnIoyVguJJaQUwko= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1626695318459211.68246587907947; Mon, 19 Jul 2021 04:48:38 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-569-GH5i55_lPIupETSpF5BaOQ-1; Mon, 19 Jul 2021 07:48:36 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7AD361835AD0; Mon, 19 Jul 2021 11:48:26 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5B3F95DEFA; Mon, 19 Jul 2021 11:48:26 +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 05F894EA39; Mon, 19 Jul 2021 11:48:26 +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 16JBm4Ub012179 for ; Mon, 19 Jul 2021 07:48:04 -0400 Received: by smtp.corp.redhat.com (Postfix) id A285E60C9D; Mon, 19 Jul 2021 11:48:04 +0000 (UTC) Received: from andariel.local (unknown [10.40.194.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 10E7460C82 for ; Mon, 19 Jul 2021 11:48:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626695317; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=b75I7iX/dn5Ykr6DkqfA5mdNLk6t3FMFjLT3zSfkD2s=; b=Hnhx2YL2ArSiFwp6hdXppFMRPKhKY7uYaWcKJ7sHL41yTAXpP2weN70FgEHt8Nc+bxorzJ bbndIPB6oKXyKXukPwMN4ztvYh648moFoTq1CVoT8KENDznOmSXL2MnIrFNUJQU5Wa+PBz PbipGtx9ezwL9IDNIiTbblhNRtlmBmA= X-MC-Unique: GH5i55_lPIupETSpF5BaOQ-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 4/5] virsh-volume: Avoid 'vir' prefix for locally declared VIR_ENUM* helpers Date: Mon, 19 Jul 2021 13:47:54 +0200 Message-Id: <58f323d7e9e2b92b5aac440daa62904032c7f302.1626695187.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1626695320488100001 Content-Type: text/plain; charset="utf-8" Stuff used in virsh should use 'virsh'. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- tools/virsh-volume.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/virsh-volume.c b/tools/virsh-volume.c index 1da9b7217f..fe632b1b19 100644 --- a/tools/virsh-volume.c +++ b/tools/virsh-volume.c @@ -962,8 +962,8 @@ static const vshCmdOptDef opts_vol_wipe[] =3D { {.name =3D NULL} }; -VIR_ENUM_DECL(virStorageVolWipeAlgorithm); -VIR_ENUM_IMPL(virStorageVolWipeAlgorithm, +VIR_ENUM_DECL(virshStorageVolWipeAlgorithm); +VIR_ENUM_IMPL(virshStorageVolWipeAlgorithm, VIR_STORAGE_VOL_WIPE_ALG_LAST, "zero", "nnsa", "dod", "bsi", "gutmann", "schneier", "pfitzner7", "pfitzner33", "random", "trim"); @@ -985,7 +985,7 @@ cmdVolWipe(vshControl *ctl, const vshCmd *cmd) goto out; if (algorithm_str && - (algorithm =3D virStorageVolWipeAlgorithmTypeFromString(algorithm_= str)) < 0) { + (algorithm =3D virshStorageVolWipeAlgorithmTypeFromString(algorith= m_str)) < 0) { vshError(ctl, _("Unsupported algorithm '%s'"), algorithm_str); goto out; } --=20 2.31.1 From nobody Fri May 3 04:22:46 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1626695308; cv=none; d=zohomail.com; s=zohoarc; b=I4B3sx4XMzgsuK0VFaR/WlAcMde2FHynB7VS1jT5uJXMeRt0wyvMiUA2D/o515o7vBMJbuzOYTEVN/jheNEVuRUMjb6YL0MGn7OFpsE/YBbkhHymGlBQd1V37ckvqJ57HeK4hHiza+qTtkUw8tAC3pxkhylMa5toheMceSIdUxA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626695308; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=89jkmPU4Z/szg8heA7Z4Tf7tTtRYLoGbDCnJK+RG/aU=; b=QiGm6U0/ZWWJpcHu/DzT99ZQXrfQKNLWW0Ds92Ls/akhc8w5tHgSQVP1LAoGITXlBWHH2V11yjcV0VAj04NK6BOj1hCdmldd27PkS1AJGyDf7sIljqIJk1AJXWkDLdw4qNmqN/M/c58jFXvkX04iXtTND58Rvjt9OUd3HuvkL3Y= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1626695308673723.90431385988; Mon, 19 Jul 2021 04:48:28 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-469-InRusx9HO46kILMgJeYxGQ-1; Mon, 19 Jul 2021 07:48:26 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D211D100C61A; Mon, 19 Jul 2021 11:48:20 +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 AC65310016F4; Mon, 19 Jul 2021 11:48:20 +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 7A0811809CB3; Mon, 19 Jul 2021 11:48:20 +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 16JBm5o3012189 for ; Mon, 19 Jul 2021 07:48:05 -0400 Received: by smtp.corp.redhat.com (Postfix) id 9A5E460C9D; Mon, 19 Jul 2021 11:48:05 +0000 (UTC) Received: from andariel.local (unknown [10.40.194.62]) by smtp.corp.redhat.com (Postfix) with ESMTP id 09F2E60C82 for ; Mon, 19 Jul 2021 11:48:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626695307; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=89jkmPU4Z/szg8heA7Z4Tf7tTtRYLoGbDCnJK+RG/aU=; b=YAVpHoSXfCiRqrmksIjWB4PnkkmaAMLvQ6tVrUi5N9vIWZR2MScpLkKL2csv51TOdbNcbh DeGAbWKaaziON723wdE23g29DUkXn7Ogjw4hYrmLIJdRKI5Gf4LHDtc7KOj70HSNzqR2o5 WgyByfqVp9WF9Q88S4YOJeWkmsy6k34= X-MC-Unique: InRusx9HO46kILMgJeYxGQ-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 5/5] syntax-check: Prohibit 'vir' prefix for enum implementations in virsh Date: Mon, 19 Jul 2021 13:47:55 +0200 Message-Id: <544e07edd78758ee9fbdafe32c945447d703b088.1626695187.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-loop: libvir-list@redhat.com 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: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1626695311838100001 Content-Type: text/plain; charset="utf-8" Avoid potential conflict of enum helpers declared in virsh. Signed-off-by: Peter Krempa Reviewed-by: J=C3=A1n Tomko --- build-aux/syntax-check.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 256f9f695a..cedb360bfd 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1717,6 +1717,13 @@ sc_group-qemu-caps: $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/group-qemu-caps.py \ --check --prefix $(top_srcdir)/ +sc_prohibit_enum_impl_with_vir_prefix_in_virsh: + @prohibit=3D'VIR_ENUM_(IMPL|DECL)\(vir[^s]' \ + in_vc_files=3D'tools/virsh.*\.[ch]$$' \ + halt=3D'avoid "vir" prefix for enums in virsh' \ + $(_sc_search_regexp) + + # List all syntax-check exemptions: exclude_file_name_regexp--sc_avoid_strcase =3D ^tools/vsh\.h$$ --=20 2.31.1