FACT++  1.0
int checkSmiObjName ( DNS_SERVICE_INFO servicep)

Definition at line 2161 of file webDid.c.

References matchString(), item::name, DNS_SERVICE_INFO::name, and DNS_SERVICE_INFO::status.

Referenced by findSmiServices().

2162 {
2163  int ismode = 0, ret = 0;
2164  char *name;
2165  int matchString();
2166 
2167  name = servicep->name;
2168  if(matchString(name,"SMI/*"))
2169  {
2170  ret = 1;
2171  if(matchString(name,"*&ALLOC*"))
2172  ret = 0;
2173  else if(matchString(name,"*/ACTIONS&PARS"))
2174  ret = 0;
2175  else if(matchString(name,"*/BUSY"))
2176  ret = 0;
2177  else if(matchString(name,"*/CMD"))
2178  ret = 0;
2179  else if(matchString(name,"*/OBJECTSET_LIST"))
2180  ret = 0;
2181  else if(matchString(name,"*/OBJECT_LIST"))
2182  ret = 0;
2183  else if(matchString(name,"*/SMI_VERSION_NUMBER"))
2184  ret = 0;
2185  else if(matchString(name,"*/SET/*"))
2186  ret = 0;
2187 // If JCOP framework
2188  else if(matchString(name,"*_FWDM"))
2189  ret = 0;
2190  else if(matchString(name,"*_FWCNM"))
2191  ret = 0;
2192  else if(matchString(name,"*_FWM"))
2193  {
2194  ismode = 1;
2195  if(matchString(name,"*::*"))
2196  ret = 0;
2197  }
2198  }
2199  if(ret)
2200  {
2201  if(ismode)
2202  servicep->status = 3;
2203  else
2204  servicep->status = 2;
2205  }
2206  return ret;
2207 }
int matchString(char *wzString, char *wzPattern)
Definition: webDid.c:2209
char name[MAX_NAME]
Definition: dim.h:331
int status
Definition: dim.h:333

+ Here is the call graph for this function:

+ Here is the caller graph for this function: