mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-08 22:32:34 -04:00
put consts behind serial_size() and serialise() in turtle items and ft items
This commit is contained in:
parent
babc126be3
commit
d843c1c1a6
8 changed files with 75 additions and 54 deletions
|
@ -2167,7 +2167,18 @@ bool ftController::loadConfigMap(std::map<std::string, std::string> &configMap)
|
|||
return true;
|
||||
}
|
||||
|
||||
void ftController::setFreeDiskSpaceLimit(uint32_t size_in_mb)
|
||||
void ftController::setDefaultEncryptionPolicy(uint32_t p)
|
||||
{
|
||||
RsStackMutex stack(ctrlMutex); /******* LOCKED ********/
|
||||
mDefaultEncryptionPolicy = p ;
|
||||
IndicateConfigChanged();
|
||||
}
|
||||
uint32_t ftController::defaultEncryptionPolicy()
|
||||
{
|
||||
RsStackMutex stack(ctrlMutex); /******* LOCKED ********/
|
||||
return mDefaultEncryptionPolicy ;
|
||||
}
|
||||
void ftController::setFreeDiskSpaceLimit(uint32_t size_in_mb)
|
||||
{
|
||||
RsDiscSpace::setFreeSpaceLimit(size_in_mb) ;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue