00001 /********************************************************************\ 00002 * duifield-sql.h -- Field API for the SQL field type * 00003 * Copyright (C) 2004 Linas Vepstas <linas@linas.org> * 00004 * http://dwi.sourceforge.net * 00005 * * 00006 * This library is free software; you can redistribute it and/or * 00007 * modify it under the terms of the GNU Lesser General Public * 00008 * License as published by the Free Software Foundation; either * 00009 * version 2.1 of the License, or (at your option) any later version. 00010 * * 00011 * This library is distributed in the hope that it will be useful, * 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00014 * GNU Lesser General Public License for more details. * 00015 * * 00016 * You should have received a copy of the GNU Lesser General Public * 00017 * License along with this program; if not, contact: * 00018 * * 00019 * Free Software Foundation Voice: +1-617-542-5942 * 00020 * 59 Temple Place - Suite 330 Fax: +1-617-542-2652 * 00021 * Boston, MA 02111-1307, USA gnu@gnu.org * 00022 \********************************************************************/ 00033 #ifndef DUI_FIELD_SQL_H 00034 #define DUI_FIELD_SQL_H 00035 00036 #include "config.h" 00037 00038 #include "dui-initdb.h" 00039 00041 void dui_field_set_sql (DuiField *ft, const gchar * fieldname); 00042 00044 void dui_field_set_where (DuiField *ft, const gchar * fieldname, 00045 const gchar * compareop); 00046 00048 const gchar * dui_field_where_get_op (DuiField *); 00049 00050 /* ---------------------------------------------- */ 00051 00052 void dui_field_resolve_recordset (DuiField *fs, DuiDBRecordSet *recs); 00053 00056 #endif /* DUI_FIELD_SQL_H */
1.5.5