BRL-CAD
db_instance.h File Reference
#include "common.h"
#include <stdio.h>
#include "bu/magic.h"
#include "bu/file.h"
#include "bu/mapped_file.h"
#include "bu/ptbl.h"
#include "bn/tol.h"
#include "rt/mem.h"
#include "rt/op.h"
#include "rt/directory.h"
#include "rt/anim.h"
#include "rt/tol.h"
Include dependency graph for db_instance.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  db_i
 

Macros

#define DBI_NULL   ((struct db_i *)0)
 
#define RT_CHECK_DBI(_p)   BU_CKMAG(_p, DBI_MAGIC, "struct db_i")
 
#define RT_CK_DBI(_p)   RT_CHECK_DBI(_p)
 

Typedefs

typedef void(* dbi_changed_t) (struct db_i *, struct directory *, int, void *)
 
typedef void(* dbi_update_nref_t) (struct db_i *, struct directory *, struct directory *, const char *, db_op_t, matp_t, void *)
 

Functions

int db_add_changed_clbk (struct db_i *dbip, dbi_changed_t c, void *u_data)
 
int db_rm_changed_clbk (struct db_i *dbip, dbi_changed_t c, void *u_data)
 
int db_add_update_nref_clbk (struct db_i *dbip, dbi_update_nref_t c, void *u_data)
 
int db_rm_update_nref_clbk (struct db_i *dbip, dbi_update_nref_t c, void *u_data)
 

Macro Definition Documentation

◆ DBI_NULL

#define DBI_NULL   ((struct db_i *)0)

Definition at line 138 of file db_instance.h.

◆ RT_CHECK_DBI

#define RT_CHECK_DBI (   _p)    BU_CKMAG(_p, DBI_MAGIC, "struct db_i")

Definition at line 139 of file db_instance.h.

◆ RT_CK_DBI

#define RT_CK_DBI (   _p)    RT_CHECK_DBI(_p)

Definition at line 140 of file db_instance.h.

Typedef Documentation

◆ dbi_changed_t

typedef void(* dbi_changed_t) (struct db_i *, struct directory *, int, void *)

Definition at line 53 of file db_instance.h.

◆ dbi_update_nref_t

typedef void(* dbi_update_nref_t) (struct db_i *, struct directory *, struct directory *, const char *, db_op_t, matp_t, void *)

Definition at line 85 of file db_instance.h.

Function Documentation

◆ db_add_changed_clbk()

int db_add_changed_clbk ( struct db_i dbip,
dbi_changed_t  c,
void *  u_data 
)

◆ db_rm_changed_clbk()

int db_rm_changed_clbk ( struct db_i dbip,
dbi_changed_t  c,
void *  u_data 
)

◆ db_add_update_nref_clbk()

int db_add_update_nref_clbk ( struct db_i dbip,
dbi_update_nref_t  c,
void *  u_data 
)

◆ db_rm_update_nref_clbk()

int db_rm_update_nref_clbk ( struct db_i dbip,
dbi_update_nref_t  c,
void *  u_data 
)