FACT++  1.0
void DimServer::start ( DimServerDns dns)
static

Definition at line 522 of file discpp.cxx.

References dis_init(), dis_start_serving_dns(), dnsid, DimServerDns::getDnsId(), DimServerDns::getName(), and DimServerDns::isAutoStart().

523 {
524  dim_long dnsid;
525  char *name;
526  int isAuto;
527 
528  dis_init();
529  {
530  DISABLE_AST
531 // dns->itsNServices++;
532 
533  name = dns->getName();
534  dnsid = dns->getDnsId();
535  isAuto = dns->isAutoStart();
536  if((name) && (isAuto))
537  {
538 // DimThread::start();
539  dis_start_serving_dns(dnsid, (char *)name /*, dns->getServiceIdList()*/);
540  }
541  ENABLE_AST
542  }
543 }
int isAutoStart()
Definition: discpp.cxx:441
void dis_init()
Definition: dis.c:220
dim_long getDnsId()
Definition: discpp.cxx:403
long dim_long
Definition: dim_common.h:57
dnsid
Definition: README_v19.txt:372
char * getName()
Definition: discpp.cxx:426
dis_start_serving_dns(dnsid,"xx_new")

+ Here is the call graph for this function: