File: gen_code.h

package info (click to toggle)
libiio 0.26-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,832 kB
  • sloc: ansic: 21,880; python: 1,844; cs: 1,232; sh: 1,062; cpp: 688; yacc: 441; xml: 192; lex: 172; makefile: 40
file content (23 lines) | stat: -rw-r--r-- 754 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * libiio - Library for interfacing industrial I/O (IIO) devices
 *
 * Copyright (C) 2014, 2019 Analog Devices, Inc.
 * Author: Paul Cercueil <paul.cercueil@analog.com>
 *         Robin Getz <robin.getz@analog.com>
 */

#ifndef GEN_CODE_H
#define GEN_CODE_H

void gen_start(const char *gen_file);
bool gen_test_path(const char *gen_file);
void gen_context (const char *uri);
void gen_context_destroy(void);
void gen_context_attr(const char *key);
void gen_dev(const struct iio_device *dev);
void gen_ch(const struct iio_channel *ch);
void gen_function(const char* prefix, const char* target,
                const char* attr, const char* wbuf);
void gen_context_timeout(unsigned int timeout_ms);
#endif