OpenVAS Scanner 23.23.1
strutils.h File Reference
#include <glib.h>

Go to the source code of this file.

Functions

int str_match (const gchar *, const gchar *, int)
 Matches a string against a pattern.

Function Documentation

◆ str_match()

int str_match ( const gchar * string,
const gchar * pattern,
int icase )

Matches a string against a pattern.

Parameters
[in]stringString to match.
[in]patternPattern to match against.
[in]icaseCase insensitivity enabled.
Returns
1 if it matches. 0 otherwise.