Addition of vshConnect() makes virConnectOpen() functions obsolete in
virsh. Thus all virsh-*.[ch] files should be left only with
vshConnect() in the case of need.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
'actual file name' 1>&2; exit 1; } \
fi;
+sc_prohibit_virConnectOpen_in_virsh:
+ @prohibit='\bvirConnectOpen[a-zA-Z]* *\(' \
+ in_vc_files='^tools/virsh-.*\.[ch]$$' \
+ halt='Use vshConnect() in virsh instead of virConnectOpen*' \
+ $(_sc_search_regexp)
+
# We don't use this feature of maint.mk.
prev_version_file = /dev/null