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
15extern "C" {
16#endif
17
18#ifndef DEGLIST_H
19#define DEGLIST_H
20
21/* List of nodes sorted by increasing degree */
22
23#include <render.h>
24
25 typedef Dt_t deglist_t;
26
27 extern deglist_t *mkDeglist(void);
28 extern void freeDeglist(deglist_t * list);
29 extern void insertDeglist(deglist_t * list, Agnode_t * n);
30 extern void removeDeglist(deglist_t * list, Agnode_t * n);
31 extern Agnode_t *firstDeglist(deglist_t *);
32
33#ifdef DEBUG
34 extern void printDeglist(deglist_t *);
35#endif
36
37#endif
38
39#ifdef __cplusplus
40}
41#endif
42