aboutsummaryrefslogtreecommitdiff
path: root/src/transaction-heap.h
blob: 43eeea32139a288b0899c941c0cd3e6c2dfc6554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// transaction-heap.h
#ifndef INCLUDED_TRANSACTION_HEAP_H
#define INCLUDED_TRANSACTION_HEAP_H

#include <stdint.h>

#include "transaction.h"

struct transaction_heap {
  struct transaction array[100];
  int count;
};

void transaction_heap__pop  (struct transaction_heap *);
void transaction_heap__push (struct transaction_heap *, struct transaction);

#endif // INCLUDED_TRANSACTION_HEAP_H
// transaction-heap.h ends here