37#define GED_CHECK_DATABASE_OPEN(_gedp, _flags) \
38 if ((_gedp) == GED_NULL || (_gedp)->dbip == DBI_NULL) { \
39 int ged_check_database_open_quiet = (_flags) & GED_QUIET; \
40 if (!ged_check_database_open_quiet) { \
41 if ((_gedp) != GED_NULL) { \
42 bu_vls_trunc((_gedp)->ged_result_str, 0); \
43 bu_vls_printf((_gedp)->ged_result_str, "A database is not open!"); \
45 bu_log("A database is not open!\n"); \
54GED_EXPORT
extern int ged_title(
struct ged *gedp,
int argc,
const char *argv[]);
65GED_EXPORT
extern int ged_who_argv(
struct ged *gedp,
char **start,
const char **end);
71GED_EXPORT
extern int ged_tops(
struct ged *gedp,
int argc,
const char *argv[]);
76GED_EXPORT
extern int ged_dbip(
struct ged *gedp,
int argc,
const char *argv[]);
82GED_EXPORT
extern int ged_dump(
struct ged *gedp,
int argc,
const char *argv[]);
87GED_EXPORT
extern int ged_find(
struct ged *gedp,
int argc,
const char *argv[]);
92GED_EXPORT
extern int ged_glob(
struct ged *gedp,
int argc,
const char *argv[]);
97GED_EXPORT
extern int ged_concat(
struct ged *gedp,
int argc,
const char *argv[]);
102GED_EXPORT
extern int ged_dup(
struct ged *gedp,
int argc,
const char *argv[]);
107GED_EXPORT
extern int ged_edcolor(
struct ged *gedp,
int argc,
const char *argv[]);
112GED_EXPORT
extern int ged_editit(
struct ged *gedp,
int argc,
const char *argv[]);
117GED_EXPORT
extern int ged_ls(
struct ged *gedp,
int argc,
const char *argv[]);
127GED_EXPORT
extern int ged_pathsum(
struct ged *gedp,
int argc,
const char *argv[]);
143GED_EXPORT
extern int ged_rmap(
struct ged *gedp,
int argc,
const char *argv[]);
148GED_EXPORT
extern int ged_tol(
struct ged *gedp,
int argc,
const char *argv[]);
153GED_EXPORT
extern int ged_units(
struct ged *gedp,
int argc,
const char *argv[]);
158GED_EXPORT
extern int ged_version(
struct ged *gedp,
int argc,
const char *argv[]);
163GED_EXPORT
extern int ged_wcodes(
struct ged *gedp,
int argc,
const char *argv[]);
175GED_EXPORT
extern int ged_expand(
struct ged *gedp,
int argc,
const char *argv[]);
180GED_EXPORT
extern int ged_item(
struct ged *gedp,
int argc,
const char *argv[]);
185GED_EXPORT
extern int ged_reopen(
struct ged *gedp,
int argc,
const char *argv[]);
190GED_EXPORT
extern int ged_rcodes(
struct ged *gedp,
int argc,
const char *argv[]);
195GED_EXPORT
extern int ged_regdef(
struct ged *gedp,
int argc,
const char *argv[]);
200GED_EXPORT
extern int ged_search(
struct ged *gedp,
int argc,
const char *argv[]);
205GED_EXPORT
extern int ged_summary(
struct ged *gedp,
int argc,
const char *argv[]);
210GED_EXPORT
extern int ged_sync(
struct ged *gedp,
int argc,
const char *argv[]);
218GED_EXPORT
extern int ged_tables(
struct ged *gedp,
int argc,
const char *argv[]);
226GED_EXPORT
extern int ged_which(
struct ged *gedp,
int argc,
const char *argv[]);
236GED_EXPORT
extern int ged_color(
struct ged *gedp,
int argc,
const char *argv[]);
241GED_EXPORT
extern int ged_prcolor(
struct ged *gedp,
int argc,
const char *argv[]);
251GED_EXPORT
extern int ged_lint(
struct ged *gedp,
int argc,
const char *argv[]);
256GED_EXPORT
extern int ged_env(
struct ged *gedp,
int argc,
const char *argv[]);
261GED_EXPORT
extern int ged_process(
struct ged *gedp,
int argc,
const char *argv[]);
Header file for the BRL-CAD common definitions.
int ged_tables(struct ged *gedp, int argc, const char *argv[])
int ged_expand(struct ged *gedp, int argc, const char *argv[])
int ged_item(struct ged *gedp, int argc, const char *argv[])
int ged_rcodes(struct ged *gedp, int argc, const char *argv[])
int ged_process(struct ged *gedp, int argc, const char *argv[])
int ged_rmap(struct ged *gedp, int argc, const char *argv[])
int ged_color(struct ged *gedp, int argc, const char *argv[])
int ged_set_output_script(struct ged *gedp, int argc, const char *argv[])
int ged_find(struct ged *gedp, int argc, const char *argv[])
int ged_regdef(struct ged *gedp, int argc, const char *argv[])
int ged_which_shader(struct ged *gedp, int argc, const char *argv[])
int ged_units(struct ged *gedp, int argc, const char *argv[])
int ged_showmats(struct ged *gedp, int argc, const char *argv[])
int ged_dump(struct ged *gedp, int argc, const char *argv[])
int ged_sync(struct ged *gedp, int argc, const char *argv[])
int ged_ls(struct ged *gedp, int argc, const char *argv[])
int ged_who_argv(struct ged *gedp, char **start, const char **end)
int ged_dbip(struct ged *gedp, int argc, const char *argv[])
int ged_lint(struct ged *gedp, int argc, const char *argv[])
int ged_prcolor(struct ged *gedp, int argc, const char *argv[])
int ged_wcodes(struct ged *gedp, int argc, const char *argv[])
int ged_version(struct ged *gedp, int argc, const char *argv[])
int ged_tops(struct ged *gedp, int argc, const char *argv[])
int ged_pathsum(struct ged *gedp, int argc, const char *argv[])
int ged_edcolor(struct ged *gedp, int argc, const char *argv[])
int ged_concat(struct ged *gedp, int argc, const char *argv[])
int ged_editit(struct ged *gedp, int argc, const char *argv[])
int ged_tol(struct ged *gedp, int argc, const char *argv[])
size_t ged_who_argc(struct ged *gedp)
int ged_which(struct ged *gedp, int argc, const char *argv[])
int ged_dup(struct ged *gedp, int argc, const char *argv[])
int ged_dbcopy(struct ged *from_gedp, struct ged *to_gedp, const char *from, const char *to, int fflag)
int ged_search(struct ged *gedp, int argc, const char *argv[])
int ged_summary(struct ged *gedp, int argc, const char *argv[])
int ged_reopen(struct ged *gedp, int argc, const char *argv[])
int ged_env(struct ged *gedp, int argc, const char *argv[])
int ged_pathlist(struct ged *gedp, int argc, const char *argv[])
int ged_title(struct ged *gedp, int argc, const char *argv[])
int ged_glob(struct ged *gedp, int argc, const char *argv[])
int ged_path_validate(struct ged *gedp, const struct db_full_path *const path)