#include "common.h"
#include <stdio.h>
#include <strings.h>
#include "machine.h"
#include "bu.h"
Include dependency graph for avs.c:

Go to the source code of this file.
Functions | |
| void | bu_avs_init_empty (struct bu_attribute_value_set *avsp) |
| initialize an empty avs | |
| void | bu_avs_init (struct bu_attribute_value_set *avsp, int len, const char *str) |
| initialize avs with storage for len entries | |
| bu_attribute_value_set * | bu_avs_new (int len, const char *str) |
| Allocate storage for a new attribute/value set, with at least 'len' slots pre-allocated. | |
| int | bu_avs_add (struct bu_attribute_value_set *avp, const char *attribute, const char *value) |
| int | bu_avs_add_vls (struct bu_attribute_value_set *avp, const char *attribute, const struct bu_vls *value_vls) |
| void | bu_avs_merge (struct bu_attribute_value_set *dest, const struct bu_attribute_value_set *src) |
| Take all the attributes from 'src' and merge them into 'dest'. | |
| const char * | bu_avs_get (const struct bu_attribute_value_set *avp, const char *attribute) |
| int | bu_avs_remove (struct bu_attribute_value_set *avsp, const char *attribute) |
| Remove the given attribute from the set. | |
| void | bu_avs_free (struct bu_attribute_value_set *avp) |
| void | bu_avs_print (const struct bu_attribute_value_set *avp, const char *title) |
| void | bu_avs_add_nonunique (struct bu_attribute_value_set *avsp, char *attribute, char *value) |
| Add a name/value pair even if the name already exists in this AVS. | |
Definition in file avs.c.
1.4.6