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)  

groupselect.c File Reference
#include <string.h>
#include "config.h"
#include "groupselect.h"
#include "ln_log.h"
Include dependency graph for groupselect.c:

Go to the source code of this file.

Functions

pcre2_code_8 * gs_compile (const unsigned char *regex)
 
int gs_match (const pcre2_code_8 *re, const unsigned char *s)
 

Function Documentation

◆ gs_compile()

pcre2_code_8 * gs_compile ( const unsigned char *  regex)

Definition at line 9 of file groupselect.c.

References len, ln_log(), LNLOG_CTOP, and LNLOG_SERR.

Referenced by readconfig().

◆ gs_match()

int gs_match ( const pcre2_code_8 *  re,
const unsigned char *  s 
)

Definition at line 28 of file groupselect.c.

References ln_log(), LNLOG_CTOP, and LNLOG_SERR.

Referenced by getgroup(), isgrouponserver(), and nntpactive().