serverspy/src/serverspy.cxx
//------------------------------------------------------------------------------
// This function will return the name which we will need to pass to 
// the model_server startup command. The model_server will automatically 
// add "Dislite:" to the name of the service and this way startup 
// service name will be converted to the internal service name.
//------------------------------------------------------------------------------
This function will return the name which we will need to pass to
the model_server startup command. The model_server will automatically
add "Dislite:" to the name of the service and this way startup
service name will be converted to the internal service name.
This function will return the name which we will need to pass to the model_server startup command . The model_server will automatically add " Dislite : " to the name of the service and this way startup service name will be converted to the internal service name .
char*  StartupServiceName(void) {
static char name [1024];
        if(service_str != NULL && strlen(service_str)!=0) {
                strcpy(name,".");
                strcat(name,service_str);
                return name;
        } else {
                return ".model_service";
        }
}
char * StartupServiceName ( 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 which we will need to pass to
the model_server startup command.
This function will return the name which we will need to pass to the model_server startup command .