#include #include #include #include #include #include // ********************************************************************** // * * // * * // * * // ********************************************************************** void userpt::setfilename() { std::string p; getboxuserdir(p, pconfig->boxdir, name); strmaxcpy(path, p.c_str(), DIRLEN-1); strmaxcpy(locktype, "userprofile", TEXTLEN-1); snprintf(filename, DIRLEN, "%sprofile", path); } bool userpt::add() { return TRUE; } bool userpt::del() { return TRUE; } // ********************************************************************** // * * // * * // * * // ********************************************************************** void grouppt::setfilename() { //snprintf(path, DIRLEN, BOXUSERDIR, pconfig->boxdir, name); //strmaxcpy(locktype, "userprofile", TEXTLEN-1); //snprintf(filename, DIRLEN, "%sprofile", path); } bool grouppt::add() { return TRUE; } bool grouppt::del() { return TRUE; }