Functions for parsing a database URL and works with db identifier. More...
#include "../../str.h"#include "db.h"#include "db.h"

Go to the source code of this file.
Definition in file db_id.h.
| id1 | first identifier | |
| id2 | second identifier |
| id1 | first identifier | |
| id2 | second identifier |
Definition at line 272 of file db_id.c.
References db_id::database, db_id::host, db_id::password, db_id::pid, db_id::poolid, db_id::port, db_id::scheme, and db_id::username.
Referenced by pool_get().

| void free_db_id | ( | struct db_id * | id | ) |
| id | the identifier that should released | |
| id | identifier |
Definition at line 308 of file db_id.c.
References db_id::database, db_id::host, db_id::password, db_id::scheme, and db_id::username.
Referenced by db_do_init2(), db_mysql_free_connection(), and db_postgres_free_connection().

| url | database URL | |
| pooling | whether or not a pooled connection may be used |
| url | database URL | |
| pooling | whether or not a pooled connection may be used |
Definition at line 232 of file db_id.c.
References _str::len, parse_db_url(), db_id::pid, db_id::poolid, and _str::s.
Referenced by db_do_init2().


1.7.1