Pop-specific Account data. More...
Go to the source code of this file.
Data Structures | |
struct | PopAccountData |
POP-specific Account data -. More... | |
Functions | |
void | pop_adata_free (void **ptr) |
Free the private Account data - Implements Account::adata_free() | |
struct PopAccountData * | pop_adata_get (struct Mailbox *m) |
Get the Account data for this mailbox. | |
struct PopAccountData * | pop_adata_new (void) |
Create a new PopAccountData object. | |
Pop-specific Account data.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file adata.h.
void pop_adata_free | ( | void ** | ptr | ) |
Free the private Account data - Implements Account::adata_free()
The PopAccountData struct stores global POP data, such as the connection to the database. This function will close the database, free the resources and the struct itself.
Definition at line 41 of file adata.c.
struct PopAccountData * pop_adata_get | ( | struct Mailbox * | m | ) |
Get the Account data for this mailbox.
m | Mailbox |
ptr | PopAccountData |
Definition at line 73 of file adata.c.
struct PopAccountData * pop_adata_new | ( | void | ) |
Create a new PopAccountData object.
ptr | New PopAccountData struct |
Definition at line 63 of file adata.c.