Lines Matching defs:data_dir
39 const char *data_dir, *home;
44 * data files will live in data_dir.
47 data_dir = "data";
54 data_dir = optarg;
67 if (db_setup(home, data_dir, stderr, progname) != 0)
71 if (db_teardown(home, data_dir, stderr, progname) != 0)
78 db_setup(home, data_dir, errfp, progname)
79 const char *home, *data_dir, *progname;
108 (void)dbenv->set_data_dir(dbenv, data_dir);
120 * Open a database in the environment to verify the data_dir
152 db_teardown(home, data_dir, errfp, progname)
153 const char *home, *data_dir, *progname;
167 (void)dbenv->set_data_dir(dbenv, data_dir);
181 "usage: %s [-h home] [-d data_dir]\n", progname);