mirror of
https://github.com/versity/scoutfs.git
synced 2026-04-23 23:10:31 +00:00
Bring back sort_priv, we have need for sorting with a caller argument. Signed-off-by: Zach Brown <zab@versity.com>
9 lines
264 B
C
9 lines
264 B
C
#ifndef _SCOUTFS_SORT_PRIV_H_
|
|
#define _SCOUTFS_SORT_PRIV_H_
|
|
|
|
void sort_priv(void *priv, void *base, size_t num, size_t size,
|
|
int (*cmp_func)(void *priv, const void *, const void *),
|
|
void (*swap_func)(void *priv, void *, void *, int size));
|
|
|
|
#endif
|