Graphviz  2.41.20171026.1811
Functions
obj.c File Reference
#include <cghdr.h>
Include dependency graph for obj.c:

Go to the source code of this file.

Functions

int agdelete (Agraph_t *g, void *obj)
 
int agrename (Agobj_t *obj, char *newname)
 
void agmethod_init (Agraph_t *g, void *obj)
 
void aginitcb (Agraph_t *g, void *obj, Agcbstack_t *cbstack)
 
void agmethod_upd (Agraph_t *g, void *obj, Agsym_t *sym)
 
void agupdcb (Agraph_t *g, void *obj, Agsym_t *sym, Agcbstack_t *cbstack)
 
void agmethod_delete (Agraph_t *g, void *obj)
 
void agdelcb (Agraph_t *g, void *obj, Agcbstack_t *cbstack)
 
Agraph_tagroot (void *obj)
 
Agraph_tagraphof (void *obj)
 
void agpushdisc (Agraph_t *g, Agcbdisc_t *cbd, void *state)
 
int agpopdisc (Agraph_t *g, Agcbdisc_t *cbd)
 
void * aggetuserptr (Agraph_t *g, Agcbdisc_t *cbd)
 
int agcontains (Agraph_t *g, void *obj)
 
int agobjkind (void *arg)
 

Function Documentation

int agcontains ( Agraph_t g,
void *  obj 
)

Definition at line 245 of file obj.c.

References AGID, agidnode(), AGNODE, agparent(), AGRAPH, agroot(), agsubedge(), and AGTYPE.

Referenced by interclexp(), and twopi_layout().

void agdelcb ( Agraph_t g,
void *  obj,
Agcbstack_t cbstack 
)
int agdelete ( Agraph_t g,
void *  obj 
)
void* aggetuserptr ( Agraph_t g,
Agcbdisc_t cbd 
)

Definition at line 235 of file obj.c.

References Agclos_s::cb, Agraph_s::clos, Agcbstack_s::f, NIL, Agcbstack_s::prev, and Agcbstack_s::state.

void aginitcb ( Agraph_t g,
void *  obj,
Agcbstack_t cbstack 
)
void agmethod_delete ( Agraph_t g,
void *  obj 
)
void agmethod_init ( Agraph_t g,
void *  obj 
)
void agmethod_upd ( Agraph_t g,
void *  obj,
Agsym_t sym 
)

Definition at line 107 of file obj.c.

References agrecord_callback(), agupdcb(), Agclos_s::callbacks_enabled, Agclos_s::cb, CB_UPDATE, and Agraph_s::clos.

Referenced by agxset().

int agobjkind ( void *  arg)

Definition at line 264 of file obj.c.

References AGTYPE.

Referenced by getObjId(), make_html_label(), make_label(), and setAttr().

int agpopdisc ( Agraph_t g,
Agcbdisc_t cbd 
)

Definition at line 213 of file obj.c.

References agfree(), Agclos_s::cb, Agraph_s::clos, Agcbstack_s::f, FAILURE, Agcbstack_s::prev, and SUCCESS.

Referenced by agclose().

void agpushdisc ( Agraph_t g,
Agcbdisc_t cbd,
void *  state 
)

Definition at line 202 of file obj.c.

References AGNEW, Agclos_s::cb, Agraph_s::clos, Agcbstack_s::f, Agcbstack_s::prev, and Agcbstack_s::state.

Referenced by main().

Agraph_t* agraphof ( void *  obj)
int agrename ( Agobj_t obj,
char *  newname 
)
Agraph_t* agroot ( void *  obj)
void agupdcb ( Agraph_t g,
void *  obj,
Agsym_t sym,
Agcbstack_t cbstack 
)