Graphviz
13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
gvcext.h
Go to the documentation of this file.
1
3
/*************************************************************************
4
* Copyright (c) 2011 AT&T Intellectual Property
5
* All rights reserved. This program and the accompanying materials
6
* are made available under the terms of the Eclipse Public License v1.0
7
* which accompanies this distribution, and is available at
8
* https://www.eclipse.org/legal/epl-v10.html
9
*
10
* Contributors: Details at https://graphviz.org
11
*************************************************************************/
12
13
/* Common header used by both clients and plugins */
14
15
#pragma once
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
/*
22
* Define an apis array of name strings using an enumerated api_t as index.
23
* The enumerated type is defined here. The apis array is
24
* inititialized in gvplugin.c by redefining ELEM and reinvoking APIS.
25
*/
26
#define APIS ELEM(render) ELEM(layout) ELEM(textlayout) ELEM(device) ELEM(loadimage)
27
28
/*
29
* Define api_t using names based on the plugin names with API_ prefixed.
30
*/
31
#define ELEM(x) API_##x,
32
typedef
enum
{
APIS
}
api_t
;
/* API_render, API_layout, ... */
33
#undef ELEM
34
35
typedef
struct
GVJ_s
GVJ_t
;
36
typedef
struct
GVG_s
GVG_t
;
37
typedef
struct
GVC_s
GVC_t
;
38
39
typedef
struct
{
40
const
char
*
name
;
41
void
*
address
;
42
}
lt_symlist_t
;
43
44
typedef
struct
gvplugin_available_s
gvplugin_available_t
;
45
46
#if !defined(LTDL_H)
47
extern
lt_symlist_t
lt_preloaded_symbols
[];
48
#endif
49
50
#ifdef __cplusplus
51
}
52
#endif
lt_preloaded_symbols
lt_symlist_t lt_preloaded_symbols[]
Definition
dot_builtins.cpp:38
APIS
#define APIS
Definition
gvcext.h:26
api_t
api_t
Definition
gvcext.h:32
GVC_s
Definition
gvcint.h:80
GVG_s
Definition
gvcint.h:69
GVJ_s
Definition
gvcjob.h:262
gvplugin_available_s
Definition
gvcint.h:59
lt_symlist_t
Definition
gvcext.h:39
lt_symlist_t::name
const char * name
Definition
gvcext.h:40
lt_symlist_t::address
void * address
Definition
gvcext.h:41
lib
gvc
gvcext.h
Generated by
1.9.8