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