Skip to content

File broker_max_heap.h

FileList > broker > broker_max_heap.h

Go to the source code of this file

  • #include <time.h>
  • #include "cas_common.h"
  • #include "broker_msg.h"
  • #include "cas_protocol.h"

Classes

Type Name
struct t_max_heap_node

Public Types

Type Name
typedef struct t_max_heap_node T_MAX_HEAP_NODE

Public Functions

Type Name
int max_heap_change_priority (T_MAX_HEAP_NODE * max_heap, int id, int new_priority)
int max_heap_delete (T_MAX_HEAP_NODE * max_heap, T_MAX_HEAP_NODE * ret)
void max_heap_incr_priority (T_MAX_HEAP_NODE * max_heap)
int max_heap_insert (T_MAX_HEAP_NODE * max_heap, int max_heap_size, T_MAX_HEAP_NODE * item)

Public Types Documentation

typedef T_MAX_HEAP_NODE

typedef struct t_max_heap_node T_MAX_HEAP_NODE;

Public Functions Documentation

function max_heap_change_priority

int max_heap_change_priority (
    T_MAX_HEAP_NODE * max_heap,
    int id,
    int new_priority
) 

function max_heap_delete

int max_heap_delete (
    T_MAX_HEAP_NODE * max_heap,
    T_MAX_HEAP_NODE * ret
) 

function max_heap_incr_priority

void max_heap_incr_priority (
    T_MAX_HEAP_NODE * max_heap
) 

function max_heap_insert

int max_heap_insert (
    T_MAX_HEAP_NODE * max_heap,
    int max_heap_size,
    T_MAX_HEAP_NODE * item
) 


The documentation for this class was generated from the following file cubrid/src/broker/broker_max_heap.h