diff options
author | p37sitdu, corvid <devnull@localhost> | 2012-10-03 01:19:45 +0000 |
---|---|---|
committer | p37sitdu, corvid <devnull@localhost> | 2012-10-03 01:19:45 +0000 |
commit | 39ee4950acf53e63f0a8bf8cd7111f7ad282f6bb (patch) | |
tree | dc8779a49e158a5d0e9e4327543f672a41b1ec23 /src/dillo.cc | |
parent | 78003c727f7eae3a593260941aa4db6627dd1e75 (diff) |
introduce domainrc mechanism
Diffstat (limited to 'src/dillo.cc')
-rw-r--r-- | src/dillo.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dillo.cc b/src/dillo.cc index 2ac96810..3599ca7a 100644 --- a/src/dillo.cc +++ b/src/dillo.cc @@ -46,6 +46,7 @@ #include "capi.h" #include "dicache.h" #include "cookies.h" +#include "domain.h" #include "auth.h" #include "dw/fltkcore.hh" @@ -339,6 +340,11 @@ int main(int argc, char **argv) if ((fp = Paths::getPrefsFP(PATHS_RC_KEYS))) { Keys::parse(fp); } + // parse domainrc + if ((fp = Paths::getPrefsFP(PATHS_RC_DOMAIN))) { + a_Domain_parse(fp); + fclose(fp); + } dLib_show_messages(prefs.show_msg); // initialize internal modules @@ -442,6 +448,7 @@ int main(int argc, char **argv) * (This can be left to the OS, but we'll do it, with a view to test * and fix our memory management) */ + a_Domain_freeall(); a_Cookies_freeall(); a_Cache_freeall(); a_Dicache_freeall(); |