#include "../config.h"
#include <stdlib.h>
#include <string.h>
#include "db_conn.h"
Include dependency graph for db_conn.c:
Go to the source code of this file.
Functions | |
void | add_keyword (DBConnection *conn, char *key, int type) |
Add a keyword to the connection. | |
DBConnector * | dbconnector_find (char *key) |
Find a connector for a specified database type. | |
void | keywords_remove_all (DBConnection *conn) |
Remove all keywords. | |
void | keywords_remove (DBConnection *conn, int type) |
Remove all keywords of the specified type. |
Definition in file db_conn.c.
|
Add a keyword to the connection.
Definition at line 35 of file db_conn.c. References _keyword::key, db_conn::keylist, _keyword::next, and _keyword::type. Referenced by xpath_dbconnection_new(). |
|
Find a connector for a specified database type.
Definition at line 83 of file db_conn.c. References _dbconnector::dbtype. Referenced by dburl_get_connector(). |
|
Remove all keywords of the specified type.
Definition at line 116 of file db_conn.c. References _keyword::key, db_conn::keylist, _keyword::next, and _keyword::type. |
|
Remove all keywords.
Definition at line 99 of file db_conn.c. References _keyword::key, db_conn::keylist, and _keyword::next. Referenced by mysql_dbconnection_free(), and xpath_dbconnection_free(). |