2904 if(strstr(servp->
name,
"/RpcIn"))
2906 strcpy(name,servp->
name);
2907 ptr = (
char *)strstr(name,
"/RpcIn");
2909 strcat(service_info_buffer, name);
2910 strcat(service_info_buffer,
"|");
2913 strcat(service_info_buffer, servp->
def);
2915 strcat(name,
"/RpcOut");
2918 strcat(service_info_buffer,
",");
2921 strcat(service_info_buffer, servp->
def);
2924 strcat(service_info_buffer,
"|RPC");
2925 strcat(service_info_buffer,
"\n");
2927 else if(strstr(servp->
name,
"/RpcOut"))
2941 strcat(service_info_buffer, servp->
name);
2942 strcat(service_info_buffer,
"|");
2945 strcat(service_info_buffer, servp->
def);
2947 strcat(service_info_buffer,
"|");
2950 strcat(service_info_buffer,
"CMD");
2952 strcat(service_info_buffer,
"\n");
SERVICE * find_service(char *name)