Definition at line 2123 of file webDid.c.
References i, bitem::n_services, DNS_SERVICE_INFO::name, bitem::servicep, and DNS_SERVICE_INFO::status.
Referenced by findSmiServices().
2127 char mode_name[256], *ptr, *ptr1, *ptr2;
2129 servicep = serviceptr;
2130 strcpy(mode_name, name);
2132 if((ptr = strstr(mode_name,
"::")))
2136 while((ptr1 = strchr(ptr1,
'/')))
2141 if(strcmp(ptr2, ptr+2))
2144 strcat(mode_name,
"_FWM");
2145 printf(
"Find SMI Mode %s %s\n",name, mode_name);
2146 for(i = 0; i < n_services; i++)
2148 if(servicep->
status == 3)
2150 if(!strcmp(servicep->
name, mode_name))
2152 printf(
"Find SMI Mode index %s %s %d\n",mode_name, servicep->
name, i);