Lines Matching defs:home
33 LockExample(const char *home, u_int32_t maxlocks, int do_unlink);
49 const char *home;
54 home = "TESTDIR";
61 home = argv[argnum];
84 LockExample tmp(home, maxlocks, do_unlink);
89 LockExample app(home, maxlocks, do_unlink);
102 LockExample::LockExample(const char *home, u_int32_t maxlocks, int do_unlink)
109 if ((ret = remove(home, DB_FORCE)) != 0) {
120 open(home, DB_CREATE | DB_INIT_LOCK, 0);
243 cerr << "usage: LockExample [-u] [-h home] [-m maxlocks]\n";