|
Graphviz
2.31.20130524.0447
|
#include <string.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.
Defines | |
| #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, 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 47 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 52 of file gvplugin.c.
References ARRAY_SIZE.
| char* gvplugin_api_name | ( | api_t | api | ) |
Definition at line 64 of file gvplugin.c.
References ARRAY_SIZE, and NULL.
Referenced by gvconfig_plugin_install_from_library().
Definition at line 505 of file gvplugin.c.
References aginit, agsetiodisc(), NULL, gvfwrite(), gvferror(), agraphattr, agnodeattr, NODENAME_ESC, agopen(), AGDIGRAPH, NIL, agattr(), AGRAPH, AGNODE, agfindgraphattr, agxset(), Agsym_t::index, GVC_s::packages, gvplugin_package_s::next, gvplugin_package_s::name, agsubg(), ARRAY_SIZE, GVC_s::apis, agnode(), agfindnodeattr, agfindnode, agedge(), free(), agdelete(), Agraph_t::meta_node, Agnode_t::graph, and agfindedge.
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 76 of file gvplugin.c.
References TYPSIZ, FALSE, GVC_s::apis, GNEW, gvplugin_available_s::next, gvplugin_available_s::typestr, gvplugin_available_s::quality, gvplugin_available_s::package, gvplugin_available_s::typeptr, and TRUE.
Referenced by gvconfig_plugin_install_from_library().
| gvplugin_library_t* gvplugin_library_load | ( | GVC_t * | gvc, |
| char * | path | ||
| ) |
Definition at line 160 of file gvplugin.c.
References GVC_s::common, GVCOMMON_s::demand_loading, NULL, gvconfig_libdir(), grealloc(), gmalloc(), DIRSEP, agerr(), AGERR, AGWARN, GVCOMMON_s::verbose, and free().
Referenced by gvconfig_plugin_install_from_library(), and gvplugin_load().
Definition at line 356 of file gvplugin.c.
References TRUE, NULL, agxbinit(), GVC_s::apis, strcasecmp(), agxbputc, agxbput(), FALSE, free(), and agxbuse.
Referenced by dotneato_args_initialize(), gvLayout(), gvRender(), gvRenderFilename(), gvRenderContext(), gvRenderData(), gvLayoutJobs(), and gvplugin_write_status().
| gvplugin_available_t* gvplugin_load | ( | GVC_t * | gvc, |
| api_t | api, | ||
| const char * | str | ||
| ) |
Definition at line 259 of file gvplugin.c.
References TYPBUFSIZ, NULL, GVC_s::apis, gvplugin_load(), gvplugin_available_s::typeptr, gvplugin_library_load(), gvplugin_available_s::package, gvplugin_package_s::path, gvplugin_library_t::apis, gvplugin_api_t::types, gvplugin_installed_t::type, gvplugin_api_t::api, gvplugin_library_t::packagename, GVC_s::common, GVCOMMON_s::verbose, gvplugin_available_s::typestr, gvplugin_package_s::name, and GVC_s::api.
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 479 of file gvplugin.c.
References GVC_s::common, GVCOMMON_s::demand_loading, GVC_s::config_path, GVC_s::config_found, ARRAY_SIZE, GVCOMMON_s::verbose, and gvplugin_list().
Referenced by gvParseArgs().
| char** gvPluginList | ( | GVC_t * | gvc, |
| char * | kind, | ||
| int * | sz, | ||
| const char * | str | ||
| ) |
Definition at line 442 of file gvplugin.c.
References NULL, ARRAY_SIZE, strcasecmp(), agerr(), AGERR, GVC_s::apis, and RALLOC.
| int strcasecmp | ( | const char * | s1, |
| const char * | s2 | ||
| ) |
Definition at line 23 of file strcasecmp.c.
1.7.5