DRDE/APIG/client/mdBehavior.cpp

30 lines
611 B
C++
Raw Normal View History

2014-01-11 19:34:15 +00:00
#include "ausreg-cd.h"
using namespace std;
std::string mdCommand::dO(void *targeT,std::string *text) {
return std::string("OK");
}
mdEPP *mdEPP::setHandler(cdResponse *cdr) {
mdEPP *value = this;
mdCmdPOD *flat = (mdCmdPOD *)(&cdr->reply->payLoad[0]);
memcpy(flat,&this->parms,sizeof(mdCmdPOD));
strcpy(&flat->sVal,this->signature.c_str());
flat->nArgs = this->signature.length();
cdr->reply->hdr.primeOffset = cdr->reply->hdr.payloadSize = sizeof(mdCmdPOD) + flat->nArgs;
done: return value;
}
bool mdMandSpace::setFullName() {
bool value=true;
return value;
}