~ubuntu-branches/debian/sid/varnish/sid

« back to all changes in this revision

Viewing changes to include/binary_heap.h

  • Committer: Bazaar Package Importer
  • Author(s): Stig Sandbeck Mathisen
  • Date: 2011-03-21 10:16:07 UTC
  • mfrom: (24.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20110321101607-528fzl583fqanas5
Tags: 2.1.5-2
ReleaseĀ forĀ unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27
27
 * SUCH DAMAGE.
28
28
 *
29
 
 * $Id: binary_heap.h 4025 2009-04-03 21:52:44Z des $
 
29
 * $Id$
30
30
 *
31
31
 * Binary Heap API (see: http://en.wikipedia.org/wiki/Binary_heap)
32
32
 *
63
63
         * Insert an item
64
64
         */
65
65
 
 
66
void binheap_reorder(struct binheap *, unsigned idx);
 
67
        /*
 
68
         * Move an order after changing its key value.
 
69
         */
 
70
 
66
71
void binheap_delete(struct binheap *, unsigned idx);
67
72
        /*
68
73
         * Delete an item