summaryrefslogtreecommitdiffstats
path: root/libdnet-stripped/src/fw-none.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdnet-stripped/src/fw-none.c')
-rw-r--r--libdnet-stripped/src/fw-none.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/libdnet-stripped/src/fw-none.c b/libdnet-stripped/src/fw-none.c
new file mode 100644
index 0000000..f2c84bf
--- /dev/null
+++ b/libdnet-stripped/src/fw-none.c
@@ -0,0 +1,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);
+}