1/* struct::graph - critcl - layer 1 declarations
2 * (c) Graph functions
3 */
4
5#ifndef _G_NACOMMON_H
6#define _G_NACOMMON_H 1
7/* .................................................. */
8
9#include "tcl.h"
10#include <ds.h>
11
12/* .................................................. */
13
14typedef enum attr_mode {
15    A_LIST, A_GLOB, A_REGEXP, A_NONE
16} attr_mode;
17
18/* .................................................. */
19
20void        gc_add    (GC* c, GCC* gx);
21void        gc_remove (GC* c, GCC* gx);
22void        gc_setup  (GC* c, GCC* gx, const char* name, G* g);
23void        gc_delete (GC* c);
24void        gc_rename (GC* c, GCC* gx, Tcl_Obj* newname, Tcl_Interp* interp);
25
26int         gc_filter (int nodes, Tcl_Interp* interp,
27		       int oc, Tcl_Obj* const* ov,
28		       GCC* gx, GN_GET_GC* gf, G* g);
29
30/* .................................................. */
31#endif /* _G_NACOMMON_H */
32
33/*
34 * Local Variables:
35 * mode: c
36 * c-basic-offset: 4
37 * fill-column: 78
38 * End:
39 */
40