1
0
mirror of git://projects.qi-hardware.com/wernermisc.git synced 2024-11-22 07:25:21 +02:00
wernermisc/qpkg
Werner Almesberger 64c70e77f4 qpkg: use "val" field of jrb nodes instead of keeping one in "struct id"
- id.h (struct id), id.c (make_id): remove field "value"
- gobble.c (compact_pkg, gobble_buf), prereq.c (list_all_packages,
  list_one_package, find_prereq): use id->jrb->val instead of id->value
2010-11-19 22:02:42 -03:00
..
gobble.c qpkg: use "val" field of jrb nodes instead of keeping one in "struct id" 2010-11-19 22:02:42 -03:00
gobble.h qpkg/: initial commit (sneak preview only, doesn't work properly yet) 2010-11-19 14:00:15 -03:00
id.c qpkg: use "val" field of jrb nodes instead of keeping one in "struct id" 2010-11-19 22:02:42 -03:00
id.h qpkg: use "val" field of jrb nodes instead of keeping one in "struct id" 2010-11-19 22:02:42 -03:00
jrb.c qpkg: use -Wmissing-prototypes 2010-11-19 20:51:49 -03:00
jrb.h qpkg: renamed "struct jrb_node" to "struct jrb" replaced JRB with "struct jrb *" 2010-11-19 20:48:49 -03:00
LICENSE.jrb qpkg: added James S. Plank's red-black trees 2010-11-19 19:17:47 -03:00
Makefile qpkg/Makefile (jlime): new target to build for the Ben under Jlime 2010-11-19 22:01:33 -03:00
prereq.c qpkg: use "val" field of jrb nodes instead of keeping one in "struct id" 2010-11-19 22:02:42 -03:00
prereq.h qpkg/: initial commit (sneak preview only, doesn't work properly yet) 2010-11-19 14:00:15 -03:00
qpkg.c qpkg: use "val" field of jrb nodes instead of keeping one in "struct id" 2010-11-19 22:02:42 -03:00
qpkg.h qpkg/: initial commit (sneak preview only, doesn't work properly yet) 2010-11-19 14:00:15 -03:00
rbtest.c qpkg: renamed "struct jrb_node" to "struct jrb" replaced JRB with "struct jrb *" 2010-11-19 20:48:49 -03:00
README.jrb qpkg: mention in jrb-related files that they've been heavily edited 2010-11-19 20:37:29 -03:00
TODO qpkg: converted dumb binary trees to red-black trees (in progress) 2010-11-19 21:53:38 -03:00
util.h qpkg/: initial commit (sneak preview only, doesn't work properly yet) 2010-11-19 14:00:15 -03:00

Libraries for fields, doubly-linked lists and red-black trees.
Copyright (C) 2001 James S. Plank

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

---------------------------------------------------------------------------
Please see http://www.cs.utk.edu/~plank/plank/classes/cs360/360/notes/Libfdr/
for instruction on how to use this library.

Jim Plank
plank@cs.utk.edu
http://www.cs.utk.edu/~plank

Associate Professor
Department of Computer Science
University of Tennessee
203 Claxton Complex
1122 Volunteer Blvd.
Knoxville, TN 37996-3450

     865-974-4397
Fax: 865-974-4404

=====

Heavily edited and reformatted to K&R style 2010 by Werner Almesberger