Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
gvconfig.c File Reference
#include "config.h"
#include <assert.h>
#include <cgraph/agxbuf.h>
#include <cgraph/alloc.h>
#include <cgraph/exit.h>
#include <cgraph/gv_ctype.h>
#include <cgraph/startswith.h>
#include <gvc/gvconfig.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <util/gv_fopen.h>
#include <common/const.h>
#include <common/types.h>
#include <gvc/gvplugin.h>
#include <gvc/gvcjob.h>
#include <gvc/gvcint.h>
#include <gvc/gvcproc.h>
Include dependency graph for gvconfig.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE   1
 

Functions

void textfont_dict_open (GVC_t *gvc)
 
static gvplugin_package_tgvplugin_package_record (GVC_t *gvc, const char *package_path, const char *name)
 
void gvconfig_plugin_install_from_library (GVC_t *gvc, char *package_path, gvplugin_library_t *library)
 
static void gvconfig_plugin_install_builtins (GVC_t *gvc)
 
void gvconfig (GVC_t *gvc, bool rescan)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE   1

Definition at line 14 of file gvconfig.c.

Function Documentation

◆ gvconfig()

void gvconfig ( GVC_t gvc,
bool  rescan 
)

Definition at line 550 of file gvconfig.c.

References agerrorf(), agxbdisown(), agxbprint(), GVC_s::common, GVC_s::config_found, GVC_s::config_path, GVCOMMON_s::demand_loading, DIRSEP, free(), gv_alloc(), gvc, gvconfig_libdir(), gvconfig_plugin_install_builtins(), gvtextlayout_select(), NULL, textfont_dict_open(), and GVC_s::textfont_dt.

Referenced by dotneato_args_initialize(), gvContext(), and gvContextPlugins().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvconfig_plugin_install_builtins()

static void gvconfig_plugin_install_builtins ( GVC_t gvc)
static

Definition at line 233 of file gvconfig.c.

References GVCOMMON_s::builtins, GVC_s::common, gvc, gvconfig_plugin_install_from_library(), s::name, and NULL.

Referenced by gvconfig().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvconfig_plugin_install_from_library()

void gvconfig_plugin_install_from_library ( GVC_t gvc,
char *  package_path,
gvplugin_library_t library 
)

Definition at line 217 of file gvconfig.c.

References gvplugin_api_t::api, gvplugin_library_t::apis, apis, gvc, gvplugin_install(), gvplugin_installed_t::quality, gvplugin_installed_t::type, and gvplugin_api_t::types.

Referenced by gvAddLibrary(), and gvconfig_plugin_install_builtins().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ gvplugin_package_record()

static gvplugin_package_t * gvplugin_package_record ( GVC_t gvc,
const char *  package_path,
const char *  name 
)
static

Definition at line 97 of file gvconfig.c.

References agerrorf(), gv_strdup(), gvc, gvplugin_api(), gvplugin_install(), NULL, GVC_s::packages, gvplugin_package_s::path, and type.

Here is the call graph for this function:

◆ textfont_dict_open()

void textfont_dict_open ( GVC_t gvc)
extern

Definition at line 160 of file textspan.c.

Referenced by gvconfig().

Here is the caller graph for this function: