ftp.nice.ch/pub/next/unix/communication/zm_tip_modified.NI.bs.tar.gz#/zm_tip/xfer/zlint.h

This is zlint.h in view mode; [Download] [Up]

/*+-----------------------------------------------------------------------
	zlint.h
------------------------------------------------------------------------*/
/*+:EDITS:*/
/*:05-21-1990-16:00-wht@tridom-adapt ecu xfer protocols for tipwht */

#if defined(__STDC__) || defined(__cplusplus)
# define P_A(s) s
#else
# define P_A(s) ()
#endif


/* zcommon.c */
int rdchk P_A((int f));
int rdchk P_A((int f));
int mode P_A((int new_mode));
int sendbrk P_A((void));
void get_curr_dir P_A((char *currdir, int currdir_max));
int zmputs P_A((char *str));
int get_home_dir P_A((char *home_dir));

/* zcurses.c */
char *get_elapsed_time P_A((long elapsed_seconds));
char *get_tod P_A((int type, char *tod));
char *mode_map P_A((unsigned short mode, char *mode_str));
void report_top_line P_A((char *topstr));
void report_xfer_mode P_A((char *str));
void report_protocol_type P_A((char *str));
void report_protocol_crc_type P_A((char *str));
void report_uninit P_A((int sig));
void report_init P_A((char *title));
void report_rx_ind P_A((int status));
void report_tx_ind P_A((int status));
void report_window P_A((void));
void report_rx_tx_count P_A((void));
void report_mode P_A((int mode));
void report_rxblklen P_A((int blklen));
void report_txblklen P_A((int blklen));
void report_rxpos P_A((long rxpos));
void report_txpos P_A((long txpos));
void report_error_count P_A((void));
void report_last_txhdr P_A((char *rptstr, int error_flag));
void report_last_rxhdr P_A((char *rptstr, int error_flag));
void report_str P_A((char *rptstr, int error_flag));
void report_transaction P_A((char *str));
void report_file_open_tod P_A((void));
void report_file_open_mode P_A((unsigned short file_mode));
void report_file_open_length P_A((long length));
void report_file_send_open P_A((char *filename, struct stat *filestat));
void report_file_rcv_started P_A((char *filename, long length,
				 long last_mod_time, unsigned short file_mode));
void report_file_close P_A((void));
void report_comm_baud_rate P_A((unsigned int baud_rate));
void report_file_byte_io P_A((long count));

/* zdebug.c */

/* zmodem.c */
int zsbhdr P_A((int len, int type, unsigned char *hdr));
int zsbh32 P_A((int len, char *hdr, int type, int flavour));
int zshhdr P_A((int len, int type, unsigned char *hdr));
int zsdata P_A((unsigned char *buf, int length, int frameend));
int zsda32 P_A((char *buf, int length, int frameend));
int zrdata P_A((char *buf, int length));
int zrdat32 P_A((char *buf, int length));
int zgethdr P_A((char *hdr, int eflag));
int zrbhdr P_A((char *hdr));
int zrbhdr32 P_A((char *hdr));
int zrhhdr P_A((char *hdr));
int zputhex P_A((int c));
int zsendline P_A((int c));
int zgethex P_A((void));
int zgeth1 P_A((void));
int zdlread P_A((void));
int noxrd7 P_A((void));
int stohdr P_A((long pos));
long rclhdr P_A((char *hdr));
int zsdar32 P_A((char *buf, int length, int frameend));
int zrdatr32 P_A((char *buf, int length));

#undef P_A

/* vi: set ts=4 sw=4: */
/* end of zlint.h */

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.