DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T c

⟦96c55c45e⟧ TextFile

    Length: 1415 (0x587)
    Types: TextFile
    Names: »cons.h«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/h/cons.h« 

TextFile

/* cons.h - CONS abstractions */

/* 
 * $Header: /f/osi/h/RCS/cons.h,v 6.0 89/03/18 23:31:53 mrose Rel $
 *
 * Contributed by Keith Ruttle, CAMTEC Electronics Ltd
 *
 * $Log:	cons.h,v $
 * Revision 6.0  89/03/18  23:31:53  mrose
 * Release 5.0
 * 
 */

/*
 *				  NOTICE
 *
 *    Acquisition, use, and distribution of this module and related
 *    materials are subject to the restrictions of a license agreement.
 *    Consult the Preface in the User's Manual for the full terms of
 *    this agreement.
 *
 */


#ifndef	_CONS_
#define	_CONS_

/* 
 *
 * #defines for generic addressing & TSEL encoded addresses.
 *
 */

#ifndef _INTERNET_
#include <sys/socket.h>
#endif
#include <sys/protosw.h>
#include <sys/domain.h>
#include <sys/socketvar.h>
#include <sys/errno.h>
#include <net/if.h>

#ifdef CAMTEC_CCL
#include <sys/ioctl.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <netccl/ccl.h>

typedef struct ccliovec CONN_DB;

#define close_cons_socket     close
#define	select_cons_socket    selsocket
#endif

int	start_cons_client ();
int	start_cons_server ();
int	join_cons_client ();
int	join_cons_server ();
int	read_cons_socket ();
int	write_cons_socket ();
int	close_cons_socket ();
int	select_cons_socket ();

struct NSAPaddr *if2gen();
CONN_DB *gen2if();


#define	ADDR_LOCAL	0
#define	ADDR_REMOTE	1
#define	ADDR_LISTEN	2
#define SEPARATOR ':'


#define MAXNSDU	1024
#endif