Index: attrib.h =================================================================== --- attrib.h (revision 28776) +++ attrib.h (revision 28777) @@ -46,9 +46,11 @@ }; /* Returns NULL if the name isn't found, else the value for that named - attribute. */ + attribute. The ptr version returns the address of the value str in the slot */ char *pcb_attribute_get(const pcb_attribute_list_t *list, const char *name); +char **pcb_attribute_get_ptr(const pcb_attribute_list_t *list, const char *name); + /* Adds an attribute to the list. If the attribute already exists, the value is replaced. Returns non-zero if an existing attribute was replaced. */ int pcb_attribute_put(pcb_attribute_list_t * list, const char *name, const char *value);