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

Go to the source code of this file.

Functions

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

Detailed Description

The title command.

Definition in file title.c.

Function Documentation

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

Set/get the database title

Definition at line 36 of file title.c.

References bu_vls_addr(), bu_vls_free(), bu_vls_from_argv(), BU_VLS_INIT_ZERO, bu_vls_printf(), bu_vls_trunc(), db_update_ident(), db_i::dbi_local2base, db_i::dbi_title, rt_wdb::dbip, GED_CHECK_ARGC_GT_0, GED_CHECK_DATABASE_OPEN, GED_CHECK_READ_ONLY, GED_ERROR, GED_OK, ged::ged_result_str, and ged::ged_wdbp.

Here is the call graph for this function: