plptools
Loading...
Searching...
No Matches
mp_serial.h
Go to the documentation of this file.
1/*
2 * This file is part of plptools.
3 *
4 * Copyright (C) 1999 Philip Proudman <philip.proudman@btinternet.com>
5 * Copyright (C) 1999-2001 Fritz Elfert <felfert@to.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program 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
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License along
18 * along with this program; if not, see <https://www.gnu.org/licenses/>.
19 *
20 */
21#ifndef _mp_serial_h
22#define _mp_serial_h
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27int init_serial(const char *dev, int speed, int debug);
28void ser_exit(int fd);
29#ifdef __cplusplus
30}
31#endif
32
33#endif
int debug
Definition: fuse.c:47
void ser_exit(int fd)
Definition: mp_serial.c:172
int init_serial(const char *dev, int speed, int debug)
Definition: mp_serial.c:58