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

Go to the source code of this file.


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

Detailed Description

The expand command.

Definition in file expand.c.

Function Documentation

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

Globs expression against database objects

Definition at line 57 of file expand.c.

References bu_fnmatch(), bu_vls_printf(), bu_vls_trunc(), directory::d_forw, directory::d_namep, db_lookup(), db_i::dbi_Head, 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, LOOKUP_QUIET, RT_DBNHASH, RT_DIR_NULL, and usage().

Here is the call graph for this function: