rbsb.c File Reference

#include <sys/types.h>
#include <sys/stat.h>
#include <termio.h>
#include <sys/ioctl.h>
#include <string.h>
#include "zmodem.h"

Include dependency graph for rbsb.c:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define OS   "SYS III/V"
#define MODE2OK
#define CANBREAK

Functions

 _PROTOTYPE (static unsigned getspeed,(int code))
void from_cu ()
void cucheck ()
static unsigned getspeed (int code)
int mode (int n)
void sendbrk ()

Variables

int Fromcu
struct {
   char *   f_name
   FILE *   f_fp
   int   f_type
   char *   word
   int   type
   int   val
   char *   name
   CMD   code
   void(*   fn )()
   ARGT   argt
   char *   name
   char *   nm
   char   type
   char   flags
   char *   value
   const char *   name
   signed char   fat_bits
   int   tracks
   unsigned short   heads
   unsigned short   sectors
   device_t *   dev
   int   nr_partitions
   int   free_regions
   int   used_regions
   int   sectors
   int   nr_regions
   int   biosdrive
   region_t   regions [NR_REGIONS]
   int   this_month
   int   feb
   int   sept
   int   days_in_month
   int   dow_first
   int   o_file
   int   o_field
   WINDOW *   win
   char   erase
   char   kill
   char   werase
   unsigned   baudr
   int   speedcode
   u16_t   vendor
   u16_t   device
speeds []
int Twostop
sgttyb oldtty tty
tchars oldtch tch
int iofd = 0


Define Documentation

#define CANBREAK
 

#define MODE2OK
 

Definition at line 46 of file rbsb.c.

#define OS   "SYS III/V"
 

Definition at line 45 of file rbsb.c.

Referenced by main(), and usage().


Function Documentation

_PROTOTYPE static unsigned  getspeed,
(int code
 

void cucheck  ) 
 

Definition at line 74 of file rbsb.c.

References fprintf(), and stderr.

Referenced by bibi(), main(), and usage().

void from_cu  ) 
 

Definition at line 65 of file rbsb.c.

References a, b, and fstat.

Referenced by main().

static unsigned getspeed int  code  )  [static]
 

Definition at line 141 of file rbsb.c.

References baudr, n, speedcode, and speeds.

Referenced by mode().

int mode int  n  ) 
 

Definition at line 174 of file rbsb.c.

References ALLDELAY, Baudrate, bibi(), BRKINT, CBREAK, cfgetospeed, CRMOD, CS8, CSTOPB, ECHO, ECHONL, ERROR, EVENP, FALSE, getspeed(), HOWMANY, ICANON, IEXTEN, IGNBRK, ioctl, ISIG, IXOFF, IXON, LCASE, ODDP, OK, PARENB, RAW, tchars::t_intrc, tcflow, TCFLSH, tcgetattr, tch, TCOON, TCSAFLUSH, TCSANOW, TCSBRK, tcsetattr, TIOCGETC, TIOCGETP, TIOCSETC, TIOCSETP, TRUE, tty, vfile(), VINTR, VMIN, VQUIT, VTIME, and Zmodem.

void sendbrk  ) 
 

Definition at line 401 of file rbsb.c.

References ioctl, sleep, TCSBRK, and tcsendbreak.

Referenced by zmputs().


Variable Documentation

unsigned baudr
 

Definition at line 82 of file rbsb.c.

Referenced by getspeed().

int Fromcu
 

Definition at line 63 of file rbsb.c.

Referenced by bttyout(), getzrxinit(), main(), and zsendfdata().

int iofd = 0
 

Definition at line 165 of file rbsb.c.

Referenced by getzrxinit(), main(), purgeline(), readline(), and zsendfdata().

int speedcode
 

Definition at line 83 of file rbsb.c.

Referenced by getspeed().

struct { ... } speeds[]
 

struct tchars oldtch tch
 

Definition at line 161 of file rbsb.c.

Referenced by mode().

struct sgttyb oldtty tty
 

Definition at line 160 of file rbsb.c.

int Twostop
 

Definition at line 101 of file rbsb.c.

Referenced by main().


Generated on Fri Apr 14 23:08:32 2006 for minix by  doxygen 1.4.6