BRL-CAD
open.c File Reference
#include "common.h"
#include <string.h>
#include "bu/cmd.h"
#include "./ged_private.h"
Include dependency graph for open.c:

Go to the source code of this file.

Functions

int ged_reopen (struct ged *gedp, int argc, const char *argv[])
 

Detailed Description

The open command.

Definition in file open.c.

Function Documentation

int ged_reopen ( struct ged gedp,
int  argc,
const char *  argv[] 
)

Open a database

Definition at line 36 of file open.c.

References _ged_open_dbip(), bu_vls_printf(), bu_vls_trunc(), db_close(), db_i::dbi_filename, DBI_NULL, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_OK, ged::ged_result_str, ged::ged_wdbp, ged_zap(), rt_material_head(), rt_new_material_head(), and usage().

Here is the call graph for this function: