#include "common.h"
#include <string.h>
#include "bu/log.h"
#include "bu/malloc.h"
#include "bu/vlb.h"
#include "bu/vls.h"
Include dependency graph for vlb.c:

Go to the source code of this file.


#define VLB_BLOCK_SIZE   512


void bu_vlb_init (struct bu_vlb *vlb)
void bu_vlb_initialize (struct bu_vlb *vlb, size_t initialSize)
void bu_vlb_write (struct bu_vlb *vlb, unsigned char *start, size_t len)
void bu_vlb_reset (struct bu_vlb *vlb)
unsigned char * bu_vlb_addr (struct bu_vlb *vlb)
size_t bu_vlb_buflen (struct bu_vlb *vlb)
void bu_vlb_free (struct bu_vlb *vlb)
void bu_vlb_print (struct bu_vlb *vlb, FILE *fd)
void bu_pr_vlb (const char *title, const struct bu_vlb *vlb)

Detailed Description

The variable length buffer package.

Definition in file vlb.c.

Macro Definition Documentation

#define VLB_BLOCK_SIZE   512

Definition at line 31 of file vlb.c.

Referenced by bu_vlb_init(), and bu_vlb_write().