Linux Kernel
3.7.1
|
#include <linux/list.h>
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | strfilter_node |
struct | strfilter |
Functions | |
struct strfilter * | strfilter__new (const char *rules, const char **err) |
bool | strfilter__compare (struct strfilter *self, const char *str) |
void | strfilter__delete (struct strfilter *self) |
strfilter__compare - compare given string and a string filter : String filter : target string
Compare and . Return true if the str match the rule
Definition at line 194 of file strfilter.c.
strfilter__delete - delete a string filter : String filter to delete
Delete .
Definition at line 24 of file strfilter.c.
strfilter__new - Create a new string filter : Filter rule, which is a combination of glob expressions. : Pointer which points an error detected on
Parse and return new strfilter. Return NULL if an error detected. In that case, * will indicate where it is detected, and * is NULL if a memory allocation is failed.
Definition at line 155 of file strfilter.c.