aboutsummaryrefslogtreecommitdiff
path: root/src/domain.h
diff options
context:
space:
mode:
authorp37sitdu, corvid <devnull@localhost>2012-10-03 01:19:45 +0000
committerp37sitdu, corvid <devnull@localhost>2012-10-03 01:19:45 +0000
commit39ee4950acf53e63f0a8bf8cd7111f7ad282f6bb (patch)
treedc8779a49e158a5d0e9e4327543f672a41b1ec23 /src/domain.h
parent78003c727f7eae3a593260941aa4db6627dd1e75 (diff)
introduce domainrc mechanism
Diffstat (limited to 'src/domain.h')
-rw-r--r--src/domain.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/domain.h b/src/domain.h
new file mode 100644
index 00000000..d1ca685b
--- /dev/null
+++ b/src/domain.h
@@ -0,0 +1,19 @@
+#ifndef __DOMAIN_H__
+#define __DOMAIN_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <stdio.h>
+#include "url.h"
+
+void a_Domain_parse(FILE *fp);
+void a_Domain_freeall(void);
+bool_t a_Domain_permit(const DilloUrl *source, const DilloUrl *dest);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif