2594 if(strstr(servp->
name,
"/RpcIn"))
2596 strcpy(name,servp->
name);
2597 ptr = (
char *)strstr(name,
"/RpcIn");
2599 strcat(service_info_buffer, name);
2600 strcat(service_info_buffer,
"|");
2603 strcat(service_info_buffer, servp->
def);
2605 strcat(name,
"/RpcOut");
2608 strcat(service_info_buffer,
",");
2611 strcat(service_info_buffer, servp->
def);
2614 strcat(service_info_buffer,
"|RPC");
2615 strcat(service_info_buffer,
"\n");
2617 else if(strstr(servp->
name,
"/RpcOut"))
2631 strcat(service_info_buffer, servp->
name);
2632 strcat(service_info_buffer,
"|");
2635 strcat(service_info_buffer, servp->
def);
2637 strcat(service_info_buffer,
"|");
2640 strcat(service_info_buffer,
"CMD");
2642 strcat(service_info_buffer,
"\n");
SERVICE * find_service(char *name)