1 | /* $Id$ $Revision$ */ |
2 | /* vim:set shiftwidth=4 ts=8: */ |
3 | |
4 | /************************************************************************* |
5 | * Copyright (c) 2011 AT&T Intellectual Property |
6 | * All rights reserved. This program and the accompanying materials |
7 | * are made available under the terms of the Eclipse Public License v1.0 |
8 | * which accompanies this distribution, and is available at |
9 | * http://www.eclipse.org/legal/epl-v10.html |
10 | * |
11 | * Contributors: See CVS logs. Details at http://www.graphviz.org/ |
12 | *************************************************************************/ |
13 | |
14 | #ifdef __cplusplus |
15 | extern "C" { |
16 | #endif |
17 | |
18 | #ifndef CONVERT_H |
19 | #define CONVERT_H |
20 | |
21 | #include "config.h" |
22 | |
23 | #include <stdio.h> |
24 | #include <stdlib.h> |
25 | #include <string.h> |
26 | |
27 | #include "cgraph.h" |
28 | #include "cghdr.h" |
29 | |
30 | #ifdef _WIN32 |
31 | #define strdup(x) _strdup(x) |
32 | #endif |
33 | |
34 | extern void gv_to_gxl(Agraph_t *, FILE *); |
35 | #ifdef HAVE_EXPAT |
36 | extern Agraph_t *gxl_to_gv(FILE *); |
37 | #endif |
38 | |
39 | #endif |
40 | |
41 | #ifdef __cplusplus |
42 | } |
43 | #endif |
44 | |