return SUCCESS;
}
-int agsafeset(void *obj, char *name, char *value, char *def)
-{
+int agsafeset(void *obj, char *name, const char *value, const char *def) {
Agsym_t *a;
a = agattr(agraphof(obj), AGTYPE(obj), name, 0);
CGRAPH_API char *agxget(void *obj, Agsym_t * sym);
CGRAPH_API int agset(void *obj, char *name, const char *value);
CGRAPH_API int agxset(void *obj, Agsym_t * sym, const char *value);
-CGRAPH_API int agsafeset(void* obj, char* name, char* value, char* def);
+CGRAPH_API int agsafeset(void* obj, char* name, const char* value,
+ const char* def);
/* definitions for subgraphs */
CGRAPH_API Agraph_t *agsubg(Agraph_t * g, char *name, int cflag); /* constructor */