/* needs to know if "dot -c" is set (gvc->common.config) */
/* must happen before trying to select any plugins */
if (gvc->common.config) {
- gvconfig(gvc, gvc->common.config);
+ gvconfig(gvc, gvc->common.config != FALSE);
exit (0);
}
agattr(NULL, AGNODE, "label", NODENAME_ESC);
/* default to no builtins, demand loading enabled */
gvc = gvNEWcontext(NULL, TRUE);
- gvconfig(gvc, FALSE); /* configure for available plugins */
+ gvconfig(gvc, false); /* configure for available plugins */
return gvc;
}
agattr(NULL, AGNODE, "label", NODENAME_ESC);
gvc = gvNEWcontext(builtins, demand_loading);
- gvconfig(gvc, FALSE); /* configure for available plugins */
+ gvconfig(gvc, false); /* configure for available plugins */
return gvc;
}
/*
gvconfig - parse a config file and install the identified plugins
*/
-void gvconfig(GVC_t * gvc, boolean rescan)
+void gvconfig(GVC_t * gvc, bool rescan)
{
#ifdef ENABLE_LTDL
int rc;
/* configuration */
char *gvconfig_libdir(GVC_t * gvc);
- void gvconfig(GVC_t * gvc, boolean rescan);
+ void gvconfig(GVC_t * gvc, bool rescan);
char *gvhostname(void);
/* plugins */