FACT++  1.0
int getNodeParameters ( char *  buffer,
char *  node,
int *  browser 
)

Definition at line 129 of file webServer.c.

References getParameters(), and WebDID_Debug.

Referenced by sendData(), and sendSmiData().

130 {
131  char pars[4][32];
132  char *ptrs[4];
133  int ret;
134 
135  strcpy(pars[0],"node=");
136  strcpy(pars[1],"browser=");
137  pars[2][0] = '\0';
138  ret = getParameters(buffer, pars, ptrs);
139  if(!ret)
140  return 0;
141  strcpy(node, ptrs[0]);
142  sscanf(ptrs[1],"%d",browser);
143 if(WebDID_Debug)
144  printf("parse pars - node %s, browser id %d\n", node, *browser);
145  return 1;
146 }
Definition: dns.c:26
int getParameters(char *buffer, char(*pars)[], char *ptrs[])
Definition: webServer.c:85
int buffer[BUFFSIZE]
Definition: db_dim_client.c:14
int WebDID_Debug
Definition: webServer.c:7

+ Here is the call graph for this function:

+ Here is the caller graph for this function: