Update of /cvsroot/mod-auth/mod_dbi_pool/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15626/include
Modified Files:
mod_dbi_pool.h
Log Message:
fixed files to follow official apache style. forgot todo this before i commited for the night.
Index: mod_dbi_pool.h
===================================================================
RCS file: /cvsroot/mod-auth/mod_dbi_pool/include/mod_dbi_pool.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mod_dbi_pool.h 29 Feb 2004 08:40:52 -0000 1.1
+++ mod_dbi_pool.h 29 Feb 2004 08:48:27 -0000 1.2
@@ -41,12 +41,12 @@
#define DFLT_DBI_HOST "localhost"
#define DFLT_DBI_DRIVER "mysql"
#define DFLT_DBI_USER "root"
-#define DFLT_DBI_PASS "" /* setting this to NULL triggers a bug in libdbi which causes a segfault. mysql docs
- * say this must be set to NULL in order to login without a password. fortunately,
- * setting "" works as well. the bug is reported to the libdbi maintainers. we will
- * change this back when the bug is fixed.
- *
- */
+#define DFLT_DBI_PASS "" /* setting this to NULL triggers a bug in libdbi which causes a segfault. mysql docs
+ * say this must be set to NULL in order to login without a password. fortunately,
+ * setting "" works as well. the bug is reported to the libdbi maintainers. we will
+ * change this back when the bug is fixed.
+ *
+ */
#define DFLT_CONN_MIN (1)
#define DFLT_CONN_SOFT (5)
#define DFLT_CONN_MAX (25)
@@ -57,7 +57,8 @@
#define DBI_HARD_MAX_CONNS (255)
#endif
-typedef enum {
+typedef enum
+{
CONF_DBI_DRIVER,
CONF_DBI_DRIVER_DIR,
CONF_DBI_HOST,
@@ -70,7 +71,8 @@
CONF_DBI_CONN_TTL,
} CONF_DBI;
-typedef struct dbi_config_rec_struct {
+typedef struct dbi_config_rec_struct
+{
const char *dbi_dbname;
const char *dbi_user;
const char *dbi_pass;
@@ -81,5 +83,3 @@
int conn_max;
int conn_ttl;
} dbi_config_rec;
-
-
|