FACT++  1.0
int DimBrowser::getServerClients ( const char *  serverName,
int  timeout 
)

Definition at line 932 of file diccpp.cxx.

References DimCurrentInfo::getString(), DimInfo::itsData, and str.

933 {
934  char *str;
935  char *name = new char[(int)strlen(serverName) + 20];
936  strcpy(name,(char *)serverName);
937  strcat(name,(char *)"/CLIENT_LIST");
938  DimCurrentInfo srv(name, timeout, (char *)"\0");
939  delete[] name;
940  str = srv.getString();
941  if(itsData[3])
942  delete itsData[3];
943  itsData[3] = new TokenString(str,(char *)"|@\n");
944  currIndex = 3;
945  return(itsData[3]->getNTokens((char *)"@") );
946 }
char str[80]
Definition: test_client.c:7
TokenString * itsData[5]
Definition: dic.hxx:506
static char * serverName
Definition: feeserver.c:183
int currIndex
Definition: dic.hxx:507

+ Here is the call graph for this function: