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

Method storedCapabilities

src/core/imap/MCIMAPSession.cpp:4228–4238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4226}
4227
4228IndexSet * IMAPSession::storedCapabilities() {
4229 if (mImap == NULL ||
4230 mImap->imap_connection_info == NULL ||
4231 mImap->imap_connection_info->imap_capability == NULL) {
4232 return NULL;
4233 }
4234 IndexSet *result = new IndexSet();
4235 capabilitySetWithSessionState(result);
4236 result->autorelease();
4237 return result;
4238}
4239
4240void IMAPSession::applyCapabilities(IndexSet * capabilities)
4241{

Callers 1

mainMethod · 0.80

Calls 1

autoreleaseMethod · 0.45

Tested by

no test coverage detected