* build tweak for gx prototype
[deliverable/binutils-gdb.git] / sim / common / dv-sockser.h
CommitLineData
84c6d152
DE
1/* Serial port emulation via sockets.
2 Copyright (C) 1998, Free Software Foundation, Inc.
3
4This file is part of the GNU simulators.
5
6This program is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11This program is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License along
17with this program; if not, write to the Free Software Foundation, Inc.,
1859 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
19
20#ifndef DV_SOCKSER_H
21#define DV_SOCKSER_H
22
23/* bits in result of dev_sockser_status */
24#define DV_SOCKSER_INPUT_EMPTY 1
25#define DV_SOCKSER_OUTPUT_EMPTY 2
26
27/* FIXME: later add a device ptr arg */
28extern int dv_sockser_status (SIM_DESC);
29int dv_sockser_write (SIM_DESC, unsigned char);
30int dv_sockser_read (SIM_DESC);
31
32#endif /* DV_SOCKSER_H */
This page took 0.266021 seconds and 4 git commands to generate.