|
Graphviz
2.31.20130618.0446
|
00001 /* $Id$ $Revision$ */ 00002 /* vim:set shiftwidth=4 ts=8: */ 00003 00004 /************************************************************************* 00005 * Copyright (c) 2011 AT&T Intellectual Property 00006 * All rights reserved. This program and the accompanying materials 00007 * are made available under the terms of the Eclipse Public License v1.0 00008 * which accompanies this distribution, and is available at 00009 * http://www.eclipse.org/legal/epl-v10.html 00010 * 00011 * Contributors: See CVS logs. Details at http://www.graphviz.org/ 00012 *************************************************************************/ 00013 00014 #ifdef __cplusplus 00015 extern "C" { 00016 #endif 00017 00018 #ifndef NODESET_H 00019 #define NODESET_H 00020 00021 #include <render.h> 00022 00023 typedef struct { 00024 Dtlink_t link; 00025 Agnode_t *np; 00026 } nsitem_t; 00027 00028 typedef Dt_t nodeset_t; 00029 00030 extern nodeset_t *mkNodeset(void); 00031 extern void freeNodeset(nodeset_t *); 00032 extern void clearNodeset(nodeset_t *); 00033 extern void insertNodeset(nodeset_t * ns, Agnode_t * n); 00034 extern void removeNodeset(nodeset_t *, Agnode_t * n); 00035 extern int sizeNodeset(nodeset_t * ns); 00036 00037 #ifdef DEBUG 00038 extern void printNodeset(nodeset_t *); 00039 #endif 00040 00041 #endif 00042 00043 #ifdef __cplusplus 00044 } 00045 #endif
1.7.5