Replaced typo that caused unnecessary regeneration of fc_gitrev_gen.h
[freeciv.git] / server / auth.h
blob6cbcbec3641d63de37ad9d0e1c0293f99a460f4f
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)
6 any later version.
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 ***********************************************************************/
13 #ifndef FC__AUTH_H
14 #define FC__AUTH_H
16 #include "shared.h"
18 struct connection;
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 */