FACT++  1.0
void update_smi_state ( OBJSTATE **  tag,
char *  data,
int *  size 
)

Definition at line 2044 of file webDid.c.

References objstate::browserp, bitem::last_changed, bitem::servicep, objstate::state, and time.

Referenced by findSmiServices().

2045 {
2046  OBJSTATE *servicep;
2047  time_t tsecs;
2048 
2049  if(*size){}
2050  servicep = *tag;
2051 
2052  if(strcmp(servicep->state, data))
2053  {
2054  strcpy(servicep->state, data);
2055  tsecs = time((time_t *)0);
2056  ((BROWSER *)(servicep->browserp))->last_changed = tsecs;
2057  }
2058 //printf("SMI State %s %s %08x\n", servicep->name, servicep->state, (unsigned int)servicep);
2059 }
Warning because the service this data corrsponds to might have been last updated longer ago than Local time
Definition: smartfact.txt:92
int size
Definition: db_dim_server.c:17
float data[4 *1440]
char state[512]
Definition: webDid.c:50
void * browserp
Definition: webDid.c:53
Definition: webDid.c:61

+ Here is the caller graph for this function: