serverspy/src/serverspy.cxx
//------------------------------------------------------------------------------
// This function will return the name visible for all clients
//------------------------------------------------------------------------------
This function will return the name visible for all clients
This function will return the name visible for all clients
char*  ExternalServiceName(void) {
static char name [1024];
        if(service_str != NULL && strlen(service_str)!=0) {
                strcpy(name,"Dislite:");
                strcat(name,service_str);
                return name;
        } else {
                return "Dislite:model_service";
        }
}
char * ExternalServiceName ( void ) { static char name [ 1024 ] ; if ( service_str != NULL && strlen ( service_str ) != 0 ) { strcpy ( name , " " ) ; strcat ( name , service_str ) ; return name ; } else { return " " ; } }
This function will return the name visible for all clients
This function will return the name visible for all clients