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)  

filterutil.c File Reference
#include "leafnode.h"
#include <sys/types.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
#include "ln_log.h"
Include dependency graph for filterutil.c:

Go to the source code of this file.

Data Structures

struct  filterlist
 

Functions

void readfilter (char *fifi)
 
int dofilter (unsigned char *h)
 
void freefilter (void)
 

Variables

static struct filterlistfilter
 

Function Documentation

◆ dofilter()

int dofilter ( unsigned char *  h)

◆ freefilter()

void freefilter ( void  )

Definition at line 113 of file filterutil.c.

References filterlist::cleartext, filter, filterlist::next, and filterlist::re.

Referenced by freeconfig().

◆ readfilter()

void readfilter ( char *  fifi)

Variable Documentation

◆ filter

struct filterlist* filter
static

Definition at line 27 of file filterutil.c.

Referenced by dofilter(), freefilter(), and readfilter().