#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <termios.h>
#include "sportident.h"
Go to the source code of this file.
Functions | |
int | OpenStation (const char *fd, si_station *station) |
A function to open a station connected to a tty device and initilize a si_control struct. |
This Program/Library is open source software; you may redistribute and/or modify it as long as the resulting program/library is under a FOSS license or with the approval of the authors or owning group
This Program is distributed in hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
This is a file is the implementtion of a OpenStation().
Definition in file openstation.c.
int OpenStation | ( | const char * | fd, | |
si_station * | station | |||
) |
A function to open a station connected to a tty device and initilize a si_control struct.
Be careful you must call MakeStation() on station or you must properly malloc() it.
fd | a character string of the fully qualified path | |
station | a pointer to a si_station struct to be saved to or initilized |
add more information to failure cases
implement test to check baud rate and extended mode
populate the rest of station
Definition at line 39 of file openstation.c.