db_open.c File Reference
#include "common.h"
#include <string.h>
#include "bio.h"
#include "bu/parallel.h"
#include "vmath.h"
#include "raytrace.h"
#include "db.h"
#include "wdb.h"
#include "mater.h"
Include dependency graph for db_open.c:

Go to the source code of this file.


#define SEEK_SET   0
#define DEFAULT_DB_TITLE   "Untitled BRL-CAD Database"


struct db_idb_open (const char *name, const char *mode)
struct db_idb_create (const char *name, int version)
void db_close_client (struct db_i *dbip, long int *client)
void db_close (register struct db_i *dbip)
int db_dump (struct rt_wdb *wdbp, struct db_i *dbip)
struct db_idb_clone_dbi (struct db_i *dbip, long int *client)
void db_sync (struct db_i *dbip)

Detailed Description

Routines for opening, creating, and replicating BRL-CAD geometry database files. BRL-CAD geometry database files are managed in a given application through a "database instance" (dbi). An application may maintain multiple database instances open to a given geometry database file.

Definition in file db_open.c.