repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix3.git]
/
libexec
/
ftpd
/
pfilter.c
blob
aa121c970fead0da721a72398c75bf88343d501a
1
#include <stdio.h>
2
#include <blacklist.h>
3
4
#include
"pfilter.h"
5
6
static struct
blacklist
*
blstate
;
7
8
void
9
pfilter_open
(
void
)
10
{
11
if
(
blstate
==
NULL
)
12
blstate
=
blacklist_open
();
13
}
14
15
void
16
pfilter_notify
(
int
what
,
const char
*
msg
)
17
{
18
pfilter_open
();
19
20
if
(
blstate
==
NULL
)
21
return
;
22
23
blacklist_r
(
blstate
,
what
,
0
,
msg
);
24
}