GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PhkBinheap(3) FreeBSD Library Functions Manual PhkBinheap(3)

PhkBinHeap*, —
Binary heap implementation

#include <phk_binheap.h>

typedef int phkbinheap_cmp_t (void *priv, void *a, void *b);


typedef void phkbinheap_update_t(void *priv, void *a, unsigned newidx);


struct phkbinheap *
PhkBinHeapNew(void *priv, phkbinheap_cmp_t, phkbinheap_update_t);

int
PhkBinHeapInsert(struct phkbinheap *, void *);

void
PhkBinHeapDelete(struct phkbinheap *, unsigned idx);

void *
PhkBinHeapRoot(struct phkbinheap *);

These functions implement an ordered binary heap.

libphk(3)

Written by Poul-Henning Kamp for the Varnish HTTP accellerator, now part of libphk.
September 9, 2006 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.