[evolution-kolab] kolab-util-sqlite: removed 'kolab_' prefix from names of static functions
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab] kolab-util-sqlite: removed 'kolab_' prefix from names of static functions
- Date: Thu, 26 Jul 2012 14:08:25 +0000 (UTC)
commit 98b4c384fcfe58771ffe59c473aee7147e94d7de
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Thu Jul 26 15:45:18 2012 +0200
kolab-util-sqlite: removed 'kolab_' prefix from names of static functions
src/libekolabutil/kolab-util-sqlite.c | 36 ++++++++++++++++----------------
1 files changed, 18 insertions(+), 18 deletions(-)
---
diff --git a/src/libekolabutil/kolab-util-sqlite.c b/src/libekolabutil/kolab-util-sqlite.c
index 15cc711..1acd8a5 100644
--- a/src/libekolabutil/kolab-util-sqlite.c
+++ b/src/libekolabutil/kolab-util-sqlite.c
@@ -39,10 +39,10 @@
/*----------------------------------------------------------------------------*/
static gint
-kolab_util_sqlite_table_exists_cb (void *data,
- gint ncols,
- gchar **coltext,
- gchar **colname)
+util_sqlite_table_exists_cb (void *data,
+ gint ncols,
+ gchar **coltext,
+ gchar **colname)
{
KolabUtilSqliteDb *kdb = (KolabUtilSqliteDb *)data;
@@ -56,8 +56,8 @@ kolab_util_sqlite_table_exists_cb (void *data,
}
static sqlite3*
-kolab_util_sqlite_open_trycreate (const gchar *path,
- GError **err)
+util_sqlite_open_trycreate (const gchar *path,
+ GError **err)
{
gint sql3_err = SQLITE_OK;
sqlite3 *db = NULL;
@@ -84,11 +84,11 @@ kolab_util_sqlite_open_trycreate (const gchar *path,
}
static gboolean
-kolab_util_sqlite_exec_str_full (KolabUtilSqliteDb *kdb,
- const gchar *sql_str,
- int (*cb_func)(void*,int,char**,char**),
- void *cb_arg,
- GError **err)
+util_sqlite_exec_str_full (KolabUtilSqliteDb *kdb,
+ const gchar *sql_str,
+ int (*cb_func)(void*,int,char**,char**),
+ void *cb_arg,
+ GError **err)
{
gint sql_errno = SQLITE_OK;
@@ -193,7 +193,7 @@ kolab_util_sqlite_db_open (KolabUtilSqliteDb *kdb,
return FALSE;
}
- tmp_db = kolab_util_sqlite_open_trycreate (store_db_path, &tmp_err);
+ tmp_db = util_sqlite_open_trycreate (store_db_path, &tmp_err);
if (tmp_db == NULL) {
g_propagate_error (err, tmp_err);
g_free (store_db_path);
@@ -268,11 +268,11 @@ kolab_util_sqlite_table_exists (KolabUtilSqliteDb *kdb,
KOLAB_UTIL_SQLITE_DB_MASTER,
name);
kdb->ctr = 0;
- ok = kolab_util_sqlite_exec_str_full (kdb,
- sql_str,
- kolab_util_sqlite_table_exists_cb,
- kdb,
- &tmp_err);
+ ok = util_sqlite_exec_str_full (kdb,
+ sql_str,
+ util_sqlite_table_exists_cb,
+ kdb,
+ &tmp_err);
sqlite3_free (sql_str);
if (! ok) {
g_propagate_error (err, tmp_err);
@@ -377,7 +377,7 @@ kolab_util_sqlite_exec_str (KolabUtilSqliteDb *kdb,
GError **err)
{
gboolean ok = FALSE;
- ok = kolab_util_sqlite_exec_str_full (kdb, sql_str, NULL, NULL, err);
+ ok = util_sqlite_exec_str_full (kdb, sql_str, NULL, NULL, err);
return ok;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]