leafnode  1.12.0
About: Leafnode is a store & forward NNTP proxy for small (dialup) sites.
  Fossies Dox: leafnode-1.12.0.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

wildmat.c File Reference
#include "leafnode.h"
Include dependency graph for wildmat.c:

Go to the source code of this file.


#define ABORT   -1
#define NEGATE_CLASS   '^'


static int DoMatch (const char *text, const char *p)
int wildmat (const char *text, const char *p)

Macro Definition Documentation


#define ABORT   -1

Definition at line 52 of file wildmat.c.


#define NEGATE_CLASS   '^'

Definition at line 54 of file wildmat.c.



Definition at line 56 of file wildmat.c.

Function Documentation

◆ DoMatch()

static int DoMatch ( const char *  text,
const char *  p 

Definition at line 63 of file wildmat.c.

References ABORT, DoMatch(), FALSE, NEGATE_CLASS, and TRUE.

Referenced by DoMatch(), and wildmat().

◆ wildmat()

int wildmat ( const char *  text,
const char *  p 

Definition at line 126 of file wildmat.c.

References DoMatch(), FALSE, and TRUE.

Referenced by getgroup(), and ngmatch().