introducing files
This commit is contained in:
parent
d8efdfa0c7
commit
40607b98aa
7 changed files with 379 additions and 0 deletions
26
tty.c
Normal file
26
tty.c
Normal file
|
@ -0,0 +1,26 @@
|
|||
#include "moxerver_include.h"
|
||||
|
||||
|
||||
/* Opens the tty device and configures it. */
|
||||
int tty_open(struct tty_t *tty_dev) {
|
||||
return 0;
|
||||
}
|
||||
/* Closes the tty device. */
|
||||
int tty_close(struct tty_t *tty_dev) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Reconfigures the tty device. */
|
||||
int tty_reconfigure(struct tty_t *tty_dev, struct termios newttyset) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Reads incoming data from tty device to tty data buffer. */
|
||||
int tty_read(struct tty_t *tty_dev) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Sends data from a buffer to tty device. */
|
||||
int tty_write(struct tty_t *tty_dev, char *databuf, int datalen) {
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue