ConnAccount object used by POP and IMAP. More...
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Enumerations | |
| enum | AccountType { MUTT_ACCT_TYPE_NONE = 0 , MUTT_ACCT_TYPE_IMAP , MUTT_ACCT_TYPE_POP , MUTT_ACCT_TYPE_SMTP , MUTT_ACCT_TYPE_NNTP , MUTT_ACCT_TYPE_MAX } |
| Account types. More... | |
Functions | |
| int | account_from_url (struct ConnAccount *account, const struct Url *url) |
| Fill ConnAccount with information from url. | |
| void | account_to_url (struct ConnAccount *account, struct Url *url) |
| Fill URL with info from account. | |
ConnAccount object used by POP and IMAP.
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 mutt_account.h.
| enum AccountType |
Account types.
| Enumerator | |
|---|---|
| MUTT_ACCT_TYPE_NONE | Account type is unknown. |
| MUTT_ACCT_TYPE_IMAP | Imap Account. |
| MUTT_ACCT_TYPE_POP | Pop Account. |
| MUTT_ACCT_TYPE_SMTP | Smtp Account. |
| MUTT_ACCT_TYPE_NNTP | Nntp (Usenet) Account. |
| MUTT_ACCT_TYPE_MAX | |
Definition at line 33 of file mutt_account.h.
| int account_from_url | ( | struct ConnAccount * | cac, |
| const struct Url * | url ) |
Fill ConnAccount with information from url.
| cac | ConnAccount to fill |
| url | Url to parse |
| 0 | Success |
| -1 | Error |
Definition at line 44 of file mutt_account.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void account_to_url | ( | struct ConnAccount * | cac, |
| struct Url * | url ) |
Fill URL with info from account.
| cac | Source ConnAccount |
| url | Url to fill |
The URL information is a set of pointers into cac. Don't free or edit cac until you've finished with url (make a copy of cac if you need it for a while).
Definition at line 80 of file mutt_account.c.
Here is the caller graph for this function: