mirror of https://github.com/citusdata/citus.git
28 lines
669 B
C
28 lines
669 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* listutils.h
|
|
*
|
|
* Declarations for public utility functions related to lists.
|
|
*
|
|
* Copyright (c) 2014-2016, Citus Data, Inc.
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef CITUS_LISTUTILS_H
|
|
#define CITUS_LISTUTILS_H
|
|
|
|
#include "postgres.h"
|
|
#include "c.h"
|
|
|
|
#include "nodes/pg_list.h"
|
|
|
|
|
|
/* utility functions declaration shared within this module */
|
|
extern List * SortList(List *pointerList,
|
|
int (*ComparisonFunction)(const void *, const void *));
|
|
extern void ** PointerArrayFromList(List *pointerList);
|
|
|
|
|
|
#endif /* CITUS_LISTUTILS_H */
|