mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-17 11:48:59 -04:00
incorporated requested changes
This commit is contained in:
parent
ae6a5c74d2
commit
247c368279
4 changed files with 12 additions and 28 deletions
|
@ -136,23 +136,13 @@ int promptAtBoot; /* popup the password prompt */
|
|||
|
||||
struct RsConfigDataRates : RsSerializable
|
||||
{
|
||||
RsConfigDataRates()
|
||||
{
|
||||
mRateIn = 0;
|
||||
mRateMaxIn = 0;
|
||||
mAllocIn = 0;
|
||||
|
||||
mAllocTs = 0;
|
||||
|
||||
mRateOut = 0;
|
||||
mRateMaxOut = 0;
|
||||
mAllowedOut = 0;
|
||||
|
||||
mAllowedTs = 0;
|
||||
|
||||
mQueueIn = 0;
|
||||
mQueueOut = 0;
|
||||
}
|
||||
RsConfigDataRates() :
|
||||
mRateIn(0), mRateMaxIn(0), mAllocIn(0),
|
||||
mAllocTs(0),
|
||||
mRateOut(0), mRateMaxOut(0), mAllowedOut(0),
|
||||
mAllowedTs(0),
|
||||
mQueueIn(0), mQueueOut(0)
|
||||
{}
|
||||
|
||||
/* all in kB/s */
|
||||
float mRateIn;
|
||||
|
@ -171,7 +161,6 @@ struct RsConfigDataRates : RsSerializable
|
|||
int mQueueOut;
|
||||
|
||||
// RsSerializable interface
|
||||
public:
|
||||
void serial_process(RsGenericSerializer::SerializeJob j, RsGenericSerializer::SerializeContext &ctx) {
|
||||
RS_SERIAL_PROCESS(mRateIn);
|
||||
RS_SERIAL_PROCESS(mRateMaxIn);
|
||||
|
@ -204,7 +193,6 @@ struct RSTrafficClue : RsSerializable
|
|||
RSTrafficClue& operator+=(const RSTrafficClue& tc) { size += tc.size; count += tc.count ; return *this ;}
|
||||
|
||||
// RsSerializable interface
|
||||
public:
|
||||
void serial_process(RsGenericSerializer::SerializeJob j, RsGenericSerializer::SerializeContext &ctx) {
|
||||
RS_SERIAL_PROCESS(TS);
|
||||
RS_SERIAL_PROCESS(size);
|
||||
|
@ -257,7 +245,6 @@ struct RsConfigNetStatus : RsSerializable
|
|||
uint32_t netDhtRsNetSize;/* response from dht */
|
||||
|
||||
// RsSerializable interface
|
||||
public:
|
||||
void serial_process(RsGenericSerializer::SerializeJob j, RsGenericSerializer::SerializeContext &ctx) {
|
||||
RS_SERIAL_PROCESS(ownId);
|
||||
RS_SERIAL_PROCESS(ownName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue