|
reSIProcate/DialogUsageManager
9694
|
#include "resip/dum/InMemorySyncRegDb.hxx"#include "rutil/Timer.hxx"#include "rutil/Logger.hxx"#include "rutil/WinLeakCheck.hxx"
Go to the source code of this file.
Classes | |
| class | RemoveIfRequired |
Defines | |
| #define | RESIPROCATE_SUBSYSTEM Subsystem::DUM |
Functions | |
| void | contactsRemoveIfRequired (ContactList &contacts, UInt64 &now, unsigned int removeLingerSecs) |
| #define RESIPROCATE_SUBSYSTEM Subsystem::DUM |
Definition at line 8 of file InMemorySyncRegDb.cxx.
| void contactsRemoveIfRequired | ( | ContactList & | contacts, |
| UInt64 & | now, | ||
| unsigned int | removeLingerSecs | ||
| ) |
Definition at line 39 of file InMemorySyncRegDb.cxx.
References RemoveIfRequired::mustRemove().
Referenced by resip::InMemorySyncRegDb::getContacts(), resip::InMemorySyncRegDb::getContactsFull(), and resip::InMemorySyncRegDb::initialSync().
{
RemoveIfRequired rei(now, removeLingerSecs);
#ifdef __SUNPRO_CC
for(ContactList::iterator i = contacts.begin(); i != contacts.end(); )
{
if(rei.mustRemove(*i))
i = contacts.erase(i);
else
++i;
}
#else
contacts.remove_if(rei);
#endif
}

1.7.5.1