/* ===========================================================================
 *
 * SCC.H    IRIS TO SERVER COMMUNICATION variables and functions.
 *
 *=============================================================================
 */
#define SCC_H

#ifdef SCC_ALLOCATE
#define EXTERN
#ifndef MAXHOSTNAMELEN
#error "Allocate needs include"
#endif  /* #ifndef MAXHOSTNAMELEN */
#else
#define EXTERN extern
#endif


EXTERN volatile UINT4   iconnected_c;  /* Indicates status of the connection */
EXTERN UINT2 luser_has_disconnected_c;

/* iris and iris_clnt_rcv communication variables  thru pipe
*/
EXTERN UINT4 iclnt_rcv_pid_c;
#ifdef MAXHOSTNAMELEN
EXTERN char server_hostname_c[MAXHOSTNAMELEN];
#endif  /* #ifdef MAXHOSTNAMELEN */

EXTERN char server_aliasname_c[50];
EXTERN UINT2 lkilling_clnt_rcv_c;

void iris_init_clnt_rcv(void);
void iris_connect(UINT4 connectbtn_idx );
void iris_disconnect( UINT2 lnotify );

#undef EXTERN

