30 lines
611 B
C++
30 lines
611 B
C++
|
#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;
|
||
|
}
|