2025-07-05 17:05:53 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "tofrom_string.hpp"
|
|
|
|
|
|
|
|
|
|
class GIDCacheExpireTimeout : public ToFromString
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
GIDCacheExpireTimeout(const int i = 60 * 60);
|
|
|
|
|
GIDCacheExpireTimeout(const std::string &);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
std::string to_string(void) const final;
|
2025-08-21 23:42:58 -04:00
|
|
|
int from_string(const std::string_view) final;
|
2025-07-05 17:05:53 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
class GIDCacheRemoveTimeout : public ToFromString
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
GIDCacheRemoveTimeout(const int = 60 * 60 * 12);
|
|
|
|
|
GIDCacheRemoveTimeout(const std::string &);
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
std::string to_string(void) const final;
|
2025-08-21 23:42:58 -04:00
|
|
|
int from_string(const std::string_view) final;
|
2025-07-05 17:05:53 -05:00
|
|
|
};
|