Remove building with NOCRYPTO option
[minix3.git] / libexec / ftpd / pfilter.c
blobaa121c970fead0da721a72398c75bf88343d501a
1 #include <stdio.h>
2 #include <blacklist.h>
4 #include "pfilter.h"
6 static struct blacklist *blstate;
8 void
9 pfilter_open(void)
11 if (blstate == NULL)
12 blstate = blacklist_open();
15 void
16 pfilter_notify(int what, const char *msg)
18 pfilter_open();
20 if (blstate == NULL)
21 return;
23 blacklist_r(blstate, what, 0, msg);