summaryrefslogtreecommitdiffstats
path: root/libdnet-stripped/src/fw-none.c
blob: f2c84bf04dfb56db84531e5079168634beac7826 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 * fw-none.c
 * 
 * Copyright (c) 2000 Dug Song <dugsong@monkey.org>
 *
 * $Id: fw-none.c 208 2002-01-20 21:23:28Z dugsong $
 */

#include "config.h"

#include <errno.h>
#include <stdio.h>
#include <stdlib.h>

#include "dnet.h"

fw_t *
fw_open(void)
{
	errno = ENOSYS;
	return (NULL);
}

int
fw_add(fw_t *f, const struct fw_rule *rule)
{
	errno = ENOSYS;
	return (-1);
}

int
fw_delete(fw_t *f, const struct fw_rule *rule)
{
	errno = ENOSYS;
	return (-1);
}

int
fw_loop(fw_t *f, fw_handler callback, void *arg)
{
	errno = ENOSYS;
	return (-1);
}

fw_t *
fw_close(fw_t *f)
{
	return (NULL);
}