1 /**********************************************************************
2 Freeciv - Copyright (C) 2005 - M.C. Kaufman
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12 ***********************************************************************/
20 bool auth_user(struct connection
*pconn
, char *username
);
21 void auth_process_status(struct connection
*pconn
);
22 bool auth_handle_reply(struct connection
*pconn
, char *password
);
24 const char *auth_get_username(struct connection
*pconn
);
25 const char *auth_get_ipaddr(struct connection
*pconn
);
26 bool auth_set_password(struct connection
*pconn
, const char *password
);
27 const char *auth_get_password(struct connection
*pconn
);
28 bool auth_set_salt(struct connection
*pconn
, int salt
);
29 int auth_get_salt(struct connection
*pconn
);
31 #endif /* FC__AUTH_H */