// Copyright (c) 2003,2004,2005 Juraj Kolesár /* char *tdb_query (*T_DB, char *SQL) {{{ *************************************/ int tdb_query(T_DB *tdb, char *SQL); /* executes the SQL command in T_DB session /* }}} */ /* char *tdb_query_cell (*T_DB, char *str, char *SQL) {{{ *********************/ int tdb_query_cell(T_DB *tdb, char *str, char *SQL_select); /* strcpy the value of first cell in first row from table rerturnd after SQL command. Used for "one info" communication /* }}} */ /* char *tdb_query_lastid (char *SQL, *T_QS) {{{ ******************************/ int tdb_query_lastid(T_DB *tdb, char *ID); /* just mysql_insert_id implementation in tdb. Asks for new ID that was given to last new inserted row. /* }}} */ /* RETURN -all functions return __LT_OK on succes othervise __LT_ERR */