/misc/src/release/graphviz-2.18-1/src/graphviz-2.18/lib/gvc/gvplugin.c File Reference

#include <string.h>
#include "memory.h"
#include "types.h"
#include "graph.h"
#include "gvplugin.h"
#include "gvcjob.h"
#include "gvcint.h"
#include "gvcproc.h"

Include dependency graph for gvplugin.c:

Go to the source code of this file.

Defines

#define ELEM(x)   #x,
#define TYPSIZ   63
#define TYPBUFSIZ   64

Functions

api_t gvplugin_api (char *str)
char * gvplugin_api_name (api_t api)
boolean gvplugin_install (GVC_t *gvc, api_t api, char *typestr, int quality, char *packagename, char *path, gvplugin_installed_t *typeptr)
gvplugin_library_tgvplugin_library_load (GVC_t *gvc, char *path)
gvplugin_available_tgvplugin_load (GVC_t *gvc, api_t api, char *str)
const char * gvplugin_list (GVC_t *gvc, api_t api, char *str)
void gvplugin_write_status (GVC_t *gvc)

Variables

const int Demand_Loading


Define Documentation

#define ELEM (  )     #x,

Definition at line 41 of file gvplugin.c.

#define TYPBUFSIZ   64

Referenced by gvplugin_load().

#define TYPSIZ   63

Referenced by gvplugin_install().


Function Documentation

api_t gvplugin_api ( char *  str  ) 

Definition at line 46 of file gvplugin.c.

References ARRAY_SIZE.

char* gvplugin_api_name ( api_t  api  ) 

Definition at line 58 of file gvplugin.c.

References ARRAY_SIZE, and NULL.

boolean gvplugin_install ( GVC_t gvc,
api_t  api,
char *  typestr,
int  quality,
char *  packagename,
char *  path,
gvplugin_installed_t typeptr 
)

Definition at line 70 of file gvplugin.c.

References GVC_s::apis, FALSE, GNEW, gvplugin_available_s::next, gvplugin_available_s::packagename, gvplugin_available_s::path, gvplugin_available_s::quality, TRUE, gvplugin_available_s::typeptr, gvplugin_available_s::typestr, and TYPSIZ.

Referenced by gvconfig().

gvplugin_library_t* gvplugin_library_load ( GVC_t gvc,
char *  path 
)

Definition at line 154 of file gvplugin.c.

References AGERR, agerr(), AGWARN, GVC_s::common, Demand_Loading, DIRSEP, free(), gmalloc(), grealloc(), gvconfig_libdir(), NULL, and GVCOMMON_s::verbose.

Referenced by gvplugin_load().

const char* gvplugin_list ( GVC_t gvc,
api_t  api,
char *  str 
)

Definition at line 370 of file gvplugin.c.

References GVC_s::apis, FALSE, free(), NULL, strcasecmp(), and TRUE.

Referenced by dotneato_args_initialize(), gvLayout(), gvplugin_write_status(), gvRender(), gvRenderData(), and gvRenderFilename().

gvplugin_available_t* gvplugin_load ( GVC_t gvc,
api_t  api,
char *  str 
)

Definition at line 253 of file gvplugin.c.

References GVC_s::api, gvplugin_api_t::api, gvplugin_library_t::apis, GVC_s::apis, GVC_s::common, gvplugin_library_load(), gvplugin_load(), NULL, gvplugin_available_s::packagename, gvplugin_library_t::packagename, gvplugin_available_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 gvjobs_output_langname(), gvlayout_select(), gvplugin_load(), gvrender_select(), and gvtextlayout_select().

void gvplugin_write_status ( GVC_t gvc  ) 

Definition at line 432 of file gvplugin.c.

References ARRAY_SIZE, GVC_s::common, GVC_s::config_found, GVC_s::config_path, Demand_Loading, gvplugin_list(), and GVCOMMON_s::verbose.

Referenced by gvParseArgs().


Variable Documentation

const int Demand_Loading

Definition at line 17 of file demand_loading.c.


Generated on Mon Mar 31 19:06:15 2008 for Graphviz by  doxygen 1.5.1