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

Go to the source code of this file.


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

Detailed Description

The dump command.

Definition in file dump.c.

Function Documentation

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

Dump a full copy of the database into file.g

Definition at line 36 of file dump.c.

References bu_vls_printf(), bu_vls_trunc(), db_dump(), rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, RT_WDB_NULL, usage(), wdb_close(), and wdb_fopen().

Here is the call graph for this function: