22 #include <libfossdbmanager.h> 24 #define ARRAY_LENGTH 256 32 fo_dbManager* createTestEnvironment(
const char* srcDirs,
const char* doConnectAsAgent,
int initDbTables);
int create_db_repo_sysconf(int type, char *agent_name, char *sysconfdir)
char * get_test_name()
get the test name just created by create_db_repo_sysconf()
char * createTestConfDir(char *cwd, char *agentName)
create a dummy sysConfDir for a given agent
char * get_dbconf()
get Db.conf path just created by create_db_repo_sysconf()
void drop_db_repo_sysconf(char *DBName)
drop db, sysconfig dir and repo
fo_dbManager * dbManager
fo_dbManager object
char * get_db_name()
get the DB name just created by create_db_repo_sysconf()
char * get_sysconfdir()
get sysconfig dir path just created by create_db_repo_sysconf()
char * get_repodir()
get repo path just created by create_db_repo_sysconf()