24 static long idmap(
void *state,
int objtype,
char *
str,
IDTYPE *
id,
47 static long idalloc(
void *state,
int objtype,
IDTYPE request)
55 static void idfree(
void *state,
int objtype,
IDTYPE id)
62 static char *idprint(
void *state,
int objtype,
IDTYPE id)
72 static void idclose(
void *state)
77 static void idregister(
void *state,
int objtype,
void *obj)
97 IDTYPE *result,
int createflag)
102 rv =
AGDISC(g,
id)->map(
AGCLOS(g,
id), objtype, str, result,
128 return AGDISC(g,
id)->alloc(
AGCLOS(g,
id), objtype, request);
154 if (
AGDISC(g,
id)->print) {
void aginternalmapinsert(Agraph_t *g, int objtype, char *str, IDTYPE result)
int agmapnametoid(Agraph_t *g, int objtype, char *str, IDTYPE *result, int allocflag)
void agregister(Agraph_t *g, int objtype, void *obj)
CGRAPH_API Agiddisc_t AgIdDisc
CGRAPH_API Agraph_t * agraphof(void *obj)
char * aginternalmapprint(Agraph_t *g, int objtype, IDTYPE id)
CGRAPH_API char * agnameof(void *)
int aginternalmaplookup(Agraph_t *g, int objtype, char *str, IDTYPE *result)
CGRAPH_API int agstrfree(Agraph_t *, char *)
CGRAPH_API char * agstrdup(Agraph_t *, char *)
void agfreeid(Agraph_t *g, int objtype, IDTYPE id)
int aginternalmapdelete(Agraph_t *g, int objtype, IDTYPE id)
int agallocid(Agraph_t *g, int objtype, IDTYPE request)
CGRAPH_API char * agstrbind(Agraph_t *g, char *)