mysqlfs_opt Struct Reference

The "global" variables of a filesystem: how to find the database, whether to fsck, and the (test-mode) backgrounding. More...

#include <pool.h>


Data Fields

char * host
 MySQL host.
char * user
 MySQL user.
char * passwd
 MySQL password.
char * db
 MySQL database name.
unsigned int port
 MySQL port.
char * socket
 MySQL socket.
unsigned int fsck
 fsck boolean 1 => do fsck, 0 => don't.
char * mycnf_group
 Group in my.cnf to read defaults from.
unsigned int init_conns
 Number of DB connections to init on startup.
unsigned int max_idling_conns
 Maximum number of idling DB connections.
char * logfile
 filename to which local debug/log information will be written
int bg
 (used for autotest) whether a term-less execution should background


Detailed Description

The "global" variables of a filesystem: how to find the database, whether to fsck, and the (test-mode) backgrounding.

Definition at line 16 of file pool.h.


Field Documentation

int bg

(used for autotest) whether a term-less execution should background

Definition at line 28 of file pool.h.

Referenced by main().

char* db

MySQL database name.

Definition at line 20 of file pool.h.

unsigned int fsck

fsck boolean 1 => do fsck, 0 => don't.

Used in pool_check_mysql_setup() to call query_fsck()

Definition at line 23 of file pool.h.

char* host

MySQL host.

Definition at line 17 of file pool.h.

unsigned int init_conns

Number of DB connections to init on startup.

Definition at line 25 of file pool.h.

Referenced by main(), and pool_init().

char* logfile

filename to which local debug/log information will be written

Definition at line 27 of file pool.h.

Referenced by main().

unsigned int max_idling_conns

Maximum number of idling DB connections.

Definition at line 26 of file pool.h.

Referenced by pool_put().

char* mycnf_group

Group in my.cnf to read defaults from.

Definition at line 24 of file pool.h.

char* passwd

MySQL password.

Definition at line 19 of file pool.h.

unsigned int port

MySQL port.

Definition at line 21 of file pool.h.

char* socket

MySQL socket.

Definition at line 22 of file pool.h.

char* user

MySQL user.

Definition at line 18 of file pool.h.


The documentation for this struct was generated from the following file:
Generated on Sun Jul 12 20:25:33 2009 for mysqlfs by  doxygen 1.4.7