amxmodx/plugins/include/dbi.inc

20 lines
383 B
PHP
Raw Normal View History

2004-04-02 23:45:26 +00:00
/* SQL Database API
* By the AMX Mod X Development Team
*/
#if defined _dbi_included
#endinput
#endif
#define _dbi_included
native dbi_connect(host[], user[], pass[], dbname[], error[]="", maxlength=1);
native dbi_query(sql, query[], {Float,_}:...);
native dbi_nextrow(sql);
native dbi_getfield(sql, fieldnum, dest[], maxlen);
native dbi_close(sql);
native dbi_error(sql);