Plan 9 from Bell Labs’s /usr/web/sources/contrib/steve/root/sys/src/cmd/seft/heap.h

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


/*******************************************************************************
*
* Project:      seft (search engine for text)
*
* File:         heap.h
*
* Author:       Owen de Kretser ([email protected])
*
* Organisation: Dept. of CS&SE, University of Melbourne
*
* Date:         April 1999
*
* Purpose:      heap functions
*
*******************************************************************************/

#ifndef __HEAP
#define __HEAP

/***** #includes **************************************************************/

#include <stdio.h>
#include "types.h"

/***** Function Prototypes ****************************************************/

WORD**      heap_insert(WORD*, WORD**, int);
WORD**      heap_up(WORD**, int);
WORD*       heap_remove(WORD**, int *);
WORD**      heap_down(WORD**, int, int);

/******************************************************************************/

#endif

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].