libiio
0.11
Library for interfacing with IIO devices
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Enumerations
Modules
iio-lock.h
1
/*
2
* libiio - Library for interfacing industrial I/O (IIO) devices
3
*
4
* Copyright (C) 2015 Analog Devices, Inc.
5
* Author: Paul Cercueil <paul.cercueil@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_LOCK_H
20
#define _IIO_LOCK_H
21
22
struct
iio_mutex;
23
24
struct
iio_mutex * iio_mutex_create(
void
);
25
void
iio_mutex_destroy(
struct
iio_mutex *lock);
26
27
void
iio_mutex_lock(
struct
iio_mutex *lock);
28
void
iio_mutex_unlock(
struct
iio_mutex *lock);
29
30
#endif
/* _IIO_LOCK_H */
Generated on Thu Jan 11 2018 02:52:22 for libiio by
1.8.8