Graphviz  2.41.20171026.1811
nodeset.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 NODESET_H
19 #define NODESET_H
20 
21 #include <render.h>
22 
23  typedef struct {
26  } nsitem_t;
27 
28  typedef Dt_t nodeset_t;
29 
30  extern nodeset_t *mkNodeset(void);
31  extern void freeNodeset(nodeset_t *);
32  extern void clearNodeset(nodeset_t *);
33  extern void insertNodeset(nodeset_t * ns, Agnode_t * n);
34  extern void removeNodeset(nodeset_t *, Agnode_t * n);
35  extern int sizeNodeset(nodeset_t * ns);
36 
37 #ifdef DEBUG
38  extern void printNodeset(nodeset_t *);
39 #endif
40 
41 #endif
42 
43 #ifdef __cplusplus
44 }
45 #endif
void printNodeset(nodeset_t *ns)
Definition: nodeset.c:112
Dtlink_t link
Definition: nodeset.h:24
int sizeNodeset(nodeset_t *ns)
Definition: nodeset.c:103
void freeNodeset(nodeset_t *s)
Definition: nodeset.c:67
void clearNodeset(nodeset_t *s)
Definition: nodeset.c:76
Agnode_t * np
Definition: nodeset.h:25
nodeset_t * mkNodeset()
Definition: nodeset.c:57
void insertNodeset(nodeset_t *ns, Agnode_t *n)
Definition: nodeset.c:84
Definition: cdt.h:99
void removeNodeset(nodeset_t *ns, Agnode_t *n)
Definition: nodeset.c:92
Dt_t nodeset_t
Definition: nodeset.h:28