Graphviz  2.41.20170921.2350
edgelist.h
Go to the documentation of this file.
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 EDGELIST_H
19 #define EDGELIST_H
20 
21 #include <render.h>
22 
23  typedef struct edgelistitem {
26  } edgelistitem;
27 
28  typedef Dt_t edgelist;
29 
30  extern edgelist *init_edgelist(void);
31  extern void add_edge(edgelist * list, Agedge_t * e);
32  extern void remove_edge(edgelist * list, Agedge_t * e);
33  extern void free_edgelist(edgelist * list);
34  extern int size_edgelist(edgelist * list);
35 #ifdef DEBUG
36  extern void print_edge(edgelist *);
37 #endif
38 
39 #endif
40 
41 #ifdef __cplusplus
42 }
43 #endif
Agedge_t * edge
Definition: edgelist.h:25
void add_edge(edgelist *list, Agedge_t *e)
Definition: edgelist.c:65
int size_edgelist(edgelist *list)
Definition: edgelist.c:97
void remove_edge(edgelist *list, Agedge_t *e)
Definition: edgelist.c:73
void free_edgelist(edgelist *list)
Definition: edgelist.c:60
Dtlink_t link
Definition: edgelist.h:24
struct edgelistitem edgelistitem
Dt_t edgelist
Definition: edgelist.h:28
Definition: cdt.h:99
edgelist * init_edgelist()
Definition: edgelist.c:54