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

Go to the source code of this file.

Data Structures

struct  killtree_data


#define AV_STEP   4096


HIDDEN int find_reference (struct db_i *dbip, const char *topobj, const char *obj)
HIDDEN void killtree_callback (struct db_i *dbip, struct directory *dp, void *ptr)
int ged_killtree (struct ged *gedp, int argc, const char *argv[])

Detailed Description

The killtree command.

Definition in file killtree.c.

Macro Definition Documentation

#define AV_STEP   4096

Definition at line 36 of file killtree.c.

Referenced by ged_killtree(), and killtree_callback().

Function Documentation

HIDDEN int find_reference ( struct db_i dbip,
const char *  topobj,
const char *  obj 

Definition at line 57 of file killtree.c.

References bu_vls_cstr(), bu_vls_free(), BU_VLS_INIT_ZERO, bu_vls_printf(), db_search(), and DB_SEARCH_TREE.

Referenced by killtree_callback().

Here is the call graph for this function:

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