Definition:
void ap_table_set(table *t, const char *k, const char *val);
Usage example:
No examples available.
Sets the entry in table t with key k to have value
val. If no such entry exists, one is created. If an
entry does exist, its value is replaced. If there are multiple
entries with key k, the first one is modified, and
all the other matching entries are deleted from the table. The value
is always duplicated from the routine argument into the table's pool
using ap_pstrdup(), and a pointer to the copy used; if a new
entry needs to be created, the key string is copied as well. If both
the key and the value are literals, use ap_table_setn()
instead.
Previous: ap_table_mergen
Next: ap_table_setn
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)