lib/config/_password_file.cc
changeset 0 6f7a81934006
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lib/config/_password_file.cc	Wed Jan 16 22:39:43 2008 +0100
@@ -0,0 +1,10 @@
+#include "configio.h"
+#include <limits.h>
+
+static mystring default_password_file("passwd");
+static const mystring filename_password_file = "password-file";
+mystring configuration::password_file() const {
+  return read_str(filename_password_file,
+                    default_password_file,
+		    (config_cache<mystring>&)password_file_cache);
+}