DBI changes
This commit is contained in:
20
plugins/include/dbi.inc
Executable file
20
plugins/include/dbi.inc
Executable file
@ -0,0 +1,20 @@
|
||||
/* 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);
|
Reference in New Issue
Block a user