Graphviz
2.41.20171026.1811
|
#include "config.h"
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <compat_unistd.h>
#include <agxbuf.h>
#include "memory.h"
#include "types.h"
#include "gvplugin.h"
#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"
#include "gvio.h"
#include "const.h"
Go to the source code of this file.
Macros | |
#define | ELEM(x) #x, |
#define | TYPSIZ 63 |
#define | TYPBUFSIZ 64 |
Functions | |
int | strcasecmp (const char *s1, const char *s2) |
api_t | gvplugin_api (char *str) |
char * | gvplugin_api_name (api_t api) |
boolean | gvplugin_install (GVC_t *gvc, api_t api, const char *typestr, int quality, gvplugin_package_t *package, gvplugin_installed_t *typeptr) |
gvplugin_library_t * | gvplugin_library_load (GVC_t *gvc, char *path) |
gvplugin_available_t * | gvplugin_load (GVC_t *gvc, api_t api, const char *str) |
char * | gvplugin_list (GVC_t *gvc, api_t api, const char *str) |
char ** | gvPluginList (GVC_t *gvc, const char *kind, int *sz, const char *str) |
void | gvplugin_write_status (GVC_t *gvc) |
Agraph_t * | gvplugin_graph (GVC_t *gvc) |
#define ELEM | ( | x | ) | #x, |
Definition at line 53 of file gvplugin.c.
#define TYPBUFSIZ 64 |
Referenced by gvplugin_load().
#define TYPSIZ 63 |
Referenced by gvplugin_install().
api_t gvplugin_api | ( | char * | str | ) |
Definition at line 59 of file gvplugin.c.
References ARRAY_SIZE.
char* gvplugin_api_name | ( | api_t | api | ) |
Definition at line 71 of file gvplugin.c.
References ARRAY_SIZE, and NULL.
Referenced by gvconfig_plugin_install_from_library().
Definition at line 490 of file gvplugin.c.
References agattr(), Agdirected, AGEDGE, agedge(), agfindedge, agfindedgeattr, agfindgraphattr, agfindnode, agfindnodeattr, AGNODE, agnode(), agopen(), AGRAPH, agsubg(), agxset(), GVC_s::apis, ARRAY_SIZE, gvplugin_package_s::name, gvplugin_package_s::next, NIL, NODENAME_ESC, NULL, and GVC_s::packages.
Referenced by dotneato_args_initialize().
boolean gvplugin_install | ( | GVC_t * | gvc, |
api_t | api, | ||
const char * | typestr, | ||
int | quality, | ||
gvplugin_package_t * | package, | ||
gvplugin_installed_t * | typeptr | ||
) |
Definition at line 83 of file gvplugin.c.
References GVC_s::apis, GNEW, gvplugin_available_s::next, gvplugin_available_s::package, gvplugin_available_s::quality, TRUE, gvplugin_available_s::typeptr, gvplugin_available_s::typestr, and TYPSIZ.
Referenced by gvconfig_plugin_install_from_library().
gvplugin_library_t* gvplugin_library_load | ( | GVC_t * | gvc, |
char * | path | ||
) |
Definition at line 158 of file gvplugin.c.
References agerr(), AGERR, AGWARN, GVC_s::common, GVCOMMON_s::demand_loading, DIRSEP, gmalloc(), grealloc(), gvconfig_libdir(), NULL, and GVCOMMON_s::verbose.
Referenced by gvconfig_plugin_install_from_library(), and gvplugin_load().
Definition at line 342 of file gvplugin.c.
References agxbinit(), agxbput(), agxbputc, agxbuse, GVC_s::apis, FALSE, NULL, strcasecmp(), and TRUE.
Referenced by dotneato_args_initialize(), graphcmd(), gvLayout(), gvLayoutJobs(), gvplugin_write_status(), gvRender(), gvRenderContext(), gvRenderData(), gvRenderFilename(), and tcldot_layout().
gvplugin_available_t* gvplugin_load | ( | GVC_t * | gvc, |
api_t | api, | ||
const char * | str | ||
) |
Definition at line 262 of file gvplugin.c.
References gvplugin_api_t::api, GVC_s::api, gvplugin_library_t::apis, GVC_s::apis, GVC_s::common, gvplugin_library_load(), gvplugin_load(), gvplugin_package_s::name, NULL, gvplugin_available_s::package, gvplugin_library_t::packagename, gvplugin_package_s::path, TYPBUFSIZ, gvplugin_installed_t::type, gvplugin_available_s::typeptr, gvplugin_api_t::types, gvplugin_available_s::typestr, and GVCOMMON_s::verbose.
Referenced by gvconfig_plugin_install_from_library(), gvjobs_output_langname(), gvlayout_select(), gvplugin_load(), gvrender_select(), and gvtextlayout_select().
void gvplugin_write_status | ( | GVC_t * | gvc | ) |
Definition at line 465 of file gvplugin.c.
References ARRAY_SIZE, GVC_s::common, GVC_s::config_found, GVC_s::config_path, GVCOMMON_s::demand_loading, gvplugin_list(), and GVCOMMON_s::verbose.
Referenced by gvParseArgs().
Definition at line 427 of file gvplugin.c.
References agerr(), AGERR, GVC_s::apis, ARRAY_SIZE, NULL, RALLOC, and strcasecmp().
int strcasecmp | ( | const char * | s1, |
const char * | s2 | ||
) |
Definition at line 21 of file strcasecmp.c.