Freeciv-3.1
Loading...
Searching...
No Matches
Functions
api_fcdb_auth.h File Reference
#include "luascript_types.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)
 

Function Documentation

◆ api_auth_get_ipaddr()

const char * api_auth_get_ipaddr ( lua_State *  L,
Connection pconn 
)

Get the ip address.

Definition at line 50 of file api_fcdb_auth.c.

Referenced by tolua_fcdb_auth_get_ipaddr00().

◆ api_auth_get_username()

const char * api_auth_get_username ( lua_State *  L,
Connection pconn 
)

Get the username.

Definition at line 38 of file api_fcdb_auth.c.

Referenced by tolua_fcdb_auth_get_username00().