put.c File Reference
#include "common.h"
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include "ged.h"
Include dependency graph for put.c:

Go to the source code of this file.


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

Detailed Description

The put command.

Definition in file put.c.

Function Documentation

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

Create a database object

Definition at line 36 of file put.c.

References bu_vls_printf(), bu_vls_trunc(), db_lookup(), rt_wdb::dbip, rt_functab::ft_adjust, rt_functab::ft_make, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_HELP, GED_OK, ged::ged_result_str, ged::ged_wdbp, LOOKUP_QUIET, RT_CK_FUNCTAB, rt_db_free_internal(), RT_DB_INTERNAL_INIT, RT_DIR_NULL, rt_generic_make(), rt_get_functab_by_label(), usage(), and wdb_put_internal().

Here is the call graph for this function: