![]() | ![]() | ![]() | libgda API reference | ![]() |
---|
GdaConnectionPool* gda_connection_pool_new (void); void gda_connection_pool_free (GdaConnectionPool *pool); GdaConnection* gda_connection_pool_open_connection (GdaConnectionPool *pool, const gchar *gda_name, const gchar *username, const gchar *password); void gda_connection_pool_close_connection (GdaConnectionPool *pool, GdaConnection *cnc); void gda_connection_pool_close_all (GdaConnectionPool *pool); void (*GdaConnectionPoolForeachFunc) (GdaConnectionPool *pool, GdaConnection *cnc, const gchar *gda_name, const gchar *username, const gchar *password, gpointer user_data); void gda_connection_pool_foreach (GdaConnectionPool *pool, GdaConnectionPoolForeachFunc func, gpointer user_data);
GdaConnectionPool* gda_connection_pool_new (void);
Create a new
Returns : |
|
GdaConnection* gda_connection_pool_open_connection (GdaConnectionPool *pool, const gchar *gda_name, const gchar *username, const gchar *password);
pool : | a |
gda_name : | GDA data source name |
username : | user name |
password : | password |
Returns : |
|
void gda_connection_pool_close_connection (GdaConnectionPool *pool, GdaConnection *cnc);
Detach a client from the given connection in the specified pool. That
is, it removes the reference from that client to the
pool : | a |
cnc : | a |
void gda_connection_pool_close_all (GdaConnectionPool *pool);
pool : | a |
void (*GdaConnectionPoolForeachFunc) (GdaConnectionPool *pool, GdaConnection *cnc, const gchar *gda_name, const gchar *username, const gchar *password, gpointer user_data);
pool : | |
cnc : | |
gda_name : | |
username : | |
password : | |
user_data : |
|
void gda_connection_pool_foreach (GdaConnectionPool *pool, GdaConnectionPoolForeachFunc func, gpointer user_data);
pool : | |
func : | |
user_data : |
|
<<< GdaCommand | GdaConnection >>> |