This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/mbsebbs-code-361e3323ef16e6d9c51e83748a5843a3b34b7f64/mbtask/ports.h
vbcoen 6a6a253885 Updated mbmon.c & mbsetup.c
Added doc dir. and manual as .pdf
restored deleted files - yep I screwed the pooch.
2015-11-03 20:41:11 +00:00

30 lines
706 B
C

#ifndef _PORTS_H
#define _PORTS_H
/* $Id: ports.h,v 1.4 2006/02/04 13:39:51 mbse Exp $ */
/*
* Linked list of available dialout ports.
*/
typedef struct _pp_list {
struct _pp_list *next;
char tty[7]; /* tty name of the port */
unsigned int mflags; /* Analogue modem flags */
unsigned int dflags; /* ISDN flags */
int locked; /* If port is locked */
int locktime; /* Time it is locked */
} pp_list;
struct _ttyinfohdr ttyinfohdr; /* TTY lines */
struct _ttyinfo ttyinfo;
void load_ports(void); /* Initialize portlist */
void unload_ports(void); /* Deinitialize portlist */
void check_ports(void); /* Check status of all ports */
#endif