/* * Copyright (C) 2007 Tildeslash Ltd. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation. * * There are special exceptions to the terms and conditions of the GPL * as it is applied to this software. View the full text of the exception * in the file EXCEPTIONS accompanying this software distribution. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software Foundation, * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef SQLITEPREPAREDSTATEMENT_H #define SQLITEPREPAREDSTATEMENT_H #define T IPreparedStatement_T T SQLitePreparedStatement_new(void *stmt, int maxRows); void SQLitePreparedStatement_free(T *P); int SQLitePreparedStatement_setString(T P, int parameterIndex, const char *x); int SQLitePreparedStatement_setInt(T P, int parameterIndex, int x); int SQLitePreparedStatement_setLLong(T P, int parameterIndex, long long int x); int SQLitePreparedStatement_setDouble(T P, int parameterIndex, double x); int SQLitePreparedStatement_setBlob(T P, int parameterIndex, const void *x, int size); int SQLitePreparedStatement_execute(T P); ResultSet_T SQLitePreparedStatement_executeQuery(T P); #undef T #endif