mail::ACCOUNT::getFolderFromPath.3x

Langue: en

Autres versions - même langue

Version: 11/28/2008 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

mail::ACCOUNT::getFolderFromPath - A direct short-cut to a folder

SYNOPSIS

 
 
 
 #include <libmail/sync.H>
 
 mail::ACCOUNT *mail;
 mail::folder *folder;
 
 std::string folderPath=folder->getPath();
 
 ...
 
mail::folder *f=mail->getFolderFromPath(std::string folderPath);

USAGE

This function is the mail::ACCOUNT equivalent of mail::account::findFolder(3x). See the description of this function for more information.

RETURN CODES AND CALLBACKS

This function returns a NULL pointer if it cannot allocate memory for the new mail::folder object.

SEE ALSO

mail::account::findFolder(3x).