QOF: qofsql.c File Reference

QOF 0.7.5

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

Macros | Functions | Variables
qofsql.c File Reference

QOF client-side SQL parser - interfaces with libgda. More...

`#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.

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

## Functions
QofSqlQuery * | qof_sql_query_new (void)
void | qof_sql_query_destroy (QofSqlQuery *q)
QofQuery * | qof_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 QofQuery * | handle_single_condition (QofSqlQuery *query, sql_condition *cond)
static QofQuery * | handle_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 QofEntity * | qof_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)

## Variables
static QofLogModule | log_module = "qof-query"

## Detailed Description

QOF client-side SQL parser - interfaces with libgda.

Author
  Copyright (C) 2004 Linas Vepstas linas.nosp@m.@lin.nosp@m.as.or.nosp@m.g

Definition in file qofsql.c.