Freeciv-3.2
|
#include "log.h"
#include "connection.h"
#include "luascript.h"
#include "auth.h"
#include "connecthand.h"
#include "script_fcdb.h"
#include "api_fcdb_auth.h"
Go to the source code of this file.
Functions | |
const char * | api_auth_get_username (lua_State *L, Connection *pconn) |
const char * | api_auth_get_ipaddr (lua_State *L, Connection *pconn) |
int | api_auth_get_cmdlevel (lua_State *L, Connection *pconn) |
void | api_auth_set_cmdlevel (lua_State *L, Connection *pconn, int level) |
int api_auth_get_cmdlevel | ( | lua_State * | L, |
Connection * | pconn | ||
) |
Get the access level.
Definition at line 63 of file api_fcdb_auth.c.
Referenced by tolua_fcdb_auth_get_cmdlevel00().
const char * api_auth_get_ipaddr | ( | lua_State * | L, |
Connection * | pconn | ||
) |
Get the ip address.
Definition at line 51 of file api_fcdb_auth.c.
Referenced by tolua_fcdb_auth_get_ipaddr00().
const char * api_auth_get_username | ( | lua_State * | L, |
Connection * | pconn | ||
) |
Get the username.
Definition at line 39 of file api_fcdb_auth.c.
Referenced by tolua_fcdb_auth_get_username00().
void api_auth_set_cmdlevel | ( | lua_State * | L, |
Connection * | pconn, | ||
int | level | ||
) |
Set the access level.
Definition at line 75 of file api_fcdb_auth.c.
Referenced by tolua_fcdb_auth_set_cmdlevel00().