c0ce84c util: string: Introduce virStringHasChars

Authored and Committed by Peter Krempa 6 years ago
    util: string: Introduce virStringHasChars
    
    The helper returns true if a string contains any of the given chars.
    virStringHasControlChars can be reimplemented using that helper.
    
    Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
    
        
file modified
+1 -0
file modified
+19 -4
file modified
+2 -0