FACT++  1.0
int DimService::updateService ( char *  string)

Definition at line 1081 of file discpp.cxx.

References dis_update_service, DisSTRING, itsData, itsId, itsSize, and itsType.

1082 {
1083  if(!itsId)
1084  return 0;
1085  if( itsType == DisSTRING)
1086  {
1087  itsData = string;
1088  itsSize = (int)strlen(string)+1;
1089  return dis_update_service( itsId );
1090  }
1091  return -1;
1092 }
DisTYPE itsType
Definition: dis.hxx:211
#define dis_update_service
Definition: dis.h:18
int itsSize
Definition: dis.hxx:210
int itsId
Definition: dis.hxx:228
void * itsData
Definition: dis.hxx:208