ftp.nice.ch/pub/next/developer/resources/libraries/LGDCommunicationKit.1.0.N.a.tar.gz#/LGDCommunicationKit-1.0/Examples/connect/connect.h

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

//
// connect.h
// LGDCommunicationKit Examples, Release 1.0 (prerelease)
//
// Copyright (c) 1993, Looking Glass Design, Inc.
// All rights reserved.
//
// Project Manager:  Paul Girone
// Original Author:  Mike Gobbi
// Creation Date:    June 26, 1993
// $Revision: 1.2 $
//

// sets up the modem & terminal, and unsets them afterward
void configure(const char *device);
void deconfigure();

// ensures that the port is closed before the program terminates
// if the process is sent a signal which would force termination
void cleanup(void);

// returns whether or not there are keystrokes waiting to be 
// polled from the terminal buffer
int keyboard_ready(int fd);

// runs until the user presses ^C, talking to the modem
void loop(void);

// configurs, loops for a while, then deconfigures
int main(int argc, char *argv[]);

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