ConnAccount object used by POP and IMAP. More...
#include "config.h"#include <stdio.h>#include "mutt/lib.h"#include "email/lib.h"#include "mutt_account.h"#include "connaccount.h"
Include dependency graph for mutt_account.c:Go to the source code of this file.
Functions | |
| int | account_from_url (struct ConnAccount *cac, const struct Url *url) |
| Fill ConnAccount with information from url. | |
| void | account_to_url (struct ConnAccount *cac, 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.c.
| 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: