BRL-CAD
vlb.h File Reference
#include "common.h"
#include <stdio.h>
#include "bu/defines.h"
#include "bu/magic.h"
Include dependency graph for vlb.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  bu_vlb
 

Macros

#define BU_VLB_NULL   ((struct bu_vlb *)0)
 
#define BU_CK_VLB(_vp)   BU_CKMAG(_vp, BU_VLB_MAGIC, "bu_vlb")
 
#define BU_VLB_INIT(_vp)
 
#define BU_VLB_INIT_ZERO   { BU_VLB_MAGIC, NULL, 0, 0 }
 
#define BU_VLB_IS_INITIALIZED(_vp)   (((struct bu_vlb *)(_vp) != BU_VLB_NULL) && ((_vp)->magic == BU_VLB_MAGIC))
 

Typedefs

typedef struct bu_vlb bu_vlb_t
 

Functions

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)