MCPcopy Create free account
hub / github.com/MailCore/mailcore2 / INITIALIZE

Function INITIALIZE

src/core/imap/MCIMAPSession.cpp:100–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98static Array * resultsWithError(int r, clist * list, ErrorCode * pError);
99
100INITIALIZE(IMAPSEssion)
101{
102 AutoreleasePool * pool = new AutoreleasePool();
103 IMAPNamespacePersonal = (String *) MCSTR("IMAPNamespacePersonal")->retain();
104 IMAPNamespaceOther = (String *) MCSTR("IMAPNamespaceOther")->retain();
105 IMAPNamespaceShared = (String *) MCSTR("IMAPNamespaceShared")->retain();
106
107 pool->release();
108}
109
110#define MAX_IDLE_DELAY (28 * 60)
111

Callers

nothing calls this directly

Calls 2

retainMethod · 0.80
releaseMethod · 0.80

Tested by

no test coverage detected