qofsql.c File Reference

Detailed Description

QOF client-side SQL parser - interfaces with libgda.

Copyright (C) 2004 Linas Vepstas <linas@linas.org>

Definition in file qofsql.c.

#include "config.h"
#include <stdlib.h>
#include <errno.h>
#include <glib.h>
#include <libintl.h>
#include "sql_parser.h"
#include <time.h>
#include "qof.h"
#include "qofquery-p.h"

Go to the source code of this file.


#define _(String)   dgettext (GETTEXT_PACKAGE, String)


QofSqlQuery * qof_sql_query_new (void)
void qof_sql_query_destroy (QofSqlQuery *q)
QofQueryqof_sql_query_get_query (QofSqlQuery *q)
void qof_sql_query_set_book (QofSqlQuery *q, QofBook *book)
void qof_sql_query_set_kvp (QofSqlQuery *q, KvpFrame *kvp)
static void get_table_and_param (char *str, char **tab, char **param)
static char * dequote_string (char *str)
static QofQueryhandle_single_condition (QofSqlQuery *query, sql_condition *cond)
static QofQueryhandle_where (QofSqlQuery *query, sql_where *swear)
static void handle_sort_order (QofSqlQuery *query, GList *sorder_list)
static void qof_sql_insertCB (const QofParam *param, const gchar *insert_string, QofSqlQuery *query)
static void qof_query_set_insert_table (QofSqlQuery *query)
static QofEntityqof_query_insert (QofSqlQuery *query)
static const char * sql_type_as_string (sql_statement_type type)
void qof_sql_query_parse (QofSqlQuery *query, const char *str)
GList * qof_sql_query_run (QofSqlQuery *query, const char *str)
GList * qof_sql_query_rerun (QofSqlQuery *query)


static QofLogModule log_module = "qof-query"

Generated on Thu Jan 31 22:50:26 2008 for QOF by  doxygen 1.5.4