| #if defined _INC_a_sampdb | |
| #endinput | |
| #endif | |
| #define _INC_a_sampdb | |
| #define _sampdb_included | |
| #define SAMP_CONST_CORRECT | |
| #pragma tabsize 4 | |
| native DB:db_open(const name[]); | |
| native db_close(DB:db); | |
| native DBResult:db_query(DB:db, const query[]); | |
| native db_free_result(DBResult:dbresult); | |
| native db_num_rows(DBResult:dbresult); | |
| native db_next_row(DBResult:dbresult); | |
| native db_num_fields(DBResult:dbresult); | |
| native db_field_name(DBResult:dbresult, field, result[], maxlength = sizeof result); | |
| native db_get_field(DBResult:dbresult, field, result[], maxlength = sizeof result); | |
| native db_get_field_int(DBResult:result, field = 0); | |
| native Float:db_get_field_float(DBResult:result, field = 0); | |
| native db_get_field_assoc(DBResult:dbresult, const field[], result[], maxlength = sizeof result); | |
| native db_get_field_assoc_int(DBResult:result, const field[]); | |
| native Float:db_get_field_assoc_float(DBResult:result, const field[]); | |
| native db_get_mem_handle(DB:db); | |
| native db_get_result_mem_handle(DBResult:result); | |
| native db_debug_openfiles(); | |
| native db_debug_openresults(); |