]> code.citadel.org Git - citadel.git/blobdiff - citadel/internet_addressing.c
* Configuration for spam filter
[citadel.git] / citadel / internet_addressing.c
index d0d575a0c63feda5a4aa91bd723632cd32039eaf..6c1be48e1efe3680947a61f3367b089a87a92f4b 100644 (file)
@@ -61,7 +61,7 @@ struct trynamebuf {
 };
 
 char *inetcfg = NULL;
-
+struct spamstrings_t *spamstrings = NULL;
 
 
 /*
@@ -157,7 +157,7 @@ void unfold_rfc822_field(char *field) {
  * Split an RFC822-style address into userid, host, and full name
  *
  */
-void process_rfc822_addr(char *rfc822, char *user, char *node, char *name)
+void process_rfc822_addr(const char *rfc822, char *user, char *node, char *name)
 {
        int a;
 
@@ -576,7 +576,7 @@ int IsDirectory(char *addr) {
  * Initialize the directory database (erasing anything already there)
  */
 void CtdlDirectoryInit(void) {
-       /* FIXME ... write this */
+       cdb_trunc(CDB_DIRECTORY);
 }