1 /*
2  * libiio - Library for interfacing industrial I/O (IIO) devices
3  *
4  * Copyright (C) 2018 Analog Devices, Inc.
5  * Author: Robin Getz <robin.getz@analog.com>
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * */
18 
19 #ifndef __IIO_QSORT_H__
20 #define __IIO_QSORT_H__
21 
22 int iio_channel_compare(const void *p1, const void *p2);
23 int iio_channel_attr_compare(const void *p1, const void *p2);
24 int iio_device_compare(const void *p1, const void *p2);
25 int iio_device_attr_compare(const void *p1, const void *p2);
26 int iio_buffer_attr_compare(const void *p1, const void *p2);
27 
28 #endif /* __IIO_QSORT_H__ */
29