/* Establish authenticated connection to database server. */ DB_Handle_t *db_connect(const char *host, const char *user, const char *passwd, const char *db_name); /* Disconnect from database server. */ void db_disconnect(DB_Handle_t *db);