[Greater-commits] r222 - trunk/GREAT-ER-DB/impl/postgresql
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Jun 21 11:25:34 CEST 2011
Author: bricks
Date: 2011-06-21 11:25:34 +0200 (Tue, 21 Jun 2011)
New Revision: 222
Modified:
trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.pgc
Log:
Fix indentation
Modified: trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.pgc
===================================================================
--- trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.pgc 2011-06-20 14:54:27 UTC (rev 221)
+++ trunk/GREAT-ER-DB/impl/postgresql/dagreater_pg.pgc 2011-06-21 09:25:34 UTC (rev 222)
@@ -51,7 +51,7 @@
* access master object (subst.,
* env.param., mod.param.,...) */
-static DB_con *con; /* global pointer var. for db-connection */
+static DB_con *con; /* global pointer var. for db-connection */
/**************************************************************************
* LIBRARY INTERAL (LOCAL) FUNCTIONS
@@ -90,7 +90,7 @@
void lda_set_db_errinfo(char *vp_modulename, DA_T_errinfo *vp_errinfo)
{
#if DEBUG_MODE_ON == 1
- DA_T_MODULE_NAME v_module = "lda_set_db_errinfo";
+ DA_T_MODULE_NAME v_module = "lda_set_db_errinfo";
#endif
/* ----------------- *
@@ -98,7 +98,7 @@
* ----------------- */
#if DEBUG_MODE_ON == 1
/* debug output */
- lda_write_debug_info(1, v_module, NULL, NULL, NULL, NULL, NULL, NULL);
+ lda_write_debug_info(1, v_module, NULL, NULL, NULL, NULL, NULL, NULL);
#endif
/* set error type = Postgres */
@@ -141,10 +141,10 @@
char *vp_connect_descr, DA_T_errinfo *vp_errinfo)
{
con = gda_db_connect(vp_userid, vp_passwd,
- vp_connect_descr, vp_errinfo);
+ vp_connect_descr, vp_errinfo);
- if(!con)
- return(DA_FAIL);
+ if(!con)
+ return(DA_FAIL);
return(DA_SUCCESS);
}
@@ -194,16 +194,16 @@
\return DA_SUCCESS \n DA_FAIL.
*/
-int da_db_connect_admin(char *vp_userid, char *vp_passwd,
+int da_db_connect_admin(char *vp_userid, char *vp_passwd,
char *vp_connect_descr, int *vp_admin,
DA_T_errinfo *vp_errinfo)
{
- con = gda_db_connect_admin(vp_userid, vp_passwd,
- vp_connect_descr, vp_admin,
- vp_errinfo);
+ con = gda_db_connect_admin(vp_userid, vp_passwd,
+ vp_connect_descr, vp_admin,
+ vp_errinfo);
- if(!con)
- return(DA_FAIL);
+ if(!con)
+ return(DA_FAIL);
return(DA_SUCCESS);
}
@@ -241,7 +241,7 @@
*/
int da_db_disconnect(DA_T_errinfo *vp_errinfo)
{
- return gda_db_disconnect(con, vp_errinfo);
+ return gda_db_disconnect(con, vp_errinfo);
}
/*********************************************************************
@@ -388,7 +388,7 @@
int da_set_password(char *vp_userid, char *vp_passwd,
DA_T_errinfo *vp_errinfo)
{
- return gda_set_password(con, vp_userid, vp_passwd, vp_errinfo);
+ return gda_set_password(con, vp_userid, vp_passwd, vp_errinfo);
}
@@ -437,7 +437,7 @@
DA_T_catch **vp_catch,
DA_T_errinfo *vp_errinfo)
{
- return gda_get_catch(con, vp_catch_id, vp_catch, vp_errinfo);
+ return gda_get_catch(con, vp_catch_id, vp_catch, vp_errinfo);
}
/*********************************************************************
@@ -471,7 +471,7 @@
*/
void da_free_catch(DA_T_catch *vp_catch)
{
- gda_free_catch(vp_catch);
+ gda_free_catch(vp_catch);
}
/*********************************************************************
@@ -515,7 +515,7 @@
int da_insert_catch ( DA_T_catch *vp_catch,
DA_T_errinfo *vp_errinfo)
{
- return gda_insert_catch(con, vp_catch, vp_errinfo);
+ return gda_insert_catch(con, vp_catch, vp_errinfo);
}
@@ -555,7 +555,7 @@
int da_update_catch ( DA_T_catch *vp_catch,
DA_T_errinfo *vp_errinfo)
{
- return gda_update_catch(con, vp_catch, vp_errinfo);
+ return gda_update_catch(con, vp_catch, vp_errinfo);
}
/*********************************************************************
@@ -594,7 +594,7 @@
int da_delete_catch ( long vp_catch_id,
DA_T_errinfo *vp_errinfo)
{
- return gda_delete_catch(con, vp_catch_id, vp_errinfo);
+ return gda_delete_catch(con, vp_catch_id, vp_errinfo);
}
/* ----------------------------------------------------------------- *
@@ -651,7 +651,7 @@
DA_T_stretch **vp_stretch,
DA_T_errinfo *vp_errinfo)
{
- return gda_get_stretch(con, vp_catch_id, vp_stretch_id, vp_stretch, vp_errinfo);
+ return gda_get_stretch(con, vp_catch_id, vp_stretch_id, vp_stretch, vp_errinfo);
}
/*********************************************************************
@@ -687,7 +687,7 @@
*/
void da_free_stretch(DA_T_stretch *vp_stretch)
{
- gda_free_stretch(vp_stretch);
+ gda_free_stretch(vp_stretch);
}
/*********************************************************************
@@ -737,7 +737,7 @@
int da_insert_stretch ( DA_T_stretch *vp_stretch,
DA_T_errinfo *vp_errinfo)
{
- return gda_insert_stretch(con, vp_stretch, vp_errinfo);
+ return gda_insert_stretch(con, vp_stretch, vp_errinfo);
}
@@ -776,7 +776,7 @@
int da_update_stretch ( DA_T_stretch vp_stretch,
DA_T_errinfo *vp_errinfo)
{
- return gda_update_stretch(con, vp_stretch, vp_errinfo);
+ return gda_update_stretch(con, vp_stretch, vp_errinfo);
}
/*********************************************************************
@@ -816,7 +816,7 @@
long vp_stretch_id,
DA_T_errinfo *vp_errinfo)
{
- return gda_delete_stretch(con, vp_catch_id, vp_stretch_id, vp_errinfo);
+ return gda_delete_stretch(con, vp_catch_id, vp_stretch_id, vp_errinfo);
}
@@ -870,7 +870,7 @@
DA_T_stretch_class **vp_stretch_class,
DA_T_errinfo *vp_errinfo)
{
- return gda_get_stretch_class(con, vp_stretch_class_id, vp_stretch_class, vp_errinfo);
+ return gda_get_stretch_class(con, vp_stretch_class_id, vp_stretch_class, vp_errinfo);
}
/*********************************************************************
@@ -904,7 +904,7 @@
*/
void da_free_stretch_class(DA_T_stretch_class *vp_stretch_class)
{
- gda_free_stretch_class(vp_stretch_class);
+ gda_free_stretch_class(vp_stretch_class);
}
/* ----------------------------------------------------------------- *
@@ -961,7 +961,7 @@
DA_T_disch **vp_disch,
DA_T_errinfo *vp_errinfo)
{
- return gda_get_disch(con, vp_catch_id, vp_stretch_id, vp_disch_id, vp_disch, vp_errinfo);
+ return gda_get_disch(con, vp_catch_id, vp_stretch_id, vp_disch_id, vp_disch, vp_errinfo);
}
@@ -996,7 +996,7 @@
*/
void da_free_disch(DA_T_disch *vp_disch)
{
- gda_free_disch(vp_disch);
+ gda_free_disch(vp_disch);
}
/*********************************************************************
@@ -1048,7 +1048,7 @@
int da_insert_disch ( DA_T_disch *vp_disch,
DA_T_errinfo *vp_errinfo)
{
- return gda_insert_disch(con, vp_disch, vp_errinfo);
+ return gda_insert_disch(con, vp_disch, vp_errinfo);
}
/*********************************************************************
@@ -1089,7 +1089,7 @@
DA_T_disch vp_disch,
DA_T_errinfo *vp_errinfo)
{
- return gda_update_disch(con, vp_catch_id, vp_disch, vp_errinfo);
+ return gda_update_disch(con, vp_catch_id, vp_disch, vp_errinfo);
}
/*********************************************************************
@@ -1129,7 +1129,7 @@
long vp_disch_id,
DA_T_errinfo *vp_errinfo)
{
- return gda_delete_disch(con, vp_catch_id, vp_disch_id, vp_errinfo);
+ return gda_delete_disch(con, vp_catch_id, vp_disch_id, vp_errinfo);
}
/* ----------------------------------------------------------------- *
@@ -1177,7 +1177,7 @@
DA_T_disch_class **vp_disch_class,
DA_T_errinfo *vp_errinfo)
{
- return gda_get_disch_class(con, vp_disch_class_id, vp_disch_class, vp_errinfo);
+ return gda_get_disch_class(con, vp_disch_class_id, vp_disch_class, vp_errinfo);
}
/*********************************************************************
@@ -1211,7 +1211,7 @@
*/
void da_free_disch_class(DA_T_disch_class *vp_disch_class)
{
- gda_free_disch_class(vp_disch_class);
+ gda_free_disch_class(vp_disch_class);
}
/* ----------------------------------------------------------------- *
@@ -1258,7 +1258,7 @@
DA_T_backgrd **vp_backgrd,
DA_T_errinfo *vp_errinfo)
{
- return gda_get_backgrd(con, vp_catch_id, vp_backgrd, vp_errinfo);
+ return gda_get_backgrd(con, vp_catch_id, vp_backgrd, vp_errinfo);
}
/*********************************************************************
@@ -1294,7 +1294,7 @@
int da_insert_backgrd ( DA_T_backgrd vp_backgrd,
DA_T_errinfo *vp_errinfo)
{
- return gda_insert_backgrd(con, vp_backgrd, vp_errinfo);
+ return gda_insert_backgrd(con, vp_backgrd, vp_errinfo);
}
/*********************************************************************
@@ -1334,7 +1334,7 @@
DA_T_backgrd vp_backgrd,
DA_T_errinfo *vp_errinfo)
{
- return gda_update_backgrd(con, vp_backgrd_old, vp_backgrd, vp_errinfo);
+ return gda_update_backgrd(con, vp_backgrd_old, vp_backgrd, vp_errinfo);
}
/*********************************************************************
@@ -1373,7 +1373,7 @@
int da_delete_backgrd( DA_T_backgrd vp_backgrd,
DA_T_errinfo *vp_errinfo)
{
- return gda_delete_backgrd(con, vp_backgrd, vp_errinfo);
+ return gda_delete_backgrd(con, vp_backgrd, vp_errinfo);
}
/*********************************************************************
@@ -1407,7 +1407,7 @@
*/
void da_free_backgrd(DA_T_backgrd *vp_backgrd)
{
- gda_free_backgrd(vp_backgrd);
+ gda_free_backgrd(vp_backgrd);
}
/* ----------------------------------------------------------------- *
@@ -1472,13 +1472,13 @@
DA_T_bin_obj **vp_bin_obj,
DA_T_errinfo *vp_errinfo)
{
- return gda_get_bin_obj(con,
- vp_object_id,
- vp_object_type,
- vp_bin_obj_id,
- vp_get_file_obj,
- vp_bin_obj,
- vp_errinfo);
+ return gda_get_bin_obj(con,
+ vp_object_id,
+ vp_object_type,
+ vp_bin_obj_id,
+ vp_get_file_obj,
+ vp_bin_obj,
+ vp_errinfo);
}
/*********************************************************************
@@ -1540,16 +1540,16 @@
DA_T_bin_obj **vp_bin_obj,
DA_T_errinfo *vp_errinfo)
{
- return gda_get_bin_obj_search(con,
- vp_name,
- vp_obj_sub_type,
- vp_remark,
- vp_user_id,
- vp_file_type,
- vp_cre_date,
- vp_mod_date,
- vp_bin_obj,
- vp_errinfo);
+ return gda_get_bin_obj_search(con,
+ vp_name,
+ vp_obj_sub_type,
+ vp_remark,
+ vp_user_id,
+ vp_file_type,
+ vp_cre_date,
+ vp_mod_date,
+ vp_bin_obj,
+ vp_errinfo);
}
/*********************************************************************
@@ -1594,7 +1594,7 @@
int da_insert_bin_obj( DA_T_bin_obj *vp_bin_obj,
DA_T_errinfo *vp_errinfo)
{
- return gda_insert_bin_obj(con, vp_bin_obj, vp_errinfo);
+ return gda_insert_bin_obj(con, vp_bin_obj, vp_errinfo);
}
/*********************************************************************
More information about the Greater-commits
mailing list