MobilityDB 1.3
Loading...
Searching...
No Matches
Macros | Functions
skiplist.h File Reference
#include <postgres.h>
#include <meos.h>
#include "temporal/temporal.h"

Go to the source code of this file.

Macros

#define DatumGetSkipListP(X)   ((SkipList *) DatumGetPointer(X))
 Skiplist data structure used for performing temporal aggregates. More...
 
#define PG_GETARG_SKIPLIST_P(n)   DatumGetSkipListP(PG_GETARG_DATUM(n))
 
#define PG_RETURN_SKIPLIST_P(x)   return SkipListPGetDatum(x)
 
#define SkipListPGetDatum(X)   PointerGetDatum(X)
 

Functions

bool ensure_same_skiplist_subtype (SkipList *state, uint8 subtype)
 
void * skiplist_headval (SkipList *list)
 Return the value at the head of the skiplist. More...
 
void skiplist_set_extra (SkipList *state, void *data, size_t size)
 Reads the state value from the buffer. More...