X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/61941295f0eb457edc89f0337f732ff071838b6a..b12be54a68a7738d948d866eb7b9231f8e55a12e:/lib/configuration.h diff --git a/lib/configuration.h b/lib/configuration.h index 6618e1a..eb028b0 100644 --- a/lib/configuration.h +++ b/lib/configuration.h @@ -245,6 +245,12 @@ struct config { /** @brief Whether to loop back multicast packets */ int multicast_loop; + + /** @brief Login lifetime in seconds */ + long cookie_login_lifetime; + + /** @brief Signing key lifetime in seconds */ + long cookie_key_lifetime; /* derived values: */ int nparts; /* number of distinct name parts */ @@ -277,6 +283,7 @@ char *config_private(void); /* get the private config file */ extern char *configfile; +extern int config_per_user; #endif /* CONFIGURATION_H */