a36e88dc4ab37ae0c7b57dae0ed8b9130dbb6a87
[citadel.git] / citadel / textclient / client_passwords.h
1 /* 
2  * Copyright (c) 1987-2009 by the citadel.org team
3  *
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation; either version 3 of the License, or
7  *  (at your option) any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  */
18
19
20 void determine_pwfilename(char *pwfile, size_t n);
21 void get_stored_password(
22                 char *host,
23                 char *port,
24                 char *username,
25                 char *password);
26 void set_stored_password(
27                 char *host,
28                 char *port,
29                 char *username,
30                 char *password);
31 void offer_to_remember_password(CtdlIPC *ipc,
32                 char *host,
33                 char *port,
34                 char *username,
35                 char *password);