BRL-CAD
#include "common.h"
#include <stdio.h>
#include <string.h>
#include <time.h>
#include "bu/avs.h"
#include "bu/debug.h"
#include "bu/log.h"
#include "bu/malloc.h"
#include "bu/str.h"
Include dependency graph for avs.c:

Go to the source code of this file.

Macros

#define AVS_ALLOCATION_INCREMENT   32
 

Functions

void bu_avs_init_empty (struct bu_attribute_value_set *avsp)
 
void bu_avs_init (struct bu_attribute_value_set *avsp, size_t len, const char *str)
 
struct bu_attribute_value_setbu_avs_new (size_t len, const char *str)
 
int bu_avs_add (struct bu_attribute_value_set *avsp, const char *name, const char *value)
 
int bu_avs_add_vls (struct bu_attribute_value_set *avsp, const char *name, const struct bu_vls *value_vls)
 
void bu_avs_merge (struct bu_attribute_value_set *dest, const struct bu_attribute_value_set *src)
 
const char * bu_avs_get (const struct bu_attribute_value_set *avsp, const char *name)
 
int bu_avs_remove (struct bu_attribute_value_set *avsp, const char *name)
 
void bu_avs_free (struct bu_attribute_value_set *avsp)
 
void bu_avs_print (const struct bu_attribute_value_set *avsp, const char *title)
 
void bu_avs_add_nonunique (struct bu_attribute_value_set *avsp, const char *name, const char *value)
 

Detailed Description

Routines to manage attribute/value sets.

Definition in file avs.c.

Macro Definition Documentation

#define AVS_ALLOCATION_INCREMENT   32

Definition at line 33 of file avs.c.

Referenced by bu_avs_add(), bu_avs_add_nonunique(), and bu_avs_init().