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

Go to the source code of this file.

Functions

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

Detailed Description

The hide command.

Definition in file hide.c.

Function Documentation

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

Set the "hidden" flag for the specified objects so they do not appear in an "ls" command output

Definition at line 36 of file hide.c.

References BU_EXTERNAL_INIT, bu_free_external(), bu_vls_printf(), bu_vls_trunc(), directory::d_flags, directory::d_namep, db5_export_object3(), db5_get_raw_internal_ptr(), db_get_external(), db_lookup(), db_put_external(), db_version(), rt_wdb::dbip, bu_external::ext_buf, 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_NOISY, RT_CK_DIR, RT_DIR_HIDDEN, RT_DIR_NULL, and usage().

Here is the call graph for this function: