• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/router/library/cgi-lib/

Lines Matching refs:key

145 						associated key and value to the linked list entries.  It parses
242 list_print() - This function will print out the key/value pairs in our linked list.
286 key found will be deleted, if NULL is supplied for the
287 key then the first matching value will be deleted, if
288 both the key and value are supplied then the
289 key and value must match in order for the node to be
294 int list_delete_entry(LIST *head, char *key, char *value)
299 data.key = key;
314 entries based on the key passed. This assumes that
315 multiple entries with this one named key exist. A
321 int list_delete_key_multi(LIST *head, char *key)
326 data.key = key;
356 data.key = NULL;
375 specified key. If none is found then NULL is returned.
377 char *find_val(LIST *head, char *key)
382 data.key = key;
399 key in the first node that it finds that matches the
407 data.key = NULL;
415 return foundData->key;
430 long find_val_multi(LIST *head, char *key, char ***Vals)
438 data.key = key;
480 up when they are done. The key to be searched for must be given.
490 data.key = NULL;
511 (*Vals)[found++] = tmpData->key;
533 breaking up those records into the key/value combination. We
564 function in order to break up into its key/value components, unescape the url and then add it to the
580 // if(record.key)
581 // free(record.key);
595 key/value pairs, we will then unescape the encoded data,
596 and once we have done that for the key and value data we will
602 char *key=NULL,*value=NULL, *tempStr=NULL;
609 strncpy(tempStr,record,loc); /* copy the key name only */
611 key = unescape_url(tempStr);
627 lrecord.key = key; /* give the address of the key*/
640 unescape_url() - This function will go through the strings in the key and value fields
724 printf("<DT><B>%s</B>\n",((CGI_LIST *)data)->key);
740 cmpValue =strcmp(((CGI_LIST *)Data1)->key, ((CGI_LIST *)Data2)->key);
764 key/value pair or false otherwise.
772 if(((CGI_LIST *)Data1)->key == NULL)
791 cmpValue = strcmp(((CGI_LIST *)Data1)->key, ((CGI_LIST *)Data2)->key);