#include <general.h>
#include <config.h>
#include <dboxpath.h>
#include <logf.h>
#include <tools.h>
#include <userdb.h>
// **********************************************************************
// * *
// * *
// * *
// **********************************************************************
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;
}
syntax highlighted by Code2HTML, v. 0.9.1