DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

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

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T d

⟦350cf191d⟧ TextFile

    Length: 1286 (0x506)
    Types: TextFile
    Names: »dtia_server.h«

Derivation

└─⟦8ee07855d⟧ Bits:30000545 8mm tape, Rational 1000, DTIA 2_1_6
    └─ ⟦0c25cb74a⟧ »DATA« 
        └─⟦038380b96⟧ 
└─⟦d0624311f⟧ Bits:30000529 8mm tape, Rational 1000, DTIA 2_1_7
    └─ ⟦f494b5154⟧ »DATA« 
        └─⟦038380b96⟧ 
            └─ ⟦this⟧ »dtia_server.h« 

TextFile



/* @(#)dtia_server.h 2.1 90/08/02 19:05:25  Copyright(c) 1990 by Rational. */

#define	SERVICE		"dtia"	/* cf. /etc/services	*/
#define	PROTOCOL	"tcp"	/* idem		*/

#ifndef	TRUE
#define	TRUE	(0==0)
#endif
#ifndef	FALSE
#define	FALSE	(!TRUE)
#endif

#define	MAX_CONNECTIONS	5

#define	_SUN

#define	EXTERN	extern

/* port	*/
#ifndef	PORT
#define	EXT	EXTERN
#else
#define	EXT
#endif
EXT	int	get_port();
#undef	EXT

/* connection	*/
#ifndef	CONNECTION
#define	EXT	EXTERN
#else
#define	EXT
#endif
EXT	int	ok_port();
EXT	int	init_connections();
EXT	int	wait_for_connection();
EXT	int	get_connection();
#undef	EXT

/* son	*/
#ifndef	SON
#define	EXT	EXTERN
#else
#define	EXT
#endif
EXT	void	init_sons();
EXT	void	look_at_sons();
EXT	void	add_son();
EXT	int	nb_sons();
EXT	int	too_many_sons();
#undef	EXT

/* time	*/
#ifndef	TIME
#define	EXT	EXTERN
#else
#define	EXT
#endif
EXT	char	*get_time();
#undef	EXT

#include	"talk.h"
#ifdef	SUN
#include	<arpa/inet.h>
#endif
#include	<netdb.h>

#ifdef  ULTRIX_DTIA
/* #ifndef U_SH_LONG_DEFINED
#define u_short	unsigned short
#define u_long	unsigned long
#define U_SH_LONG_DEFINED
#endif
*/
#endif		/* ultrix_dtia */

#ifndef	AIX
#include	<netinet/in.h> 
#endif		/* for ifndef aix */

#ifndef	APOLLO
#include	<rpc/rpc.h>
#endif
#include	<sys/socket.h>