Lines Matching defs:data_dir
43 const char *data_dir, *home;
47 // but data files live in data_dir.
50 data_dir = "data";
61 data_dir = argv[argnum];
69 db_setup(home, data_dir, cerr);
72 db_teardown(home, data_dir, cerr);
83 db_setup(const char *home, const char *data_dir, ostream& err_stream)
100 (void)dbenv->set_data_dir(data_dir);
107 // Open a database in the environment to verify the data_dir
125 db_teardown(const char *home, const char *data_dir, ostream& err_stream)
133 (void)dbenv->set_data_dir(data_dir);
141 cerr << "usage: excxx_env [-h home] [-d data_dir]\n";