Freeciv-3.1
Loading...
Searching...
No Matches
server
scripting
api_fcdb_auth.h
Go to the documentation of this file.
1
/*****************************************************************************
2
Freeciv - Copyright (C) 2005 - The Freeciv Project
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.
7
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
14
#ifndef FC__API_FCDB_AUTH_H
15
#define FC__API_FCDB_AUTH_H
16
17
/* common/scriptcore */
18
#include "
luascript_types.h
"
19
20
struct
lua_State;
21
22
const
char
*
api_auth_get_username
(lua_State *L,
Connection
*pconn);
23
24
const
char
*
api_auth_get_ipaddr
(lua_State *L,
Connection
*pconn);
25
26
#endif
/* FC__API_FCDB_AUTH_H */
27
api_auth_get_username
const char * api_auth_get_username(lua_State *L, Connection *pconn)
Definition
api_fcdb_auth.c:38
api_auth_get_ipaddr
const char * api_auth_get_ipaddr(lua_State *L, Connection *pconn)
Definition
api_fcdb_auth.c:50
luascript_types.h
connection
Definition
connection.h:141
Generated on Sun Jan 5 2025 22:00:36 for Freeciv-3.1 by
1.9.8