lib/config/_default_expiry.cc
author "Tomas Zeman <tzeman@volny.cz>"
Wed, 16 Jan 2008 22:39:43 +0100
changeset 0 6f7a81934006
permissions -rw-r--r--
Imported vmailmgr-0.96.9

#include "configio.h"
#include <limits.h>

static unsigned default_default_expiry(UINT_MAX);
static const mystring filename_default_expiry = "default-expiry";
unsigned configuration::default_expiry() const {
  return read_uns(filename_default_expiry,
                    default_default_expiry,
		    (config_cache<unsigned>&)default_expiry_cache);
}