summaryrefslogtreecommitdiff
path: root/src/dbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbase.h')
-rw-r--r--src/dbase.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dbase.h b/src/dbase.h
index 3c771af..1b3dfa6 100644
--- a/src/dbase.h
+++ b/src/dbase.h
@@ -70,6 +70,12 @@ void DBAllowSubject(Domain *domain, RE_Expression re);
void DBBlockSubject(Domain *domain, RE_Expression re);
+/* Sets the allowed 'To:' name for a domain.
+ re will be freed by the database when closed.
+*/
+void DBAllowTo(Domain *domain, RE_Expression re);
+
+
/* Adds a trusted username
*/
void DBTrustedUser(const char *username);